Re: automatic wlan connection at bootprocess on Etch only on second try?
Michael Lansche wrote:
I had a very similar problem to yours, only my wlan connection would
work on the first try about 3 out of ten times. I ended up removing the
"allow-hotplug" statement in /etc/network/interfaces for that ethernet
device and replaced it with "auto". Now mine works on the first try
better than 95% of the time.
Am Samstag, 30. Juni 2007 01:05 schrieb Frank Feldner:
Try adding a wpa-driver statement:
iface eth2 inet dhcp
Than debug WPA-SUPPLICANT Client:
sudo wpa_supplicant -i eth2 -D your-driver
sudo dhclient eth2
Restarting network interface:
sudo ifdown eth2
sudo ifup eth2
Post outputs and syslog entries related to the above activities.
the wext driver is taken by default.
Here's the output after manually taking down eth2 (ifdown eth2).
Etch-nb:~# ifup --verbose eth2
Configuring interface eth2=eth2 (inet)
run-parts --verbose /etc/network/if-pre-up.d
run-parts: executing /etc/network/if-pre-up.d/wireless-tools
run-parts: executing /etc/network/if-pre-up.d/wpasupplicant
wpa_supplicant: using default driver type: wpa-driver wext
wpa_supplicant: /sbin/wpa_supplicant -B -P /var/run/wpa_supplicant.eth2.pid -i
wext -c /etc/wpa_supplicant/wpa_supplicant.mynet.conf -C /var/run/wpa_supplicant
wpa_supplicant: ctrl_interface socket located at /var/run/wpa_supplicant/eth2
dhclient3 -pf /var/run/dhclient.eth2.pid -lf /var/lib/dhcp3/dhclient.eth2.leases
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/eth2/00:1b:77:38:26:de
Sending on LPF/eth2/00:1b:77:38:26:de
Sending on Socket/fallback
DHCPDISCOVER on eth2 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on eth2 to 255.255.255.255 port 67 interval 8
DHCPOFFER from 192.168.0.1
DHCPREQUEST on eth2 to 255.255.255.255 port 67
DHCPACK from 192.168.0.1
bound to 192.168.0.3 -- renewal in 121643 seconds.
run-parts --verbose /etc/network/if-up.d
run-parts: executing /etc/network/if-up.d/avahi-daemon
run-parts: executing /etc/network/if-up.d/mountnfs
run-parts: executing /etc/network/if-up.d/ntpdate
run-parts: executing /etc/network/if-up.d/wpasupplicant
My config is working, but only at the second try at the end of the
Any further ideas?
It was something to do with udev but I can't recall the specifics right now.