2008-12-04

Slitaz - gpxe / qemu

http://mirror.slitaz.org/

gpxe - qemu

http://192.168.1.32/

http://mirror.slitaz.org/boot/slitaz-boot.iso

slitaz-boot.iso 2008-Jul-28 14:34:27 734.0K
slitaz-boot.md5 2008-Jul-28 14:34:27 0.1K

http://wiki.slitaz.org/doku.php?id=quickstart:pxe

2008-11-27

Slitaz - vbox / gftp

vbox-nat-gftp


User Manual
Version 2.0.2 Edition

6.4.1. Configuring port forwarding with NAT
As the virtual machine is connected to a private network internal to VirtualBox and invisible to the host, network services on the guest are not accessible to the host machine or to other computers on the same network. However, VirtualBox can make given services available outside of the guest by using port forwarding. This means that VirtualBox listens to certain ports on the host and resends all packages which arrive on them to the guest on the ports used by the services being forwarded.
To an application on the host or other physical (or virtual) machines on the network, it looks as though the service being proxied is actually running on the host (note that this also means that you cannot run the same service on the same ports on the host). However, you still gain the advantages of running the service in a virtual machine -- for example, services on the host machine or on other virtual machines cannot be compromised or crashed by a vulnerability or a bug in the service, and the service can run in a different operating system to the host system.
You can set up a guest service which you wish to proxy using the command line tool VBoxManage. You will need to know which ports on the guest the service uses and to decide which ports to use on the host (often but not always you will want to use the same ports on the guest and on the host). You can use any ports on the host which are not already in use by a service. An example of how to set up incoming NAT connections to a ssh server on the guest requires the following three commands:
VBoxManage setextradata "Linux Guest"
"VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/Protocol" TCP
VBoxManage setextradata "Linux Guest"
"VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/GuestPort" 22
VBoxManage setextradata "Linux Guest"
"VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/HostPort" 2222
The above example assumes a PCNet virtual network card; if you have configured the guest to use the Intel PRO/1000, replace "pcnet" with "e1000" in the above commands.
The name guestssh is an arbitrary one chosen for this particular forwarding configuration. With that configuration in place, all TCP connections to port 2222 on the host will be forwarded to port 22 on the guest. Protocol can be either of TCP or UDP (these are case insensitive). To remove a mapping again, use the same commands, but leaving out the values (in this case TCP, 22 and 2222).

-------
VBoxManage clonevdi srv1.vdi srv2.vdi

-------
Extract from

http://eoffice.im.fju.edu.tw/phpbb/viewtopic.php?t=4486&start=0&postdays=0&postorder=asc&highlight=

Quote from George Ankner:
If you knew as much as you think you know,
You would realize that you don't know what you thought you knew!

也許正應了列在她上面那一段來自George Ankner睿智的話…

我的一個解讀是:
「假如你理解得像你想像中那樣剔透的話,那麼你終將會體認到:
原先你以為你懂,其實不然!」 ^o^

2008-11-24

Slitaz - cups - samba

URI: usb

URI: smb

cups-pdf

cups-smaba

2008-11-20

Slitaz - ISO

http://forum.slitaz.org/viewtopic.php?pid=5028#p5028

* » CD-label for Slitaz live-CD please?

2008-11-16 03:03:17

bellard Contributor

Re: CD-label for Slitaz live-CD please?

Hi,

Please note you can burn http://mirror.slitaz.org/iso/1.0/packages-1.0.iso (255Mb) instead of http://mirror.slitaz.org/iso/1.0/slitaz-1.0.iso (25.Mb).

You will be able to install anything offline with:
Code:

# mount /dev/cdrom /mnt
# /mnt/install.sh

-pascal

NB: for slitaz cooking http://mirror.slitaz.org/iso/cooking/pa … ooking.iso (692Mb) is built every night.

Offline


#4 2008-11-16 20:14:10

oui Contributor

Re: CD-label for Slitaz live-CD please?

sevala offers more labels:

http://forum.slitaz.org/viewtopic.php?pid=4863#p4863

Offline


#5 Yesterday 16:23:45

alanyih Member

Re: CD-label for Slitaz live-CD please?

bellard wrote:

NB: for slitaz cooking http://mirror.slitaz.org/iso/cooking/pa … ooking.iso (692Mb) is built every night.

can't display phpinfo!

Menu --> Development --> PHP info

root@slitaz:~# cat /mnt/iso/install.sh
#!/bin/sh
#

DIR=$(cd $(dirname $0); pwd)

[ -d /var/cache/tazpkg ] || mkdir -p /var/cache/tazpkg
ls -d $DIR/packages/* > /var/lib/tazpkg/mirror
ln -fs $DIR/packages/*/*.tazpkg /var/cache/tazpkg/
ln -fs $DIR/packages/*/packages.* /var/lib/tazpkg
ln -fs $DIR/packages/*/files.list.lzma /var/lib/tazpkg
ln -s $DIR/website /var/www

root@slitaz:~# cat /usr/share/applications/php.desktop
[Desktop Entry]
Encoding=UTF-8
Name=PHP info
GenericName=PHP informations
GenericName[fr]=Informations sur PHP
Comment=PHP configuration informations
Comment[fr]=Informations de configuration de PHP
Exec=firefox http://localhost/phpinfo/
Icon=php.png
Type=Application
Categories=Development;

root@slitaz:~# tazpkg get-install lighttpd
lighttpd-1.4.20 already in the cache : /var/cache/tazpkg
Tracking dependencies for : lighttpd-1.4.20
============================================================================
Missing : pcre
......
Installation of : lighttpd-1.4.20
============================================================================
Copying lighttpd-1.4.20... [ OK ]
Extracting lighttpd-1.4.20... 247 blocks
Extracting the pseudo fs... 545 blocks
Processing pre-install commands...
Installing lighttpd... cp: target '/var/www' is not a directory
[ Faile]

Removing all tmp files... [ OK ]
Processing post-install commands...
Starting web server: LightTPD... [ OK ]
============================================================================
lighttpd (1.4.20) is installed.

Online


#6 Yesterday 22:02:08

bellard Contributor

Re: CD-label for Slitaz live-CD please?

Can you reboot and do this test:
Code:

# mkdir /var/www
# /mnt/iso/install.sh

Thanks,

-pascal

Offline


#7 Today 16:07:55

alanyih Member

Re: CD-label for Slitaz live-CD please?

bellard wrote:
Code:

# mkdir /var/www
# /mnt/iso/install.sh

Well run!

Thankx!


#8 2008-11-20 10:42:06

bellard Contributor

Re: CD-label for Slitaz live-CD please?

FYI http://mirror.slitaz.org/iso/1.0/packages-1.0.iso and http://mirror.slitaz.org/iso/cooking/pa … ooking.iso are fixed now.

-pascal


----------

