[Update: In order to keep oversight, I posted the solution in a separate discussion: http://forum.slitaz.org/index.php?p=/discussion/2671/there-is-something-seriously-wrong-with-the-rcs-boot-sequence-and-network.sh-solved/p1 ]
Hello,
A couple of days ago, I installed SliTaz 2.6.30.3 on a 12 year old Toshiba Satellite 4000CDT (Pentium II 233MHz, 156MB RAM @66MHz, 800x600x24bit video, 40GB HD, 1 USB1.0 via ISA). I am really positively impressed with the responsiveness Slitaz is getting out of this machine. More so then when I tried Puppy Linux.
Connection
Name: Unknown (and only "lo" is available as selectable value)
Status: Disconnected
Interface Type Status
lo Loopback connected (127.0.0.1)
wlan0 Wireless -
@slicel: Good to know!
As a matter of fact, when booting I see a red udev failure quickly passing by...
Attached is a boot log extract:
Processing /etc/init.d/rcS...
Mounting proc filesystem... [ [1;33mOK[22;37m ]
Searching for early boot options... [ [1;33mOK[22;37m ]
Starting udev daemon... [ [1;31mFailed[22;37m ]
Udevadm requesting events from the Kernel... [ [1;33mOK[22;37m ]
Udevadm waiting for the event queue to finish... [ [1;33mOK[22;37m ]
Checking filesystem on : /dev/hda2
/dev/hda2: clean, 15253/327680 files, 158003/1309297 blocks
Remounting rootfs read/write...
EXT3 FS on hda2, internal journal
Mounting filesystems in fstab...
@Trixar_za: Thanks for offering your help!
Like you, I am completely convinced that we are dealing with a timing error where the USB WLAN stick is not given the time to get up and running.
This finding is supported by the fact that the WLAN USB stick *is* detected after a warm reboot, contrary to a startup after a complete shutdown. Most probably this is because during a warm reboot the power to the WLAN USB stick is not interrupted.
@Trixar_za: I tried out your suggestion of changing the local.sh, however still without success... (see log below)
Are you sure that network.sh restart is doing the same as hitting the "Restart" button in the network manager???
Starting local startup commands...
Stopping all interfaces
ifconfig: SIOCGIFFLAGS: No such device
ifconfig: SIOCGIFFLAGS: No such device
Killing all daemons
killall: udhcpc: no process killed
wlan0 No such device
ifconfig: SIOCGIFFLAGS: No such device
ifconfig: SIOCGIFFLAGS: No such device
wlan0 is not a wifi interface, changing it.
Configuring ...ifconfig: up: error fetching interface information: Device not found
lo no wireless extensions.
dummy0 no wireless extensions.
[70G[ [1;33mOK[0;39m ]
Starting wpa_supplicant for WPA-PSK...
wpa_supplicant: option requires an argument -- 'i'
wpa_supplicant v0.6.9
Copyright (c) 2003-2009, Jouni Malinen and contributors
This program is free software. You can distribute it and/or modify it
under the terms of the GNU General Public License version 2.
Alternatively, this software may be distributed under the terms of the
BSD license. See README and COPYING for more details.
This product includes software developed by the OpenSSL Project
for use in the OpenSSL Toolkit (http://www.openssl.org/)
usage:
wpa_supplicant [-BddhKLqqtuvW] [-P] [-g] \
-i -c [-C] [-D] [-p] \
[-b
] [-f] \
[-N -i -c [-C] [-D] \
[-p] [-b
] ...]
drivers:
wext = Linux wireless extensions (generic)
hostap = Host AP driver (Intersil Prism2/2.5/3)
atmel = ATMEL AT76C5XXx (USB, PCMCIA)
wired = wpa_supplicant wired Ethernet driver
options:
-b = optional bridge interface name
-B = run daemon in the background
-c = Configuration file
-C = ctrl_interface parameter (only used if -c is not)
-i = interface name
-d = increase debugging verbosity (-dd even more)
-D = driver name
-g = global ctrl_interface
-K = include keys (passwords, etc.) in debug output
-t = include timestamp in debug messages
-h = show this help text
-L = show license (GPL and BSD)
-p = driver parameters
-P = PID file
-q = decrease debugging verbosity (-qq even less)
-v = show version
-W = wait for a control interface monitor before starting
-N = start describing new interface
example:
wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf
Starting udhcpc client on: ...
Selected interface 'wlan0'
Failed to connect to wpa_supplicant - wpa_ctrl_open: Connection refused
Starting all daemons specified in /etc/rcS.conf...
Starting message bus daemon: DBUS... Unknown username "polkituser" in message bus configuration file
[70G[ [1;33mOK[0;39m ]
Starting Hardware Abstraction Layer: HAL... [70G[ [1;33mOK[0;39m ]
Setting up kernel security rules... [70G[ [1;33mOK[0;39m ]
Iptables rules are disabled in: /etc/firewall.conf...
Starting slim login manager: Slim... [70G[ [1;33mOK[0;39m ]
[3g H H H H H H H H H
c]R
[1mWelcome to your box.[0m
SliTaz boot time: 15s
@Trixar_za: After making another 50 or something cold boot ups, systematically trying out every change, i finally found the solution to getting wlan0 up automatically. In order to keep an oversight, I posted the solution here:
It looks like you're new here. If you want to get involved, click one of these buttons!