Your message dated Mon, 26 Sep 2011 18:29:26 +0200
with message-id <[email protected]>
and subject line Re: I can not reproduce this bug
has caused the Debian Bug report #488309,
regarding wpa_supplicant does not work with ifup and ifdown scripts
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
488309: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=488309
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: wpasupplicant
Version: 0.6.3-2
Unfortunately wpasupplicant does not make it very easy for the average
end user to be able to configure their wireless interface. I followed
the directions in /usr/share/doc/wpasupplicant/README.modes.gz, section 3. "Mode
#2: Roaming Mode"
Following the information I created the following stanza in
/etc/network/interfaces for the wireless device:
allow-hotplug wlan0
iface wlan0 inet manual
wpa-driver wext
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp
iface wwf inet dhcp
iface wird inet dhcp
iface wgguest inet dhcp
Now, when I run "ifup wlan0" or "ifdown wlan0" nothing at all happens.
ifconfig never shows the interface. No output is given in /var/log/syslog.
Basically whatever is happening is happening in a black box that is impossible
to diagnose.
When the machine is booted up initially, the interface will come up, but if I
disable it with:
ifconfig wlan0 down
modprobe -r iwl3945
all is lost when I try to reload the interface using ifup. Even if I manually
modprobe iwl3945 and run ifconfig wlan0 up nothing happens. Something is very
wrong.
I wish there were at the very least a simple, command-line way to tell the
interface "come up, and associate with this access point" or "come up, and roam
for the best available access point"
Despite the long, very involved documentation, it is not at all clear what an
end user is supposed to do to get their wireless card to work.
--- End Message ---
--- Begin Message ---
Package: wpasupplicant
Version: 0.6.10-2.1
thanks
Hi
On Monday 26 September 2011, Erik Saule wrote:
> Dear Debain maintainer/users,
>
> I am using wpa-supplicant in roaming mode through the wpa-roam stanza
> in /etc/network/interfaces as the bug reported indicated. However, I
> can not reproduce his bug on my laptop. The differences I see are:
>
> -original reporter was using wpasupplicant in version 0.6.3-2, while I
> am using 0.6.10-2.1
>
> -original reported was using driver iwl3945 while I am using the
> driver iwlagn
>
> You will find at the end of this email a extract of a root session
> showing the expected (working) behavior, with some configuration
> information.
>
> So I believe this bug has either been fixed since 2008 or is linked to
> a particular wireless driver.
>
> I hope this helped.
>
> Erik
>
> eriklaptop:~# dmesg | tail #currently connected.
> [ 3336.202294] ADDRCONF(NETDEV_UP): wlan0: link is not ready
> [ 3339.077279] wlan0: direct probe to AP 00:23:69:4b:93:1a (try 1)
> [ 3339.080627] wlan0: direct probe responded
> [ 3339.080636] wlan0: authenticate with AP 00:23:69:4b:93:1a (try 1)
> [ 3339.082726] wlan0: authenticated
> [ 3339.082790] wlan0: associate with AP 00:23:69:4b:93:1a (try 1)
> [ 3339.085054] wlan0: RX AssocResp from 00:23:69:4b:93:1a (capab=0x401
> status=0 aid=10)
> [ 3339.085061] wlan0: associated
> [ 3339.109549] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
> [ 3349.652012] wlan0: no IPv6 routers present
> eriklaptop:~# ifdown wlan0
> Internet Systems Consortium DHCP Client 4.1.1-P1
> Copyright 2004-2010 Internet Systems Consortium.
> All rights reserved.
> For info, please visit https://www.isc.org/software/dhcp/
>
> Listening on LPF/wlan0/00:1d:e0:26:eb:d7
> Sending on LPF/wlan0/00:1d:e0:26:eb:d7
> Sending on Socket/fallback
> DHCPRELEASE on wlan0 to 192.168.1.1 port 67
> eriklaptop:~# dmesg | tail -n 1 # only one new line
> [ 3672.388121] wlan0: deauthenticating from 00:23:69:4b:93:1a by local choice
> (reason=3)
> eriklaptop:~# ps aux | grep wpa | grep -v grep
> eriklaptop:~# ifup wlan0
> eriklaptop:~# dmesg | tail -n 14 # only 14 new lines
> [ 3680.295461] Registered led device: iwl-phy0::radio
> [ 3680.295478] Registered led device: iwl-phy0::assoc
> [ 3680.295504] Registered led device: iwl-phy0::RX
> [ 3680.295519] Registered led device: iwl-phy0::TX
> [ 3680.349319] ADDRCONF(NETDEV_UP): wlan0: link is not ready
> [ 3683.267123] wlan0: direct probe to AP 00:23:69:4b:93:1a (try 1)
> [ 3683.464112] wlan0: direct probe to AP 00:23:69:4b:93:1a (try 2)
> [ 3683.470104] wlan0: direct probe responded
> [ 3683.470111] wlan0: authenticate with AP 00:23:69:4b:93:1a (try 1)
> [ 3683.475614] wlan0: authenticated
> [ 3683.475686] wlan0: associate with AP 00:23:69:4b:93:1a (try 1)
> [ 3683.480883] wlan0: RX AssocResp from 00:23:69:4b:93:1a (capab=0x401
> status=0 aid=10)
> [ 3683.480889] wlan0: associated
> [ 3683.502658] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
> eriklaptop:~# /sbin/ifconfig wlan0
> wlan0 Link encap:Ethernet HWaddr 00:1d:e0:26:eb:d7
> inet addr:192.168.1.113 Bcast:192.168.1.255 Mask:255.255.255.0
> inet6 addr: fe80::21d:e0ff:fe26:ebd7/64 Scope:Link
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:7971 errors:0 dropped:0 overruns:0 frame:0
> TX packets:3433 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:3567081 (3.4 MiB) TX bytes:496329 (484.6 KiB)
>
> eriklaptop:~# lspci -nn | grep Wireless
> 03:00.0 Network controller [0280]: Intel Corporation PRO/Wireless 4965 AG or
> AGN [Kedron] Network Connection [8086:4230] (rev 61)
> eriklaptop:~# uname -a
> Linux eriklaptop 2.6.32-5-amd64 #1 SMP Mon Mar 7 21:35:22 UTC 2011 x86_64
> GNU/Linux
> eriklaptop:~# cat /etc/network/interfaces
> auto lo
> iface lo inet loopback
>
> auto wlan0
> iface wlan0 inet manual
> wpa-driver wext
> wpa-roam /etc/wpa_supplicant.conf
>
> iface columbus inet dhcp
>
> eriklaptop:~# cat /etc/wpa_supplicant.conf
> ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=root
>
> network={
> ssid="ParasiteNet"
> id_str="columbus"
> scan_ssid=1
> key_mgmt=NONE
> }
>
> eriklaptop:~#
Closed, as indicated in this reponse.
Regards
Stefan Lippers-Hollmann
--- End Message ---