+case " $OPTIONS " in
+*\ --website\ *)
+ if [ -d /slitaz/home/slitaz/hg/website ]; then
+ echo -n "Adding web site"
+ mkdir $TEMP_DIR/website
+ cp -a /slitaz/home/slitaz/hg/website/* $TEMP_DIR/website
+ cat >>$TEMP_DIR/install.sh<< \ EOF
+[ -d /var/www ] || mkdir -p /var/www
+ln -s \$DIR/website /var/www
+EOF
+ status
+ echo "$(du -hs $TEMP_DIR/website | awk '{ print $1 }') used by web site."
+ fi;;
+esac

-

2008-11-14

Slitaz - autologin

Extract from

http://forum.slitaz.org/viewtopic.php?id=238

Step one - disable Slim:
Remove Slim from RUN_DAEMONS in /etc/rcS.conf

Step two - create an executable login script:
Create /usr/bin/loginscript file with the following content:

Code:

#!/bin/sh
/bin/login -f root

Step three - amend /etc/inittab

Code:

tty1::respawn:/sbin/getty -n -l /usr/bin/loginscript 38400 tty1

Step four - create /root/.profile (if you don't have one)

Code:

if [ -z "$SCREEN" ] && [ $(tty) = /dev/tty1 ]; then
while true
do
startx --
sleep 10
done
fi

Note: '[' is a command so make sure there are spaces before and after it.

Step five - reboot



http://listengine.tuxfamily.org/lists.tuxfamily.org/slitaz/2008/04/msg00012.html

http://www.shallowsky.com/blog/linux/autologin-upstart.html


--------
description: Up slim 1.3.1 (automatic login + more customizations)

http://hg.slitaz.org/wok/file/f25290110550/slim/receipt

slim/receipt
changeset 1424: f25290110550
parent: 302fa891a6d2
child: 2a0038b01ed7
author: Pascal Bellard
date: Fri Sep 26 13:16:44 2008 +0000 (6 weeks ago)
permissions: -rw-r--r--
description: Up slim 1.3.1 (automatic login + more customizations)

# SliTaz package receipt.

PACKAGE="slim"
VERSION="1.3.1"
CATEGORY="x-window"
SHORT_DESC="Desktop-independent graphical login manager for X11."
MAINTAINER="pankso@slitaz.org"
DEPENDS="jpeg libpng slitaz-configs"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://slim.berlios.de"
WGET_URL="http://download.berlios.de/slim/$TARBALL"
CONFIG_FILES="/etc/slim.conf"
BUGS="Sometime needs more thant 10 seconds to start (since HAL/DCOP addition). Why ?"


-------------
http://hg.slitaz.org/slitaz-boot-scripts/rev/06dffda5c2ce
changeset: bootopts.sh: autologin support (need slim 1.3.1)
changeset 117: 06dffda5c2ce
parent 116: 36274d47502f
child 118: b648ffc81f2e
tag: 2.5.2
author: Pascal Bellard
date: Sun Sep 28 23:09:36 2008 +0200 (7 weeks ago)
files: etc/init.d/bootopts.sh
description: bootopts.sh: autologin support (need slim 1.3.1)

--- a/etc/init.d/bootopts.sh Wed Sep 24 22:18:30 2008 +0200
+++ b/etc/init.d/bootopts.sh Sun Sep 28 23:09:36 2008 +0200
@@ -112,6 +112,11 @@ if ! grep -q "1000:1000" /etc/passwd; th
fi
fi

+# Autologin option to skip first graphic login prompt.
+if grep -q "autologin" /proc/cmdline; then
+ echo "auto_login yes" >> /etc/slim.conf
+fi
+
# Check for a specified home directory on cmdline (home=*).
#
if grep -q "home=usb" /proc/cmdline; then


----------
2008-11-21

slim-1.3.1.tazpkg 2008-Oct-31 09:02:50 78.5K

slitaz-boot-scripts-2.5.2.tazpkg 2008-Oct-15 22:47:57 13.5K

/etc/init.d/bootopts.sh
#!/bin/sh
# /etc/init.d/bootopts.sh - SliTaz boot options from the cmdline.
#
. /etc/init.d/rc.functions

# Autologin option to skip first graphic login prompt.
if grep -q "autologin" /proc/cmdline; then
echo "auto_login yes" >> /etc/slim.conf
fi


---------
ChangeLog
1.3.1 - 2008.09.26
* Added focus_password config option for focusing password
automatically when default_user is enabled
* Added auto_login option
* Fixed uninitialized daemonmode, see
http://www.freebsd.org/cgi/query-pr.cgi?pr=114366
* Fixed maximum length for password
* Introduced customization options for session text:
font, colors, position, shadows.

-

2008-10-19

Slitaz - slim

#1 2008-10-20 06:32:30

alanyih Member

PLS check! slim-1.3.1

PLS check! slim-default_user

Thanks!

root@slitaz:~# ls -l /var/cache/tazpkg/slim*
-rw-r--r-- 1 root root 80384 Oct 20 12:00 /var/cache/tazpkg/slim-1.3.1.tazpkg

root@slitaz:~# cat /etc/slim.conf | grep default
default_path ./:/bin:/usr/bin:/usr/local/bin
default_xserver /usr/bin/Xvesa
# Available sessions (first one is the default).
# default user, leave blank or remove this line
default_user hacker

root@slitaz:~# cat /etc/passwd
root:x:0:0:Root Administrator:/root:/bin/sh
nobody:x:99:99:Unprivileged User:/dev/null:/bin/false
www:x:80:80:Web Server User:/var/www:/bin/false
messagebus:x:25:25:DBUS Daemon User:/dev/null:/bin/false
haldaemon:x:26:26:HAL Daemon User:/dev/null:/bin/false
tux:x:1000:1000:SliTaz User,,,:/home/tux:/bin/sh


2008-10-30 06:09:47 #2

alanyih Member

Re: PLS check! slim-1.3.1

http://mirror.slitaz.org/packages/cooki … 3.1.tazpkg
slim-1.3.1.tazpkg 2008-Oct-14 15:00:34 78.5K



http://hg.slitaz.org/wok/diff/9733af969 … /slim.conf

diff: slim/stuff/etc/slim.conf
revision 1588: 9733af969c86
parent 656: 3c4e0201ce56

--- a/slim/stuff/etc/slim.conf Tue Apr 22 22:44:49 2008 +0200
+++ b/slim/stuff/etc/slim.conf Thu Oct 16 20:07:39 2008 +0000
@@ -62,7 +62,7 @@ reboot_msg The system is rebooti

# default user, leave blank or remove this line
# for avoid pre-loading the username.
-default_user hacker
+default_user tux
# current theme, use comma separated list to specify a set to
# randomly choose from

Last edited by alanyih (2008-10-30 06:13:09)

-

2008-10-17

Slitaz - java6-jre

java test

java6-jre

java-fallback


PLS check! get-java6-jre

http://forum.slitaz.org/viewtopic.php?id=926

2008-10-17 13:53:22 #1

alanyih Member

PLS check! get-java6-jre

Processing post install commands...
/usr/bin/tazpkg: cd: line 28: can't cd to /plugins


get-java6-jre-1.0.tazpkg 2008-Oct-14 06:40:01 2.5K application/x-tazpkg

get-java6-jre.sh
.......
Packing : java6-jre-1.6.0_07
================================================================================
Creating the list of files... [ OK ]
Compressing the fs...
Creating full cpio archive...
Restoring original package tree... 197967 blocks
================================================================================
Package java6-jre-1.6.0_07 compressed successfully.
Size : 33.1M java6-jre-1.6.0_07.tazpkg


Installation of : java6-jre-1.6.0_07
================================================================================
Copying java6-jre-1.6.0_07... [ OK ]
Extracting java6-jre-1.6.0_07... 67640 blocks
Extracting the pseudo fs... 197967 blocks
Installing java6-jre... [ OK ]
Removing all tmp files... [ OK ]
Processing post install commands...
/usr/bin/tazpkg: cd: line 28: can't cd to /plugins
================================================================================
java6-jre (1.6.0_07) is installed.


root@slitaz:~# ls -l /usr/lib/firefox-3.0.1/plugins
-rwxr-xr-x 1 root root 15512 Sep 21 08:23 libnullplugin.so



2008-10-17 15:49:34 #2

bellard Contributor

Re: PLS check! get-java6-jre

The fix : http://hg.slitaz.org/wok/rev/c1b4ae2bdeca
Please reload http://mirror.slitaz.org/packages/cooki … 1.0.tazpkg

-pascal



http://hg.slitaz.org/wok/rev/c1b4ae2bdeca


changeset: get-java6-jre: typos
changeset 1595: c1b4ae2bdeca
parent 1594: 713badbd8ef9
child 1596: 270174cf554e
author: Pascal Bellard
date: Fri Oct 17 13:29:48 2008 +0000 (110 minutes ago)
files: get-java6-jre/stuff/get-java6-jre.sh
description: get-java6-jre: typos

--- a/get-java6-jre/stuff/get-java6-jre.sh Fri Oct 17 13:11:57 2008 +0000
+++ b/get-java6-jre/stuff/get-java6-jre.sh Fri Oct 17 13:29:48 2008 +0000
@@ -62,8 +62,8 @@ post_install()
{
echo "Processing post install commands..."
for i in /usr/lib/firefox*; do
- [ -d $i ] || continue
- cd $i/plugins
+ [ -d \$i ] || continue
+ cd \$i/plugins
ln -s /usr/lib/java/jre\$VERSION/plugin/i386/ns7/libjavaplugin_oji.so
done


2008-10-20 08:45:36

alanyih Member

Re: PLS check! get-java6-jre

Thankx!

But have some squares in chart!

java6-jre.png



2008-11-03-21:04

http://www.cnetnews.com.cn/2008/0618/934811.shtml


Linux操作系統JDK中文字體設置方法介紹

  首先來說說產生這個問題的原因。java程序啟動的時候會去在$JAVA_HOME/jre/lib /fonts目錄下尋找相應的字體來顯示。由於 JDK默認沒有中文字體,所以我們需要手工的來設置一下,讓java應用程序能夠找到相應的中文字體。這樣就能夠解決問題了。

 ln -s $FONTS_PATH/FONT_DIR $JAVA_HOME/jre/lib/fonts/fallback



2008-11-05-13:05
http://wiki.eeeuser.com/howto:javachinesefonts_zh

root@slitaz:~# mkdir /usr/lib/java/jre1.6.0_07/lib/fonts/fallback
root@slitaz:~# ln -s /usr/share/fonts/truetype/uming.ttf /usr/lib/java/jre1.6.0_07/lib/fonts/fallback/.
root@slitaz:~# ls -l /usr/lib/java/jre1.6.0_07/lib/fonts/fallback
lrwxrwxrwx 1 root root 35 Nov 5 10:57 uming.ttf -> /usr/share/fonts/truetype/uming.ttf
root@slitaz:~#



(2008-11-05) Yesterday 06:01:33 #4
alanyih Member

Re: PLS check! get-java6-jre

alanyih wrote:

But have some squares in chart!

http://wiki.eeeuser.com/howto:javachinesefonts_zh

java-fallback.png

Last edited by alanyih (Yesterday 06:09:56)

2008-10-11

Slitaz - Vmware






http://www.vmware.com/download/ws/

VMware Workstation 6.5 for Linux

Latest Version: 6.5 | 09/23/08 | Build: 118166 | Release Notes

2008-09-28

Slitaz - Hinedo



Hinedo - 輕鬆聽 Hinet Radio
http://of.openfoundry.org/projects/814

Hinet 提供的免費電台,一定限定在 Windows 下使用 IE 瀏覽器,連上 Hinet Radio 首頁,否則就無法使用,而且操作非常不方便。這個工具在工作列提供一個小圖示,透過選單介面,方便使用者聽 Hinet 廣播


http://of.openfoundry.org/download_path/hinedo/2007.11.18/hinedo_0.4-2_i386.deb

-

2008-09-27

Slitaz - SD / MMC card

SD / MMC card ( mini SD / micro SD )

root@slitaz:~# lsmod
Module Size Used by
mmc_block 9476 0
sdhci 13836 0
mmc_core 36892 2 mmc_block,sdhci

root@slitaz:~# ls -l /dev/mmc*
brw-r----- 1 root root 179, 0 Sep 26 06:57 /dev/mmcblk0
brw-r----- 1 root root 179, 1 Sep 26 06:57 /dev/mmcblk0p1

root@slitaz:~# lspci -v
........
03:01.2 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 17)
Subsystem: ASUSTeK Computer Inc. ASUS V6800V
Flags: bus master, medium devsel, latency 64, IRQ 18
Memory at fbffb800 (32-bit, non-prefetchable) [size=256]
Capabilities: [80] Power Management version 2
Kernel driver in use: sdhci
Kernel modules: sdhci

root@slitaz:~# dmesg
.......
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci: SDHCI controller found at 0000:03:01.2 [1180:0822] (rev 17)
ACPI: PCI Interrupt 0000:03:01.2[C] -> GSI 18 (level, low) -> IRQ 18
sdhc0:slot0: Will use DMA mode even though HW doesn't fully claim to support it.
mmc0: SDHCI at 0xfbffb800 irq 18 DMA
mmc0: new SD card at address 05ce
mmcblk0: mmc0:05ce SD02G 1921024KiB
mmcblk0: p1
kjournald starting. Commit interval 5 seconds
EXT3 FS on mmcblk0p1, internal journal
.....

root@slitaz:~# fdisk /dev/mmcblk0

The number of cylinders for this disk is set to 1203.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/mmcblk0: 1967 MB, 1967128576 bytes
57 heads, 56 sectors/track, 1203 cylinders
Units = cylinders of 3192 * 512 = 1634304 bytes

Device Boot Start End Blocks Id System
/dev/mmcblk0p1 * 1 1204 1920955+ 83 Linux

Command (m for help): q
root@slitaz:~#



Extract from

http://www.lanana.org/docs/device-list/devices-2.6+.txt

LINUX ALLOCATED DEVICES (2.6+ version)

Maintained by Torben Mathiasen

Last revised: 18 March 2008

This list is the Linux Device List, the official registry of allocated
device numbers and /dev directory nodes for the Linux operating
system.

The latest version of this list is available from
http://www.lanana.org/docs/device-list/ or
ftp://ftp.kernel.org/pub/linux/docs/device-list/. This version
may be newer than the one distributed with the Linux kernel.

.....
179 block MMC block devices
0 = /dev/mmcblk0 First SD/MMC card
1 = /dev/mmcblk0p1 First partition on first MMC card
8 = /dev/mmcblk1 Second SD/MMC card
........

2008-09-21

Slitaz - rootdelay

Extract from

http://www.debianhelp.org/node/3943#comment-45729

Re: unable to mount root fs on unknown--block(0,0)
Submitted by benizi on Sun, 2008-09-14 18:27.

I ran into this same problem. I'd compiled in all the appropriate modules, so I knew that wasn't the problem. But my USB drive still wasn't listed in the "possible options" list that gets spit out before the kernel panic.

The solution for me was to add rootdelay=10 to my kernel options line. It takes several seconds for my USB drive to initialize. So, it wasn't present by the time the kernel attempted to make it the root device.

The full grub.conf entry:

title=linux usb
root (hd0,0)
kernel /2.6.24-r7/testing/kernel rootdelay=10 root=/dev/sdb2



-------

Kernel Parameters
~~~~~~~~~~~~~~~~~
The following is a consolidated list of the kernel parameters as implemented (mostly) by the __setup() macro and sorted into English Dictionary order (defined as ignoring all punctuation and sorting digits before letters in a case insensitive manner), and with descriptions where known.

rootdelay= [KNL] Delay (in seconds) to pause before attempting to mount the root filesystem

/usr/share/doc/kernel-doc-「kernel version」/Documentation/kernel-parameters.txt


---------
Extract from

http://www.debian.org/releases/stable/i386/release-notes/ch-upgrading.zh-tw.html#s-boot-timing

Debian GNU/Linux 4.0 ("etch"), Intel x86 的發行情報

4.6.5 開機時機問題
如果使用由 initramfs-tools 產生的 initrd 來開機的話,在某些狀況下 udev 建立裝置檔的時機比開機 scripts 的動作還慢。

The usual symptoms are that the boot will fail because the root file system cannot be mounted and you are dropped into a debug shell, but that when you check afterwards, all devices that are needed are present in /dev. This has been observed in cases where the root file system is on a USB disk or on RAID, especially if lilo is used.

要避開這個問題的方法是使用 rootdelay=9 開機參數。其中的秒數可能得再加以調整才行。


http://www.debian.org/releases/stable/i386/release-notes/ch-upgrading.en.html#s-boot-timing

4.6.5 Boot timing issues

If an initrd created with initramfs-tools is used to boot the system, in some cases the creation of device files by udev can happen too late for the boot scripts to act on.

The usual symptoms are that the boot will fail because the root file system cannot be mounted and you are dropped into a debug shell, but that when you check afterwards, all devices that are needed are present in /dev. This has been observed in cases where the root file system is on a USB disk or on RAID, especially if lilo is used.

A workaround for this issue is to use the boot parameter rootdelay=9. The value for the timeout (in seconds) may need to be adjusted.

2008-09-18

Slitaz - Openbox


Openbox - obconf

2008-09-11

Slitaz - perl

urxvt: perl hook 0 evaluation error:
Undefined subroutine &Scalar::Util::weaken


Cooking 20080716

root@slitaz:~# urxvt &
root@slitaz:~# urxvt: perl hook 0 evaluation error: Undefined subroutine &Scalar::Util::weaken called at /usr/lib/urxvt/urxvt.pm line 1178.
urxvt: the locale is not supported by Xlib, working without locale support.

/usr/lib/urxvt/urxvt.pm line 1178.
Scalar::Util::weaken ($proxy->{term} = $self);

root@slitaz:~# urxvt -help
rxvt-unicode (urxvt) v9.02 - released: 2008-01-29
options: perl,xft,styles,combining,blink,iso14755,encodings=eu+vn+jp+jp-ext+kr+zh+zh-ext,fade,transparent,tint,XIM,frills,selectionscrolling,wheel,slipwheel,cursorBlink,pointerBlank,scrollbars=plain+rxvt+NeXT+xterm
Usage: urxvt [options] [-e command args]
...


root@slitaz:~# perl -V
Summary of my perl5 (revision 5 version 10 subversion 0) configuration:
Platform:
osname=linux, osvers=2.6.25.5-slitaz, archname=i686-linux
uname='linux slitaz 2.6.25.5-slitaz #1 smp sun jun 29 21:52:43 cest 2008 i686 unknown '
config_args='-ds -e -Dprefix=/usr'
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=undef, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-fno-strict-aliasing -pipe'
ccversion='', gccversion='4.2.3', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='cc', ldflags =''
libpth=/lib /usr/lib
libs=-lnsl -ldl -lm -lcrypt -lutil -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
libc=/lib/libc-2.7.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.7'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fPIC', lddlflags='-shared -O2'


Characteristics of this binary (from libperl):
Compile-time options: PERL_DONT_CREATE_GVSV PERL_MALLOC_WRAP
USE_LARGE_FILES USE_PERLIO
Built under linux
Compiled at Jun 30 2008 22:43:26
@INC:
/usr/lib/perl5/5.10.0/i686-linux
/usr/lib/perl5/5.10.0
/usr/lib/perl5/site_perl/5.10.0/i686-linux
/usr/lib/perl5/site_perl/5.10.0
/usr/lib/perl5/site_perl
.

2008-09-10

Slitaz - terminal

xterm-urxvt

LXterm

lilyterm


fc-list :lang=zh

root@slitaz:~# uname -a
Linux slitaz 2.6.25.5-slitaz #1 SMP Fri Jul 11 17:27:07 CEST 2008 i686 unknown
root@slitaz:~# fc-list
Fixed:style=SemiCondensed
DejaVu Sans:style=Bold
DejaVu Sans:style=Book
文鼎PL細上海宋Uni,AR PL ShanHeiSun Uni,文鼎PL細上海宋Uni:style=Regular
AR PL ShanHeiSun Uni:style=Regular
DejaVu Sans Mono:style=Book
root@slitaz:~# fc-list :lang=zh
文鼎PL細上海宋Uni,AR PL ShanHeiSun Uni,文鼎PL細上海宋Uni:style=Regular
AR PL ShanHeiSun Uni:style=Regular
root@slitaz:~#

2008-09-09

Slitaz - uming

將全真字型 (TrueType) 轉為點陣字 (pcf)






摘錄自
http://penkia.blogspot.com/2008/04/truetype-pcf.html

apt-get install xfonts-utils gbdfed

使用 gbdfed 匯入 (import) 字型 (如 /usr/share/fonts/truetype/arphic/uming.ttf) 並另存為 uming.bdf

用 bdftopcf 和 gzip 指令將它壓縮:

bdftopcf uming.bdf -o uming.pcf; cat uming.pcf | gzip -9 > uming.pcf.gz



多合一小型Linux光盤

>SliTaz号称世界上最小的Linux桌面发行版,真的够小了,比 Damn Small Linux还

>目前找到个繁体中文了,不过那个繁体的字体真是难看,中英文不成比例,看起来很不习惯。


摘錄自
"文鼎PL上海宋Uni" 中文萬國碼 TrueType 明體字型

Package: ttf-arphic-uming (0.1.20060928-2)

"文鼎PL上海宋Uni" 中文萬國碼 TrueType 明體字型

文鼎PL上海宋Uni "AR PL ShanHeiSun Uni" 是一套高品質中文萬國碼 TrueType 字型 (uming.ttf),是由文鼎科技慷慨提供給自由軟體社群的文鼎PL細上海宋 (Big5 碼) 以及文鼎PL簡報宋 (GB 碼) 的衍生版本,惟使用者利用時必須遵守文鼎公眾授權書 (Arphic Public License) 的規定。

本字型所有的字體已從原始的文鼎PL細上海宋 (Big5 碼) 與文鼎PL簡報宋 (GB 碼),擴展到涵蓋 ISO8859-1,2,3,4,9,10,13,14,15, BIG5, GB2312-80 與 HKSCS-2004 等字元編碼,同時並根據萬國碼 4.1 標準,收錄客家與閩南語的注音延伸套件。多種 MBE (Modern Bopomofo Extensions) 的字體也涵蓋在本字型中。本字型支援 CNS 11643 與 GB 18030 標準,日文與韓文仍持續緩慢地開發中。需要更多 Big5 與 GB2312 沒有提供的漢字、或希望使用華人地區少數民族語言的使用者,應該會想要安裝本套件。

本字型也收錄了 Firefly 的點陣字,以提供更佳的小型字體描繪效果。 (僅有 Big5 與 GB2312 制定的字碼適用)

本字型是 ttf-arphic-bsmi00lp 與 ttf-arphic-gbsn00lp 套件的替代選擇。

如果你用 X Window 系統,請安裝 "x-ttcidfont-conf" 套件以便在 X 使用本字型。

如果你需要 MBE 字體而非萬國碼制定的台灣注音符號字體,你需要安裝 xdelta 套件並使用 dpkg-reconfigure 重新組態本套件。

原始作者: 文鼎科技開發股份有限公司
網址: http://www.arphic.com.tw/
由 高盛華 Arne Goetje (arne@linux.org.tw) 修訂
網址: http://www.cjkunifonts.info 或
http://www.freedesktop.org/wiki/Software_2fCJKUnifonts

2008-09-08

SliTaz Community Newsletter

SliTaz Community Newsletter

Keep up to date with the latest news from the SliTaz Team. Click here for the last weekly edition - Mon 8th September 2008.

Trace: » start » here
−Table of Contents

* Weekly Newsletter - Issue 1
o Latest News
o New Packages
o Updated Packages
o Improvements
o Online

Weekly Newsletter - Issue 1

* Written 8th September 2008

Latest News

* This is the first edition of the SliTaz Community Newsletter where we aim to keep you informed of any news and updates to the distribution.
* The Developers are currently creating new packages, fixing bugs and testing a Control Centre.

New Packages

* Chkrootkit 0.48 - Patched for SliTaz (Thanks Pascal)
* Gnu Privacy Assistant 0.7.5
* Sox 14.1.0
* Freeradius-Dialupadmin 2.0.5
* Aterm 1.0.1
* Recordmydesktop 0.3.7.3

Updated Packages

* Clamav ⇒ 0.94
* Testdisk ⇒ 6.10
* File ⇒ 4.26
* ImageMagick ⇒ 6.4.3
* Vim ⇒ 7.2

Improvements

* Midnight Commander (mc) - Entry added to menus
* PHP - Support added for PHP3, PHP4 and PHP5
* Tazpkg - New 'repack-config' function added

Online

* Or you could just use SliTaz - http://kmandla.wordpress.com/2008/08/22/or-you-could-just-use-slitaz/

* Jott outta beta, and SliTaz is the boss - http://www.thestandard.com/news/2008/08/20/jott-outta-beta-and-slitaz-boss


here.txt · Last modified: 2008/09/08 22:02 by linea


--------
Extract from


Jott outta beta, and SliTaz is the boss


Despite its horrible name SliTaz (an acronym for "Simple Light Incredible Temporary Autonomous Zone" ... yechhh.) isn't just cool, it's way cool.

-

Slitaz - Bogus PPPoE length field

daemon.err pppoe[5619]: Bogus PPPoE length field (58)
http://forum.slitaz.org/viewtopic.php?id=806

PLS check!!

Thanks!


SliTaz GNU/Linux cooking-20080716 (28,6 Mb) - slitaz-cooking.iso

root@slitaz:~# tazpkg list |grep rp-pppoe
rp-pppoe 3.8 network
root@slitaz:~# tail -n 30 /var/log/messages
Sep 8 11:48:40 (none) daemon.err pppoe[5619]: Bogus PPPoE length field (58)
Sep 8 11:50:45 (none) daemon.err pppoe[5619]: Bogus PPPoE length field (58)
Sep 8 11:52:50 (none) daemon.err pppoe[5619]: Bogus PPPoE length field (58)
Sep 8 11:54:55 (none) daemon.err pppoe[5619]: Bogus PPPoE length field (58)
Sep 8 11:57:01 (none) daemon.err pppoe[5619]: Bogus PPPoE length field (58)
Sep 8 11:59:05 (none) daemon.err pppoe[5619]: Bogus PPPoE length field (58)
Sep 8 12:01:10 (none) daemon.err pppoe[5619]: Bogus PPPoE length field (58)
Sep 8 12:03:15 (none) daemon.err pppoe[5619]: Bogus PPPoE length field (58)
Sep 8 12:05:20 (none) daemon.err pppoe[5619]: Bogus PPPoE length field (58)
Sep 8 12:07:25 (none) daemon.err pppoe[5619]: Bogus PPPoE length field (58)
Sep 8 12:09:30 (none) daemon.err pppoe[5619]: Bogus PPPoE length field (58)
Sep 8 12:11:35 (none) daemon.err pppoe[5619]: Bogus PPPoE length field (58)
Sep 8 12:13:40 (none) daemon.err pppoe[5619]: Bogus PPPoE length field (58)
Sep 8 12:15:45 (none) daemon.err pppoe[5619]: Bogus PPPoE length field (58)
Sep 8 12:17:50 (none) daemon.err pppoe[5619]: Bogus PPPoE length field (58)
Sep 8 12:19:55 (none) daemon.err pppoe[5619]: Bogus PPPoE length field (58)
Sep 8 12:22:00 (none) daemon.err pppoe[5619]: Bogus PPPoE length field (58)
Sep 8 12:24:05 (none) daemon.err pppoe[5619]: Bogus PPPoE length field (58)
Sep 8 12:26:10 (none) daemon.err pppoe[5619]: Bogus PPPoE length field (58)
Sep 8 12:28:15 (none) daemon.err pppoe[5619]: Bogus PPPoE length field (58)
Sep 8 12:30:20 (none) daemon.err pppoe[5619]: Bogus PPPoE length field (58)
Sep 8 12:32:25 (none) daemon.err pppoe[5619]: Bogus PPPoE length field (58)
Sep 8 12:34:31 (none) daemon.err pppoe[5619]: Bogus PPPoE length field (58)




20080920 16:10:39 alanyih Member

#2 Re: Bogus PPPoE length field (58)

Reprint

http://phorum.vbird.org/viewtopic.php?t=4418&sid=3b021823e44cdeb92523b19ff1bae7d9

VBird 站長鳥哥
發表於: 2003-05-11 00:15 文章主題: [ rp-pppoe ] Bogus 的問題克服 引言回覆
大家好:

有些朋友反應說,他們的 /var/log/messages 老是出現這樣的訊息:
引言回覆:
May 10 18:02:22 testing pppoe[8527]: Bogus PPPoE length field (50)
怎麼辦才好呢?在 RP-PPPOE 的網站上面問過一些朋友,
他們說,這個訊息的問題不大,可以不用理會他!但是,在 /var/log/messages 裡面,
每一分鍾就出現一次,實在很討厭!怎麼辦,可以將他拿掉嗎?!當然可以!
你可以下載新的 Tarball 來重新編譯過!步驟是這樣的:

1. 到下面的網站去下載新的 Tarball (我這裡以 3.5 為例!)
http://www.roaringpenguin.com/pppoe/#download (rp-pppoe-3.10.tar.gz )

( wget http://www.roaringpenguin.com/files/download/rp-pppoe-3.8.tar.gz )


2. 在 /usr/local/src底下解開該檔案,則會造成 /usr/local/src/rp-pppoe-3.5 這個目錄

3. 到 /usr/local/src/rp-pppoe-3.5/src 底下去,修改這四個檔案:
discovery.c
pppoe.c
pppoe-server.c
relay.c

找到這四個檔案的內容如下 ( search )
代碼: (code)
/* Check length */
if (ntohs(packet.length) + HDR_SIZE > len) {
syslog(LOG_ERR, "Bogus PPPoE length field (%u)",
(unsigned int) ntohs(packet.length));
return;
}
將他修改成為 ( replace )
代碼: (code)
/* Check length */
if (ntohs(packet.length) + HDR_SIZE > len) {
/* syslog(LOG_ERR, "Bogus PPPoE length field (%u)",
(unsigned int) ntohs(packet.length)); */

return;
}
請注意,上面每個檔案都有多個同樣的字串,請依序一個一個都修改掉才行!
4. 還沒完喔!在到 pppoe.c 找到底下的字眼: ( search )
代碼: (code)
if (plen + HDR_SIZE > len) {
syslog(LOG_ERR, "Bogus length field in session packet %d (%d)",
(int) plen, (int) len);
return;
}
將他改成:( replace )
代碼: (code)
if (plen + HDR_SIZE > len) {
/* syslog(LOG_ERR, "Bogus length field in session packet %d (%d)",
(int) plen, (int) len); */

return;
}

