[pkg-wpa-devel] Is this a bug?
rouble
rouble at gmail.com
Tue Feb 19 03:42:39 UTC 2008
Hi Kel,
Thanks much for responding. I am trying to set up my wireless in roaming mode.
Here is my /etc/wpa_supplicant/wpa_supplicant.conf:
<code>
ctrl_interface=/var/run/wpa_supplicant
### Associate with any open access point
### Scans/ESSID changes can be done with wpa_cli
network={
key_mgmt=NONE
priority=3
}
network={
ssid="SSID"
id_str="work"
scan_ssid=1
key_mgmt=WPA-EAP
eap=PEAP
identity="USERNAME"
password="PASSWORD"
phase1="peaplabel=0"
phase2="auth=MSCHAPV2"
priority=2
}
network={
ssid="homerun"
id_str="home"
scan_ssid=1
key_mgmt=NONE
wep_key0=KEY
priority=1
}
</code>
And here is my /etc/network/interfaces:
<code>
auto lo
iface lo inet loopback
auto wlan0
iface wlan0 inet manual
wpa-driver wext
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp
iface home inet dhcp
iface work inet dhcp
</code>
Now, sometimes when I reboot, wireless does not work. So I want to
debug what is going on, so I was been trying to start and stop
wireless like this:
sudo /etc/init.d/networking stop
sudo /etc/init.d/networking start
...to test it without rebooting. But, when I do 'sudo
/etc/init.d/networking stop' it does not stop the wpa_supplicant
process etc. I am thinking that is how the OS stop starts the wireless
(right?)
Also, the log file /var/log/wpa_action.log contains very minimal logs.
Is it possible to see the logs from the wpa_supplicant daemon also
somewhere?
tia,
rouble
On Feb 18, 2008 12:44 AM, Kel Modderman <kel at otaku42.de> wrote:
> On Monday 18 February 2008 14:01:08 rouble wrote:
> > Hi All,
> >
> > I am looking at these scripts in Hardy Heron Ubuntu. In the
> > /etc/network/if-up.d/wpasupplicant file I see this:
> >
> > <code>
> > # quit if wpa_action is active
> > if test_wpa_cli; then
> > exit 0
> > fi
> > </code>
> >
> > Is that right?
>
> See:
> wpa_action(8) "aka man wpa_action"
> http://bugs.debian.org/373180
>
> And please report how you have configured /etc/network/interfaces to make
> use of wpasupplicant if you need more information.
>
> Thanks, Kel.
>
--
this message is composed of 100% recycled ascii
More information about the Pkg-wpa-devel
mailing list