View previous topic :: View next topic |
Author |
Message |
jsfan Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 28 Dec 2004 Posts: 204 Location: Melbourne, Australia
|
Posted: Sat Mar 24, 2007 7:15 am Post subject: [resolved] How to debug connections with wpa_supplicant? |
|
|
I have a wireless card which runs on the ipw3945 driver. I tried to naively copy the configurations from http://gentoo-wiki.com/HARDWARE_ipw394
but that didn't work.
I'm pretty sure that my ESSID and PSK are right but nothing happens. My problem now is that I can't find anything in the logs
that would help me to debug this. Does wpa_supplicant log anywhere at all? How do you debug a wpa_supplicant connection
to a WPA encrypted wireless?
Last edited by jsfan on Wed Mar 28, 2007 1:39 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Sachankara l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/20654153364410b1c04b571.png)
Joined: 11 Jun 2004 Posts: 696 Location: Stockholm, Sweden
|
Posted: Sat Mar 24, 2007 7:43 am Post subject: Re: How to debug connections with wpa_supplicant? |
|
|
Run everything manually. Start up your wifi with "ifconfig eth1 up", then start wpa_supplicant with "wpa_supplicant -D your-driver -i eth1 -c /etc/wpa_supplicant/wpa_supplicant.conf" and finally log into another console and run "dhclient eth1" or similar (depends on which dhcp client you're running). _________________ Gentoo Hardened Linux 2.6.21 + svorak (Swedish dvorak) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
wynn Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/46695354144c509f41a088.png)
Joined: 01 Apr 2005 Posts: 2421 Location: UK
|
Posted: Sat Mar 24, 2007 11:43 am Post subject: |
|
|
You can also add Code: | -d Increase debugging verbosity (-dd even more) | to the wpa_supplicant command line. _________________ The avatar is jorma, a "duck" from "Elephants Dream": the film and all the production materials have been made available under a Creative Commons Attribution 2.5 License, see orange.blender.org for details. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jsfan Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 28 Dec 2004 Posts: 204 Location: Melbourne, Australia
|
Posted: Sat Mar 24, 2007 12:28 pm Post subject: Re: How to debug connections with wpa_supplicant? |
|
|
Sachankara wrote: | Run everything manually. Start up your wifi with "ifconfig eth1 up", then start wpa_supplicant with "wpa_supplicant -D your-driver -i eth1 -c /etc/wpa_supplicant/wpa_supplicant.conf" and finally log into another console and run "dhclient eth1" or similar (depends on which dhcp client you're running). |
Thanks. I didn't know that you could do that. wpa_supplicant actually throws a lot of errors about a lot of operations not being supported. I guess I'll have to put some time into that... ![Sad :(](images/smiles/icon_sad.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|