Quote:
Originally posted by snecklifter
Can you post your ifconfig output. You might be trying to configure a wired interface.
I'm fairly sure
# iwconfig eth1 key [1] "ABC"
is not the way to set wep encryption.
|
Thanks for your reply
This computer has the following configuration:
eth0 - Wired ethernet connection - unplugged right now
eth1 - Wireless connection, through Intel's 2200 BG - not working, the one I am trying to fix
eth3 - Wireless connection, through PCMCIA, working (connected right now)
All righty -- I have the following results:
# ifconfig
eth0 Link encap:Ethernet HWaddr 00:02:3F:6F:EF:66
inet6 addr: fe80::202:3fff:fe6f:ef66/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:10 Base address:0x8000
eth3 Link encap:Ethernet HWaddr 00:90:4B:00:DA:4D
inet addr:192.168.123.130 Bcast:192.168.123.255 Mask:255.255.255.0
inet6 addr: fe80::290:4bff:fe00:da4d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:89 errors:0 dropped:0 overruns:0 frame:0
TX packets:84 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:10138 (9.9 Kb) TX bytes:13221 (12.9 Kb)
Interrupt:5 Base address:0x100
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:168 errors:0 dropped:0 overruns:0 frame:0
TX packets:168 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:12464 (12.1 Kb) TX bytes:12464 (12.1 Kb)
# iwconfig eth1
eth1 unassociated ESSID:off/any
Mode:Managed Channel=0 Access Point: 00:00:00:00:00:00
Bit Rate=0kb/s
RTS thr:off
Encryption key:off
Power Management:off
# iwconfig eth3
eth3 IEEE 802.11-DS ESSID:"my ESSID" Nickname:"nick"
Mode:Managed Frequency:2.437GHz Access Point: 00:50:18:09:C0:40
Bit Rate:11Mb/s Tx-Power=15 dBm Sensitivity:1/3
Retry min limit:8 RTS thr:off Fragment thr:off
Encryption key:XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XX Security mode:open
Power Management:off
Link Quality:32/92 Signal level:-98 dBm Noise level:-149 dBm
Rx invalid nwid:0 Rx invalid crypt:1 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
And below, a copy-and-paste of iwconfig's man page (regarding setting keys on cards that support multiple keys)
key/enc[ryption]
(...) To set a key other
than the current key, prepend or append [index] to the key
itself (this won't change which is the active key). (...)
Examples :
(...)
iwconfig eth0 key [3] 0123-4567-89
And as far as iwlist reports, eth1 supports 4 keys and 2 key sizes
eth1 2 key sizes : 40, 104bits
4 keys available :
[1]: off
[2]: off
[3]: off
[4]: off
Current Transmit Key: [0]