Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Anybody got a HowTo for wpa_supplicant/madwifi/LinksysWRT54G
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
elvisthedj
Guru
Guru


Joined: 21 Jun 2004
Posts: 483
Location: Nampa, ID

PostPosted: Sun Oct 16, 2005 8:44 pm    Post subject: Anybody got a HowTo for wpa_supplicant/madwifi/LinksysWRT54G Reply with quote

I've read several threads on this, but nothing seems to be helping me and I'm entering day 4 :(

I know somebody out there has the same setup as I have, so if you have a minute, can you post your configs, tips, router setup, or anything helpful? I moved back from openwrt to the regular linksys firmware and I'm trying to setup wpa with a pre shared key.

Any help would be appreciated.

Thanks!

wpa_supplicant - 0.4.4
madwifi_driver-0.1_pre20050420-r1

Code:

 # wpa_supplicant -iath0 -c/home/kris/wpa_supplicant.conf -Dmadwifi -d
ioctl[SIOCSIWPMKSA]: Operation not supported

That's all the output I get until I start wpa_gui which just loops between trying to assosciate with my router, failing, and scanning (which according to iwlist, my card doesn't support)

This is the output of wpa_supplicant after killing the gui

Code:

CTRL_IFACE monitor[0]: sendmsg: Connection refused
CTRL_IFACE monitor[0]: sendmsg: Connection refused
CTRL_IFACE monitor[0]: sendmsg: Connection refused
CTRL_IFACE monitor[0]: sendmsg: Connection refused
CTRL_IFACE monitor[0]: sendmsg: Connection refused

_________________
Kris Edwards
kris edwards at g mail dot c0m
PGP
WWW
Back to top
View user's profile Send private message
scoobydu
Veteran
Veteran


Joined: 16 Feb 2003
Posts: 1076
Location: 'Mind the Gap'

PostPosted: Mon Oct 17, 2005 12:26 pm    Post subject: Reply with quote

I am using the same setup successfully ;)


What does your wpa_supplicant.conf look like?
_________________
Tyan Tiger K8W, 2xOpteron 240,Powerbook5,6 15" 1.5g, Macbook Black 2g, Mac Mini 1g, Ipod P60g.
| Linux - From a windows user perspective|
Back to top
View user's profile Send private message
xenoscr
Tux's lil' helper
Tux's lil' helper


Joined: 08 Dec 2003
Posts: 123
Location: Indianapolis, IN

PostPosted: Mon Oct 17, 2005 1:00 pm    Post subject: Reply with quote

I'm using that setup as well. Is your router broadcasting it's SSID?

XeNoSCR
Back to top
View user's profile Send private message
elvisthedj
Guru
Guru


Joined: 21 Jun 2004
Posts: 483
Location: Nampa, ID

PostPosted: Mon Oct 17, 2005 8:41 pm    Post subject: Reply with quote

Quote:

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
#eapol_version=1
#ap_scan=1
fast_reauth=1

network={
ssid="mulbwifi"
proto=WPA
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=TKIP
psk="sdflvbSDFWEFs23r4sd9badSFsdffbasdfBsdfg3ffbaF23s23sbsrRRsa298s7"
priority=2
}


That's probably looking a little weird.. It's the latest incarnation of things that don't work.

Yep. I'm broadcasting the ssid.. The wpa_gui sees it, but doesn't associate. BTW, I did have a lot more things in group field, but I removed them since the router just said TKIP.
_________________
Kris Edwards
kris edwards at g mail dot c0m
PGP
WWW
Back to top
View user's profile Send private message
scoobydu
Veteran
Veteran


Joined: 16 Feb 2003
Posts: 1076
Location: 'Mind the Gap'

PostPosted: Mon Oct 17, 2005 11:26 pm    Post subject: Reply with quote

Ok so my supplicant config has these additions to yours .. what does your /etc/conf.d/net look like as well .. do you have the madwifi stuff in there?

Quote:

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1
network={
scan_ssid=1
}


_________________
Tyan Tiger K8W, 2xOpteron 240,Powerbook5,6 15" 1.5g, Macbook Black 2g, Mac Mini 1g, Ipod P60g.
| Linux - From a windows user perspective|
Back to top
View user's profile Send private message
elvisthedj
Guru
Guru


Joined: 21 Jun 2004
Posts: 483
Location: Nampa, ID

PostPosted: Wed Oct 19, 2005 3:51 am    Post subject: Reply with quote

Thanks for the replies by the way.

I do have the madwifi stuff in there.

Code:

modules=( "wpa_supplicant" )
wpa_supplicant_ath0="-Dmadwifi"
wpa_timeout_ath0=60
preferred_aps=( "mulbwifi" )
config_mulbwifi=( "dhcp" )
#routes_mulbwifi=( "default via 192.168.1.1" )


I did have it set up with a static, but got (and still get using dhcp) Could not assign address...

I'll try the additions to the conf file. I think I'm screwing my key somehow. Is it right to put it in plain text like that? does it need to be hex or anything?
_________________
Kris Edwards
kris edwards at g mail dot c0m
PGP
WWW
Back to top
View user's profile Send private message
scoobydu
Veteran
Veteran


Joined: 16 Feb 2003
Posts: 1076
Location: 'Mind the Gap'

PostPosted: Mon Oct 24, 2005 9:13 pm    Post subject: Reply with quote

elvisthedj wrote:
Thanks for the replies by the way.

I do have the madwifi stuff in there.

Code:

modules=( "wpa_supplicant" )
wpa_supplicant_ath0="-Dmadwifi"
wpa_timeout_ath0=60
preferred_aps=( "mulbwifi" )
config_mulbwifi=( "dhcp" )
#routes_mulbwifi=( "default via 192.168.1.1" )


I did have it set up with a static, but got (and still get using dhcp) Could not assign address...

I'll try the additions to the conf file. I think I'm screwing my key somehow. Is it right to put it in plain text like that? does it need to be hex or anything?



Mines in hex.

What is 'mulbwifi'??

scooby
_________________
Tyan Tiger K8W, 2xOpteron 240,Powerbook5,6 15" 1.5g, Macbook Black 2g, Mac Mini 1g, Ipod P60g.
| Linux - From a windows user perspective|
Back to top
View user's profile Send private message
elvisthedj
Guru
Guru


Joined: 21 Jun 2004
Posts: 483
Location: Nampa, ID

PostPosted: Wed Oct 26, 2005 12:29 am    Post subject: Reply with quote

I switched to a project that didn't piss me off for awhile, so I'll give a hex key a try :)

mulbwifi is the name of the AP
_________________
Kris Edwards
kris edwards at g mail dot c0m
PGP
WWW
Back to top
View user's profile Send private message
scoobydu
Veteran
Veteran


Joined: 16 Feb 2003
Posts: 1076
Location: 'Mind the Gap'

PostPosted: Wed Oct 26, 2005 9:48 am    Post subject: Reply with quote

elvisthedj wrote:
I switched to a project that didn't piss me off for awhile, so I'll give a hex key a try :)

mulbwifi is the name of the AP



Ok, I don't ref to an access point at all .. 8O so perhaps try without those lines...
_________________
Tyan Tiger K8W, 2xOpteron 240,Powerbook5,6 15" 1.5g, Macbook Black 2g, Mac Mini 1g, Ipod P60g.
| Linux - From a windows user perspective|
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