5. 然後就可以開始這樣做囉:
cd /usr/local/src/rp-pppoe-3.5/src
./configure
make
make install

6. 如果一切都可以成功的進行,那麼就可以:
adsl-stop
adsl-start

這個簡單的步驟應該可以將您的問題訊息克服了吧! ^_^

Last edited by alanyih (20080920 16:45:51)






20080924 23:34:51

#3 alanyih Member

Re: Bogus PPPoE length field (58)

fixed-source.jpg

root@slitaz:~# tazwok cook rp-pppoe
Checking for build dependencies...

Starting to cook rp-pppoe...
================================================================================
Checking for source tarball...
Source tarball exit... [ OK ]
Untaring rp-pppoe-3.8.tar.gz... [ OK ]
..........

================================================================================
rp-pppoe compiled on : 20080924 21:48:15


Bulding rp-pppoe with the receipt...
================================================================================
Executing strip on all files... [ OK ]
Copying the receipt... [ OK ]
Creating the list of files... [ OK ]
Creating md5sum of files... [ OK ]
Compressing the fs...
Undating receipt sizes... [ OK ]
Creating full cpio archive...
Restoring original package tree... 286 blocks
================================================================================
Package rp-pppoe (3.8) generated.
Size : 64.0k /home/slitaz/packages/rp-pppoe-3.8.tazpkg

root@slitaz:~# ls -l /home/slitaz/packages/
-rw-r--r-- 1 root root 59392 Sep 24 21:48 rp-pppoe-3.8.tazpkg

root@slitaz:~# tazpkg install /home/slitaz/packages/rp-pppoe-3.8.tazpkg --forced

root@slitaz:~# date ; tail /var/log/messages
Wed Sep 24 22:14:38 UTC 2008
Sep 24 22:06:20 (none) daemon.notice pppd[10159]: pppd 2.4.4 started by root, uid 0
Sep 24 22:06:20 (none) daemon.info pppd[10159]: Using interface ppp0
Sep 24 22:06:20 (none) daemon.notice pppd[10159]: Connect: ppp0 <--> /dev/pts/1
Sep 24 22:06:20 (none) daemon.debug pppoe[10163]: PADS: Service-Name: ''
Sep 24 22:06:20 (none) daemon.info pppoe[10163]: PPP session is 21796 (0x5524)
Sep 24 22:06:21 (none) daemon.warn pppd[10159]: Warning - secret file /etc/ppp/pap-secrets has world and/or group access
Sep 24 22:06:21 (none) daemon.warn pppd[10159]: Warning - secret file /etc/ppp/pap-secrets has world and/or group access
Sep 24 22:06:22 (none) daemon.notice pppd[10159]: PAP authentication succeeded
Sep 24 22:06:22 (none) daemon.notice pppd[10159]: local IP address 211.xx.xxx.24
Sep 24 22:06:22 (none) daemon.notice pppd[10159]: remote IP address 211.xx.xxx.1

Last edited by alanyih (20080924 23:39:41)


Extract from

http://lamp.linux.gov.cn/Linux/sysklogd.html

syslogd

level 指定了消息的優先級,可以是下面的關鍵字之一(降序排列,嚴重性越來越低):

emerg 系統不可用
alert 需要立即被修改的條件
crit 阻止某些工具或子系統功能實現的錯誤條件
err 阻止工具或某些子系統部分功能實現的錯誤條件
warning 預警信息
notice 具有重要性的普通條件
info 提供信息的消息
debug 不包含函數條件或問題的其他信息
none 沒有優先級,通常用於排錯
* 除了none之外的所有級別


syslogd 默認通過 /dev/log 這個 unix domain socket 來接收應用程序發送過來的消息,這個位置是由系統的基本C庫決定的。

這個程序的命令行參數如下:

syslogd [ -a socket ] [ -f config-file ] [ -h ] [ -l hostlist ] [ -m interval ]
[ -n ] [ -p socket ] [ -r ] [ -s domainlist ] [ -v ]

參數說明:

-a socket
指定額外需要監聽的 socket ,最多指定19個,可以通過修改 syslogd.c 文件中的 MAXFUNIX 宏修改這個默認值。如果你將某些進程在chroot環境下運行,那麼這個選項就很有用了。
-f config-file
指定配置文件的位置,默認是 /etc/syslog.conf 。
-h
默認情況下 syslogd 並不轉發它接收到的遠程主機消息。指定這個選項後,進程將會把它接收到的遠程主機消息轉發到另一個指定的遠程主機。
-l hostlist
指定一個分號(:)分隔的主機名列表,只記錄這些主機的 hostname 而不是全限定域名。
-m interval
syslogd 默認每隔20分鐘產生一個時間戳標記(-- MARK --)。這個選項用於修改這個默認值。設為零將關閉這個特性。
-n
避免自動作為後台進程運行。如果由 init 來直接啟動和控制的話這個選項就必須使用。
-p socket
你可以指定一個 unix domain socket 來代替默認的 /dev/log [這個位置是由libc決定的]
-r
從 internet domain socket 上接收遠程消息,也就是監聽從514端口上進來的UDP包。 默認不接受任何遠程消息。
-s domainlist
指定一個分號(:)分隔的域名列表,這些域名在記錄前都會被剝除。只能指定完整的域名。比如"-s north.de"並不會剝除"satu.infodrom.north.de"的尾巴,你必須這樣寫才行:
-s north.de:infodrom.north.de
-v
打印版本信息後退出。

