Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[resolved] How to debug connections with wpa_supplicant?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
jsfan
Apprentice
Apprentice


Joined: 28 Dec 2004
Posts: 204
Location: Melbourne, Australia

PostPosted: Sat Mar 24, 2007 7:15 am    Post subject: [resolved] How to debug connections with wpa_supplicant? Reply with quote

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
View user's profile Send private message
Sachankara
l33t
l33t


Joined: 11 Jun 2004
Posts: 696
Location: Stockholm, Sweden

PostPosted: Sat Mar 24, 2007 7:43 am    Post subject: Re: How to debug connections with wpa_supplicant? Reply with quote

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
View user's profile Send private message
wynn
Advocate
Advocate


Joined: 01 Apr 2005
Posts: 2421
Location: UK

PostPosted: Sat Mar 24, 2007 11:43 am    Post subject: Reply with quote

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
View user's profile Send private message
jsfan
Apprentice
Apprentice


Joined: 28 Dec 2004
Posts: 204
Location: Melbourne, Australia

PostPosted: Sat Mar 24, 2007 12:28 pm    Post subject: Re: How to debug connections with wpa_supplicant? Reply with quote

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... :(
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum