View previous topic :: View next topic |
Author |
Message |
shrndegruv l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/gallery/Zelda/Zelda_-_Link.jpg)
Joined: 18 Sep 2005 Posts: 658
|
Posted: Tue Nov 29, 2005 2:12 am Post subject: help me configure my wpa_supplicant.conf |
|
|
here is my file (retyped by hand)
Code: |
ctrl_interface=/var.....
ctrl_interface_group=0
ap_scan=1
network={
ssid="myid"
key_mgmt=NONE
wep_key0="password"
wep_tx_keyidx=0
priority=5
auth_alg=SHARED
|
when i do /etc/init.d/net.eth1 start
I get
starting eth1
starting wpa_supplicant on eth1
timed out
on my wireless router config i have 128bit encryption, channed 6, authentication type of shared key
ive tried putting both the hex key that shows up under key0 in wpa_supp.conf, and the passphrase I used to generate that key. With the hex value (both 0x on the front on nothing prepended), on startup errors on parsing wpa_supp.conf with "too long wep key 0"
please help... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
zigver Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/10906098964384e511bf62a.png)
Joined: 09 May 2003 Posts: 87
|
Posted: Tue Nov 29, 2005 2:19 am Post subject: |
|
|
Have a look at this thread. You'll need to setup your conf file correctly. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
shrndegruv l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/gallery/Zelda/Zelda_-_Link.jpg)
Joined: 18 Sep 2005 Posts: 658
|
Posted: Tue Nov 29, 2005 2:24 am Post subject: |
|
|
zigver
can you be more specific as to what I have done incorrectly? That thread is for a wpa encrypted wireless netty -- I have straight up WEP (are they the same?).
Ive been on google and on the gentoo wireless wiki -- I think I have everything set up correctly except the wpa_supplicant.conf...
thanx |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
shrndegruv l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/gallery/Zelda/Zelda_-_Link.jpg)
Joined: 18 Sep 2005 Posts: 658
|
Posted: Tue Nov 29, 2005 3:01 am Post subject: |
|
|
I have confirmation my card is working; iwlist eth1 scan yields a bunch of networks, mine is among them. Just cant get the conf correct -- can anyone help? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
shrndegruv l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/gallery/Zelda/Zelda_-_Link.jpg)
Joined: 18 Sep 2005 Posts: 658
|
Posted: Tue Nov 29, 2005 4:34 am Post subject: |
|
|
So I broke down and plugged my laptop into the wire so I can post the results of
wpa_supplicant -i eth1 -c /etc/wpa_supplicant.conf -Dipw -dd
i get
Code: |
Trying to associate with 00:09:5b:72:e6:fa (SSID='turnerstreet' freq=0 MHz)
Cancelling scan request
Automatic auth_alg selection: 0x1
wpa_driver_ipw_set_auth_alg: auth_alg=0x1
No keys have been configured - skip key clearing
wpa_driver_ipw_set_key: alg=WEP key_idx=1 set_tx=1 seq_len=0 key_len=8
wpa_driver_ipw_set_drop_unencrypted: enabled=1
Setting authentication timeout: 5 sec 0 usec
EAPOL: External notification - portControl=ForceAuthorized
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
Wireless event: cmd=0x8b1a len=25
|
im my dmesg i get
Code: |
ipw2200: failed to send WEP_KEY command
ipw2200: failed to send SSID command
ipw2200: Firmware error detected. Restarting.
ipw2200: Firmware error detected. Restarting.
|
over and over again; I think it is caused by the wpa command failing, however...
its complaining that no keys have been configured; I put the passphrase under wep_key1 and set wep_tx_keyidx=1. When I try to put the hex value of the key it fails as I described above.
What gives? please please pretty please help.... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
zigver Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/10906098964384e511bf62a.png)
Joined: 09 May 2003 Posts: 87
|
Posted: Tue Nov 29, 2005 7:17 am Post subject: |
|
|
shrndegruv wrote: | zigver
can you be more specific as to what I have done incorrectly? That thread is for a wpa encrypted wireless netty -- I have straight up WEP (are they the same?). |
Sorry about that, I only tried getting WEP to work once about a year ago and wasn't successful. However, WPA-PSK setup is a breeze. Are you able to use it instead? I think WEP can be pretty touchy. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
zigver Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/10906098964384e511bf62a.png)
Joined: 09 May 2003 Posts: 87
|
Posted: Tue Nov 29, 2005 7:37 am Post subject: |
|
|
Also, have you tried using hex instead of ascii in the config?
Code: |
wpa_passphrase [ ssid ] [ passphrase ]
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
shrndegruv l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/gallery/Zelda/Zelda_-_Link.jpg)
Joined: 18 Sep 2005 Posts: 658
|
Posted: Tue Nov 29, 2005 12:42 pm Post subject: |
|
|
It does not appear my router (Netgear B -- no G) has the option for WPA. I tried putting the hex in the conf file, both with and without 0x prepended, and when I do wpa_supplicant errors out about an invalid key. Do I have to use a tool other than wpa_supplicant? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
zigver Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/10906098964384e511bf62a.png)
Joined: 09 May 2003 Posts: 87
|
Posted: Tue Nov 29, 2005 4:57 pm Post subject: |
|
|
shrndegruv wrote: | It does not appear my router (Netgear B -- no G) has the option for WPA. I tried putting the hex in the conf file, both with and without 0x prepended, and when I do wpa_supplicant errors out about an invalid key. Do I have to use a tool other than wpa_supplicant? |
Did you remove the quote marks from around the hex key? I believe quotes are for the ASCII key and are omitted for a key in hex. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
tutaepaki Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 11 Nov 2003 Posts: 279 Location: New Zealand
|
Posted: Tue Nov 29, 2005 9:20 pm Post subject: |
|
|
Code: | network={
ssid="mySSID"
scan_ssid=0
key_mgmt=NONE
wep_key0=myhexwepkey
wep_tx_keyidx=0
}
|
This is what works for me in the same scenario. (WEP only, no broadcast SSID)
Note that the hex wep key is NOT preceeded by 0x, no quotes either. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|