2008-08-20

Slitaz - phppgadmin - postgis



SliTaz GNU/Linux cooking-20080716 (28,6 Mb) - slitaz-cooking.iso [ md5 ]

postgresql-8.3.3.tazpkg
phppgadmin-4.2.tazpkg
postgis-1.3.3

http://ftp.tw.debian.org/debian/pool/main/p/postgis/
postgis_1.3.3-3_i386.deb 25-Jun-2008 20:02 206K
postgresql-8.3-postgis_1.3.3-3_i386.deb 25-Jun-2008 20:02 432K

http://ftp.tw.debian.org/debian/pool/main/p/proj/
proj_4.6.0-1_i386.deb 22-Dec-2007 11:02 395K

http://ftp.tw.debian.org/debian/pool/main/g/geos/
libgeos-3.0.0_3.0.0-5_i386.deb 13-May-2008 03:47 447K
libgeos-c1_3.0.0-5_i386.deb 13-May-2008 03:47 26K

http://ftp.tw.debian.org/debian/pool/main/p/postgresql-8.1/
libpq4_8.1.11-0etch1_i386.deb 18-Jan-2008 08:32 271K


2008-08-19

Pls check postgresql-doc dir!

http://forum.slitaz.org/viewtopic.php?id=745

#1 Pls check postgresql-doc dir!

thanks!

root@slitaz:~# tazpkg list-files postgresql-doc | more

Installed files with : postgresql-doc
================================================================================
/doc/postgresql/html/acronyms.html
/doc/postgresql/html/admin.html
/doc/postgresql/html/adminpack.html
/doc/postgresql/html/anoncvs.html
/doc/postgresql/html/app-clusterdb.html
/doc/postgresql/html/app-createdb.html
.......


mysql ??

root@slitaz:~# cat /etc/init.d/postgresql
#!/bin/sh
# /etc/init.d/postgresql : Start, stop and restart PostgreSQL server on SliTaz,
# at boot time or with the command line.
#
# To start postgresql server at boot time, just put mysql in the $RUN_DAEMONS <===== # variable of /etc/rcS.conf and configure options with /etc/daemons.conf # . /etc/init.d/rc.functions . /etc/daemons.conf NAME=Postgresql DESC="PostgreSQL server" su -c "postgres -D /var/lib/pgsql >logfile 2>&1" - postgres &
OPTIONS=$PGSQL_OPTIONS

#2 2008-08-20 10:29:48

bellard Contributor

Re: Pls check postgresql-doc dir!

Please check http://hg.slitaz.org/wok/rev/fe95cc78e50e and http://hg.slitaz.org/wok/rev/5b9d8b86855a

-pascal

#3 2008-08-20 21:19:29

alanyih Member

Re: Pls check postgresql-doc dir!

># To start postgresql server at boot time, just put mysql in the >$RUN_DAEMONS <=====


Slitaz - pgadmin 3 - postgis


Slitaz - pgadmin 3 - postgis
http://forum.slitaz.org/viewtopic.php?id=746

SliTaz GNU/Linux cooking-20080716 (28,6 Mb) - slitaz-cooking.iso

root@slitaz:~# tazpkg get-install pkg-config
root@slitaz:~# tazpkg get-install libxslt
root@slitaz:~# tazpkg get-install wxWidgets

http://ftp.tw.debian.org/debian/pool/main/p/pgadmin3/

pgadmin3-data_1.8.4-1_all.deb 04-Jul-2008 08:17 2.5M
pgadmin3_1.8.4-1_i386.deb 05-Jul-2008 01:47 1.4M
pgagent_1.8.4-1_i386.deb 05-Jul-2008 01:47 37K


alanyih=# select postgis_full_version();
postgis_full_version
----------------------------------------------------------------------------------
POSTGIS="1.3.3" GEOS="3.0.0-CAPI-1.4.1" PROJ="Rel. 4.6.0, 21 Dec 2007" USE_STATS
(1 row)

postgis-pgadmin3.jpg


#2 2008-08-20 10:35:48

bellard Contributor

Re: Slitaz - postgis - pgadmin3

Can you try http://mirror.slitaz.org/packages/cooki … 4.2.tazpkg ?

-pascal



#3 2008-08-20 20:59:26

alanyih Member

Re: Slitaz - postgis - pgadmin3

ok!

phppgadmin.png

phppgadmin-1.jpg

Offline

#4 2008-08-21 04:48:24

alanyih Member

Re: Slitaz - postgis - pgadmin3

Thanks!!

Pls check!

/usr/share/phppgadmin/conf/config.inc.php
......
// If extra login security is true, then logins via phpPgAdmin with no
// password or certain usernames (pgsql, postgres, root, administrator)
// will be denied. Only set this false once you have read the FAQ and
// understand how to change PostgreSQL's pg_hba.conf to enable
// passworded local connections.
$conf['extra_login_security'] = false;



Slitaz - gcin

gcin-1.4.0

gcin-1.4.2


gcin (Gtk Chinese INput application in X)

SliTaz GNU/Linux cooking-20080716 (28,6 Mb) - slitaz-cooking.iso

http://wiki.slitaz.org/doku.php?id=devel:notes

How to setup additional locales

To set locale to utf8 one must install the package glibc-locale and then execute:

# localedef -i ru_RU -c -f UTF-8 /usr/lib/locale/ru_RU.UTF-8

Then change the system locale with 'tazlocale' or by editing /etc/locale.conf.


http://ftp.tw.debian.org/debian/pool/main/g/gcin/

gcin_1.4.0-1_i386.deb 21-May-2008 03:32 1.5M
gcin_1.4.2-1_i386.deb 02-Aug-2008 00:02 1.5M

2008-05-25

calendar: Everyday Sunday



http://forum.slitaz.org/viewtopic.php?id=393

2008-05-26 05:58:12

ps aux
.....
1775 hacker ash
1779 hacker /bin/sh /usr/bin/desktopbox calendar <====
1781 hacker gtkdialog --glade-xml=/usr/share/slitaz-tools/glade/calendar.gla

#2 2008-06-06 14:00:21
Pankso Contributor
Re: calendar: Everyday Sunday

Hi, Fixed by Pascal: http://hg.slitaz.org/slitaz-tools/rev/97f8751d0751

- Christophe


http://hg.slitaz.org/slitaz-tools/rev/97f8751d0751

