Planet PCMCIA WiFi card can't change WEP key set
I am using iwconfig to do the configuration and at the same time I have set some settings in script/start_net. But after tries also can't get logon to the AP.
After a check with "iwlist wlan0 encryption" noticed that the key it uses is wrong. My AP uses key number 3 but no matter how I tried to change the settings, it only uses the first key (WEP key-set #1). Please, anybody knows how to fix this? BTW what is this error "SIOCADDRT: File exists" means? Should I do something to solve this as well? It appears during the time I start the wlan0 interface. Here's the message that I got when starting up the wlan0: [root@localhost scripts]# ./start_net wlan0: unknown interface: No such device wlan0 deconfigured, module unloaded. Module successfully inserted. Setting rate to 11M. Setting channel 1. Trying to join or setup ESSID LSMNET. Setting mode to Managed. Setting key to 11113333ad, algorithm restricted. Interface has been set up successfully. SIOCADDRT: File exists [root@localhost scripts]# here's message from iwconfig: wlan0 IEEE 802.11b+ ESSID:"WIFINET" Nickname:"acx100 v0.2.0pre8" Mode:Managed Channel:1 Access Point: 00:00:00:00:00:00 Bit Rate=11Mb/s Tx-Power:20 dBm Sensitivity=176/255 Retry min limit:5 RTS thr:off Encryption key:1111-3333-AD Security mode:restricted Power Management:off Link Quality:100/100 Signal level:45/100 Noise level:0/100 Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0 here's message from iwlist: [root@localhost scripts]# iwlist wlan0 encryption wlan0 3 key sizes : 40, 104, 232bits 4 keys available : [1]: 1111-3333-AD (40 bits) [2]: 1111-3333-AD (40 bits) [3]: 1111-3333-AD (40 bits) [4]: 1111-3333-AD (40 bits) Current Transmit Key: [1] <----I think this is the key of my problem... Security mode:restricted [root@localhost scripts]# ############################################### WiFi card details: Planet WL-3555 PCMCIA IEEE802.11b+ Driver uses: acx100-0.2.0pre8 ############################################### |
nobody could give a hand?
|
SIOCADDRT: File exists
"SIOCADDRT: File exists" means that your script tries to configure the gateway while it is already configured (by another net interface).
I suppose that you can just comment the "GATEWAY=" line in your start_net script. Pierre |
All times are GMT -5. The time now is 03:47 PM. |