You are not logged in.
Pages: 1
Hi, I have just put slittaz rolling (though the same problem is apparent in RC5.2 and 4.0) on a eepc with atheros network card. The wifi card connects just fine if I use the wifi-box application or the slitaz panel. When I reboot though, the wifi does not automatically connect. I must go back into the wifi-box or slitaz panel, punch in the details press configure and away we go again.
The settings are all correct in the network.conf file and network.sh script is calling for it correctly. But no matter what, it will not auto connect at startup and invoking /etc/init.d/network.sh restart after slitaz has started will also not make it connect, even after bringing up the interface with ifconfig wlan0.
Can anyone suggest where else I can look or other suggestions on making it just connect at startup. Everything works ok using the apps to connect and the settings being entered match what is already in the network.conf file. And yes wifi is set = yes.
Thanks for your help.
Offline
Hi again, ive actually just fixed the issue after looking at the system logs. It wasnt have the interface ready at time when it was trying to bring it up. I applied the following fix in the /etc/init.d/network.sh:
...
wifi() {
if [ "$WIFI" = "yes" ] || fgrep -q "wifi" /proc/cmdline; then
# start: Patch for slow interace creation
ii=1
while [ $ii -le 20 ] && ! fgrep -q "$WIFI_INTERFACE" /proc/net/dev; do
ii='expr $ii + 1'
sleep 1
echo -n "."
done
# end of patch
ifconfig $INTERFACE down
...
As found here: http://forum.slitaz.org/topic/rolling-fix-for-slow-wifi-interface-creation
Thanks to the solution provided by audios1ave, saved me having to work something out!
Offline
Just for clarity, my actual fix applied in /etc/init.d/network.sh is: (slightly different)
wifi() {
if [ "$WIFI" = "yes" ]; then
#start slow interface wait
ii=1
while [ $ii -le 20 ] && ! fgrep -q "$WIFI_INTERFACE" /proc/net/dev; do
ii='expr $ii + 1'
sleep 1
echo -n "."
done
#end slow interface wait
ifconfig $INTERFACE down
Offline
/etc/network.conf
INTERFACE=
should match
WIFI_INTERFACE=
Offline
Pages: 1
[ Generated in 0.019 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]