changeset: calendar: no more hardcoded date
changeset 208: 97f8751d0751
parent 207: 37ac5a2b6e88
child 209: 6ecc94a22bf5
author: Pascal Bellard
date: Tue May 27 15:32:37 2008 +0000 (4 weeks ago)
files: glade/calendar.glade
description: calendar: no more hardcoded date

--- a/glade/calendar.glade Sun May 25 14:53:28 2008 +0000
+++ b/glade/calendar.glade Tue May 27 15:32:37 2008 +0000
@@ -13,9 +13,6 @@
<widget class="GtkCalendar" id="calendar1">
<property name="visible">True</property>
<property name="can_focus">True</property>
- <property name="year">2008</property>
- <property name="month">4</property>
- <property name="day">11</property>
</widget>
</child>
<child>

Slitaz - VGA Kernel modes

vga=XXX - VGA Kernel modes

http://forum.slitaz.org/viewtopic.php?id=370

* Index * ? Feedbacks * ? Pls check 771 (1024x768) ?

#1 2008-05-23 08:17:33 alanyih Member

Pls check 771 (1024x768) ?

vga=XXX - VGA Kernel modes


/boot/isolinux/options.txt <====

F2 SliTaz GNU/Linux - Temporary Autonomous Zone. options ===================================================================== irqpoll : Recommende lors de problemes avec les interruptions.
no387 : Desactive l'emulation du coprocesseur mathematique.
vga=XXX : Change le mode video ou framebuffer.
788 (800x600), 771 (1024x768), 775 (1280x1024).


http://www.slitaz.org/en/doc/handbook/livecd.html#options

vga=XXX - VGA Kernel modes

Colors | 640x480 800x600 1024x768 1280x1024 1600x1200
-------------------------------------------------------
256 | 769 771 773 775 796
32768 | 784 787 790 793 797
65536 | 785 788 791 794 798
16,8M | 786 789 792 795 799

Last edited by alanyih (2008-05-24 17:01:16)

#2 2008-05-24 18:07:11 Linea Contributor

Re: Pls check 771 (1024x768) ?

This has now been amended.

http://hg.slitaz.org/wok/rev/c48eba57fbb4

Paul


http://hg.slitaz.org/wok/rev/c48eba57fbb4

changeset: syslinux: type in video option
changeset 854: c48eba57fbb4
parent 853: b56e5a4b6cdf
child 855: 106e096e90d1
author: Pascal Bellard
date: Fri May 23 08:46:20 2008 +0000 (2 days ago)
files: syslinux/stuff/enopts.txt syslinux/stuff/options.txt
description: syslinux: type in video option

--- a/syslinux/stuff/enopts.txt Thu May 22 21:52:15 2008 +0000
+++ b/syslinux/stuff/enopts.txt Fri May 23 08:46:20 2008 +0000
@@ -5,7 +5,7 @@ F6 SliTaz GNU/Linux - Temporary A
irqpoll : Recommended if problems with interrupts.
no387 : Disable mathematic coprocessor emulation.
vga=XXX : Change video mode or framebuffer.
- 788 (800x600), 771 (1024x768), 775 (1280x1024).
+ 788 (800x600), 791 (1024x768), 775 (1280x1024).

-------------------- SliTaz boot options ------------------
home=sda[1-9] : Mount and use USB key or external disk partition

--- a/syslinux/stuff/options.txt Thu May 22 21:52:15 2008 +0000
+++ b/syslinux/stuff/options.txt Fri May 23 08:46:20 2008 +0000
@@ -5,7 +5,7 @@ F2 SliTaz GNU/Linux - Temporary A
irqpoll : Recommende lors de problemes avec les interruptions.
no387 : Desactive l'emulation du coprocesseur mathematique.
vga=XXX : Change le mode video ou framebuffer.
- 788 (800x600), 771 (1024x768), 775 (1280x1024).
+ 788 (800x600), 791 (1024x768), 775 (1280x1024).

------------------- SliTaz boot options -------------------
home=sda[1-9] : Monte et utilise une partition d'une cle USB ou d'un



http://hg.slitaz.org/wok/file/c48eba57fbb4/syslinux/stuff/options.txt
syslinux/stuff/options.txt
changeset 854: c48eba57fbb4
parent: b56e5a4b6cdf
author: Pascal Bellard
date: Fri May 23 08:46:20 2008 +0000 (2 days ago)
permissions: -rw-r--r--
description: syslinux: type in video option

1=====================================================================
2F2 SliTaz GNU/Linux - Temporary Autonomous Zone. options
3=====================================================================
4
5 irqpoll : Recommende lors de problemes avec les interruptions.
6 no387 : Desactive l'emulation du coprocesseur mathematique.
7 vga=XXX : Change le mode video ou framebuffer.
8 788 (800x600), 791 (1024x768), 775 (1280x1024).
9
10 ------------------- SliTaz boot options -------------------
11 home=sda[1-9] : Monte et utilise une partition d'une cle USB ou d'un
12 disque dur externe comme partition /home. L'option
13 home=usb monte la premiere partition (sda1) sur /home.
14 config=, : Execute un script se trouvant sur un
15 peripherique. Exemple : config=/dev/hda1,slitaz.sh
16 modprobe= : Force le chargement de module(s).
17 lang=* : Specifie la langue [en,fr_CH,fr_FR]
18 kmap=* : Specifie le clavier [be-latin1,de-latin1,fr-latin1,fr_CH...]
19 sound=no : Supprime tous les modules son du noyau.
20 sound=noconf : Ne configure pas la carte son.
21 screen= : Definit le type d'ecran [text,640x480x16..1920x1440x24]
22
23 usage: slitaz [option], par exemple :
24 boot: slitaz irqpoll screen=1280x800x24 lang=fr_CH kmap=fr_CH modprobe=3c59x
25

2008-05-21

Slitaz -- PostgreSQL8.3.1



Slitaz -- PostgreSQL8.3.1

postgres@slitaz:~$ psql
Welcome to psql 8.3.1, the PostgreSQL interactive terminal.

Type: \copyright for distribution terms
\h for help with SQL commands
\? for help with psql commands
\g or terminate with semicolon to execute query
\q to quit

postgres=# select version();
version
------------------------------------------------------------------------------------------
PostgreSQL 8.3.1 on i486-pc-linux-gnu, compiled by GCC i486-pc-linux-gnu-gcc (GCC) 4.2.2
(1 row)

postgres=# \!netstat -nlt
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN
netstat: no kernel support for AF INET6 (tcp)
postgres=# \!uname -a
Linux slitaz 2.6.24.2-slitaz #1 SMP Fri May 9 22:03:01 CEST 2008 i686 unknown
postgres=#


root@slitaz:~4 uname -a
Linux slitaz 2.6.24.2-slitaz #1 SMP Fri May 9 22:03:01 CEST 2008 i686 unknown
root@slitaz:~5 netstat -nlt
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:5432 0.0.0.0:* LISTEN
netstat: no kernel support for AF INET6 (tcp)

2008-05-20

udev-121

LiveCD - Cooking version

SliTaz "Cooking" LiveCD is a constantly evolving version, fully usable, it allows you to test the latest improvements and packages, ask for new features or report bugs to help us to prepare for the stable version.

SliTaz GNU/Linux cooking-20080518 (25,4 Mb) - slitaz-cooking.iso [ md5 ]

hacker@slitaz:~# tazpkg list |grep udev
udev 121 base-system
hacker@slitaz:~# tazpkg list-files udev

Installed files with : udev
================================================================================
/etc/udev/rules.d
/etc/udev/rules.d/40-alsa.rules
/etc/udev/rules.d/50-udev-default.rules
/etc/udev/rules.d/60-persistent-input.rules
/etc/udev/rules.d/60-persistent-storage-tape.rules
/etc/udev/rules.d/60-persistent-storage.rules
/etc/udev/rules.d/80-drivers.rules
/etc/udev/rules.d/90-permissions.rules
/etc/udev/rules.d/95-udev-late.rules
/etc/udev/udev.conf
/lib/firmware <====
/lib/libvolume_id.so
/lib/libvolume_id.so.0
/lib/libvolume_id.so.0.83.0
/lib/udev/firmware.sh <====
/lib/udev/vol_id
/sbin/udevadm
/sbin/udevd
================================================================================
18 files installed with udev.

Slitaz cooking 20080518



18 May 2008

Cooking 20080518 and LinuxDays.ch

