1 |
> > I've been using wpa_supplicant to connect to my Gentoo router, and I'm |
2 |
> > wondering if I can use wireless-tools instead. I have the following |
3 |
> > /etc/conf.d/net: |
4 |
> > |
5 |
> > config_ath0="192.168.0.2 broadcast 192.168.0.255 netmask 255.255.255.0" |
6 |
> > routes_ath0="default via 192.168.0.1" |
7 |
> > essid_ath0="mynetwork" |
8 |
> > channel_ath0="11" |
9 |
> > iwpriv_ath0=( "wpa 1" ) |
10 |
> > key_mynetwork="s:mykey" |
11 |
> > |
12 |
> > /etc/init.d/net.ath0 returns no errors, has all the right output, and |
13 |
> > my PCMCIA card's LEDs are blinking like they are connected, but I |
14 |
> > can't ping the router. I get "Destination Host Unreachable". If I |
15 |
> > switch back to wpa_supplicant it works perfectly. I did notice, |
16 |
> > however, that intentionally submitting the wrong password with |
17 |
> > wireless-tools has the same effect. |
18 |
> > |
19 |
> > Can anyone help? |
20 |
> > |
21 |
> > - Grant |
22 |
> |
23 |
> The only time I've run into that problem is when I've used "s:somekey" |
24 |
> when the router was expecting a 64 bit hex. |
25 |
|
26 |
I tried changing the router's hostapd.conf and the laptop's |
27 |
/etc/conf.d/net to use a 64-bit hex but I get this: |
28 |
|
29 |
* Stopping ath0 |
30 |
* Bringing down ath0 |
31 |
* Shutting down ath0 ... [ ok ] |
32 |
* Starting ath0 |
33 |
* Configuring wireless network for ath0 |
34 |
Error for wireless request "Set Encode" (8B2A) : |
35 |
SET failed on device ath0 ; Invalid argument. |
36 |
* ath0 does not support setting keys |
37 |
* or the parameter "mac_key_network2" or "key_network2" is incorrect |
38 |
* Failed to configure wireless for ath0 |
39 |
|
40 |
- Grant |
41 |
-- |
42 |
gentoo-user@g.o mailing list |