SliTaz team is proud to announce the availability of a new Cooking LiveCD ISO image providing huge changes from the stable release. SliTaz now uses Openbox as it's default Window Manager, desktop icons let you launch your favorite applications and manage files and dbus and hal will automatically mount removable media such as USB keys or Hard disks. Packages can now be managed through the graphical Packages Manager Tazpkgbox and mountbox and netbox are now much more usable and complete. The LiveCD now offers:- lua, a desktop search engine with searchmonkey, system information with Hardinfo, task management with LXTasks and a password and clipboard manager. All the major packages have been updated; SliTaz now uses a new toolchain using the last glibc-2.7, GTK 2.12.9 and Firefox 3.0 RC1! You will now find 580 packages on the mirror including wireless support for the kernel and the necessary tools for a manual connection or via the SliTaz netbox. This new announced Cooking version can be downloaded from SliTaz mirror. Note: This version is going to be used at the LinuxDay.ch in Geneva Switzerland.

2008-05-18

Slitaz -- udev

http://forum.slitaz.org/viewtopic.php?id=279

Announcement
20080513 - Cooking LiveCD updated (Graphical Packages Manager, NCV autodetection, new mountbox, ~30 keymaps - of, in, be, Fr, it local and more): slitaz-cooking.iso

* Index * " Material * " module ipw2100

#4 2008-05-07 15:04:50 Sygne Member

Re: modulate ipw2100

In fact, my problem is the same one as that of alanyih, although the modules are different (ipw2100 and ipw2200).

The solution suggested on the page of the ipw2100 does not function.

Certain old men forums recommend to use another version of udev. But that does not seem any more to be problematic with the recent versions.

ACPI is necessary to make function the chart, but it is installed.

Generally the problem is solved easily by installing the firmwares at the good place. I tested several of them:
/lib/firmware
/lib/hotplug/firmware
/usr/lib/firmware
/usr/lib/hotplug/firmware
Nothing made there...

Except dmesg, which is avarre in information, I do not know how to trace the source of the problem.

Does somebody have an idea?


#5 2008-05-07 19:47:01 Sygne Member

Re: modulate ipw2100

I found!

It is udev which is the cause of this problem:

the file /etc/udev/rules.d/50-udev-default.rules contains:
# firmware class requests
SUBSYSTEM=="firmware", ACTION=="add", RUN+="firmware.sh"

however:
find / -name 'firmware.sh'
=> does not exist...

to solve that it is enough to make:
Code:

wget http://www.us.kernel.org/pub/linux/utils/kernel/hotplug/udev-120.tar.gz
tar -xvf udev-120.tar.gz
mkdir /lib/udev
cp ./udev-120/extras/firmware/firmware.sh /lib/udev
mkdir /lib/firmware
cd /lib/firmware
tar -xvf /chemin/vers/mon/firmware.tgz
modprobe ipw2100

And it goes!

It will probably be necessary to add /lib/udev/firmware.sh in the package udev, and to create the repertory /lib/firmware by the same occasion (that will avoid us seeking or putting the firmware).

............

#8 2008-05-12 20:07:48 Pankso Contributor

Re: modulate ipw2100

Hello,

Just to announce that Erjo modified the receipt udev to include firmware.sh, that the package was updated (121) and that the firmware are quite now charged.

- Christophe

Slitaz VS ipw2200

http://forum.slitaz.org/viewtopic.php?id=254

#4 2008-05-07 09:23:02 alanyih Member

Re: Network Adapter not found

Try!! Cooking ISO - 20080425

ISO size: 24,4 Mb - http://www.slitaz.org/en/get/#cooking

http://listengine.tuxfamily.org/lists.t … 00080.html

>Hello,
>
>The Cooking ISO has been updated with all the last packages including
>important one such glibc-2.7, Busybox-1.10.1 and the Kernel with wifi
>support. The desktop have now icons and the backgroud managed by

>Netbox has been improved by Pascal and all the servers can be
>configured throught the new servers tab. Bootfloppybox can creat
>bootable floppy, wifibox (experimental) for wireless connection. PXE
>support is also now avalaible if you want to boot SliTaz from the
>network.

>ISO size: 24,4 Mb - http://www.slitaz.org/en/get/#cooking


alanyih

Last edited by alanyih (2008-05-07 09:26:56)


#5 2008-05-07 11:00:49 alanyih Member

Re: Network Adapter not found

ipw2200: Unable to load firmware: -2

"ipw2200-bss.fw request_firmware failed: Reason -2"

Thanks in advance for any help!


SliTaz GNU/Linux cooking-20080425 (24,4 Mb) - slitaz-cooking.iso [ md5 ]
http://www.slitaz.org/en/get/#cooking

root@slitaz:~# modprobe -v ipw2200
insmod /lib/modules/2.6.24.2-slitaz/kernel/drivers/base/firmware_class.ko.gz
insmod /lib/modules/2.6.24.2-slitaz/kernel/net/ieee80211/ieee80211_crypt.ko.gz
insmod /lib/modules/2.6.24.2-slitaz/kernel/net/ieee80211/ieee80211.ko.gz
insmod /lib/modules/2.6.24.2-slitaz/kernel/drivers/net/wireless/ipw2200.ko.gz
root@slitaz:~# lsmod
Module Size Used by
ipw2200 128200 0
ieee80211 27336 1 ipw2200
ieee80211_crypt 5248 1 ieee80211
firmware_class 7552 1 ipw2200
....

root@slitaz:~# ls -l /lib/firmware/
-rwxr-xr-x 1 root root 12007 Mar 7 2006 LICENSE.ipw2200-fw
-rwxr-xr-x 1 root root 191142 Mar 7 2006 ipw2200-bss.fw
-rwxr-xr-x 1 root root 185660 Mar 7 2006 ipw2200-ibss.fw
-rwxr-xr-x 1 root root 187836 Mar 7 2006 ipw2200-sniffer.fw


dmesg
........
ieee80211_crypt: unregistered algorithm 'NULL'
ieee80211_crypt: registered algorithm 'NULL'
ieee80211: 802.11 data/management/control stack, git-1.1.13
ieee80211: Copyright (C) 2004-2005 Intel Corporation
ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.2.2kmprq
ipw2200: Copyright(c) 2003-2006 Intel Corporation
ACPI: PCI Interrupt 0000:03:02.0[A] -> GSI 17 (level, low) -> IRQ 17
ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection
ipw2200: ipw2200-bss.fw request_firmware failed: Reason -2
ipw2200: Unable to load firmware: -2
ipw2200: failed to register network device
ACPI: PCI interrupt for device 0000:03:02.0 disabled
ipw2200: probe of 0000:03:02.0 failed with error -5

Last edited by alanyih (2008-05-07 11:06:37)


#6 2008-05-09 16:22:07 alanyih Member

Re: Network Adapter not found

Thanks Sygne.


http://forum.slitaz.org/viewtopic.php?id=279


Code:

wget http://www.us.kernel.org/pub/linux/util … 120.tar.gz
tar -xvf udev-120.tar.gz
mkdir /lib/udev
cp ./udev-120/extras/firmware/firmware.sh /lib/udev

mkdir /lib/firmware
cd /lib/firmware
tar -xvf /chemin/vers/mon/firmware.tgz
modprobe ipw2100
......


root@slitaz:~# ls -l /lib/udev
-rwxr-xr-x 1 root root 516 May 9 14:18 firmware.sh

dmesg
......
ieee80211_crypt: registered algorithm 'NULL'
ieee80211: 802.11 data/management/control stack, git-1.1.13
ieee80211: Copyright (C) 2004-2005 Intel Corporation
ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.2.2kmprq
ipw2200: Copyright(c) 2003-2006 Intel Corporation
ACPI: PCI Interrupt 0000:03:02.0[A] -> GSI 17 (level, low) -> IRQ 17
ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection
ipw2200: Detected geography ZZM (11 802.11bg channels, 0 802.11a channels)

root@slitaz:~# iwlist scanning
lo Interface doesn't support scanning.

dummy0 Interface doesn't support scanning.

eth0 Scan completed :
Cell 01 - Address: 00:1D:60:6F:26:37
ESSID:""
Protocol:IEEE 802.11bg
Mode:Master
Frequency:2.412 GHz (Channel 1)
Encryption key:off
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Quality=94/100 Signal level=-33 dBm
Extra: Last beacon: 93ms ago