wifi help need w/ WEP encryption

From: Proteus (proteus_at_uselessemail.net)
Date: 11/21/05


Date: Sun, 20 Nov 2005 19:15:31 -0600

Any help appreciated. I can not get WEP encryption to work under Linux
(Mandriva LE2005) with my PCI wifi modem (ZyXEL ZyAIR G-300, which states
on the box "Great security with 64/128 bits WEP and Wi-Fi WPA). Of course
I would prefer WPA, but I will take WEP 64 bit at this point in time. WEP
64-bit works great with WindowsXP, so I know the router and modem are
capable of doing this. Without encryption, the wifi modem works great
under linux.

I have triple-checked the 10 digit (64bit) hex code of the router. Here
below is the output of ifconfig, iwconfig, lspci, /var/log/messages. What
more can I do? Perhaps WEP is just not possible under Linux with this
modem?

I am using a linuxant.com driver; I am open to trying some other
driver (tried Mandriva ndiswrapper before linuxant and could not get that
to work, but I believe I once heard of a more specific ndiswrapper site
with better drivers, not sure where that is?)

######################################
# Wireless encryption OFF on router #
# Able to open browser / surf net #
######################################

[root@localhost beowulf]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:A0:C5:B2:18:FA
          inet addr:192.168.1.104 Bcast:192.168.1.255 Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:58 errors:0 dropped:0 overruns:0 frame:0
          TX packets:77 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:38652 (37.7 Kb) TX bytes:6597 (6.4 Kb)

eth1 Link encap:Ethernet HWaddr 00:0D:88:26:F4:5A
          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:16 Base address:0xcf00

lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          UP LOOPBACK RUNNING MTU:16436 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:0
          RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

[root@localhost beowulf]# iwconfig
lo no wireless extensions.

eth1 no wireless extensions.

eth0 IEEE 802.11g ESSID:"fragzone" Nickname:"localhost"
          Mode:Managed Frequency:2.412 GHz Access Point: 00:0F:66:56:6F:51
          Bit Rate=11 Mb/s
          RTS thr:off Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=94/94 Signal level=-40 dBm Noise level=-154 dBm
          Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
          Tx excessive retries:0 Invalid misc:55 Missed beacon:0

######################################
# Wireless encryption ON on router #
# WEP 64-bit encryption turned ON #
######################################
# No web browser functioning now #
# since wifi WEP encryption is ON #
# in router but not with wifi eth0 #
######################################
[root@localhost beowulf]# ifdown eth0
[root@localhost beowulf]# ifconfig
eth1 Link encap:Ethernet HWaddr 00:0D:88:26:F4:5A
          inet6 addr: fe80::20d:88ff:fe26:f45a/64 Scope:Link
          UP BROADCAST MULTICAST MTU:1500 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b) TX bytes:378 (378.0 b)
          Interrupt:16 Base address:0xcf00

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:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

sit0 Link encap:IPv6-in-IPv4
          inet6 addr: ::192.168.1.104/96 Scope:Compat
          inet6 addr: ::127.0.0.1/96 Scope:Unknown
          UP RUNNING NOARP MTU:1480 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:0
          RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

[root@localhost beowulf]# iwconfig
lo no wireless extensions.

eth1 no wireless extensions.

eth0 IEEE 802.11g ESSID:"fragzone" Nickname:"localhost"
          Mode:Managed Frequency:2.412 GHz Access Point: 00:0F:66:56:6F:51
          Bit Rate=11 Mb/s
          RTS thr:off Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=4/94 Signal level=-75 dBm Noise level=-154 dBm
          Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
          Tx excessive retries:0 Invalid misc:163 Missed beacon:0

sit0 no wireless extensions.

[root@localhost beowulf]# ifup eth0
Determining IP information for eth0... failed.

######################################
# Wireless encryption ON on router #
# WEP 64-bit encryption turned ON #
######################################
# Attempting to add WEP on wifi eth0 #
######################################
# Passphrase theraininspain used for #
# 64bit WEP, key 1 of 4 gives the hex#
# key of 609ADD2C2A as 10 digit key #
######################################

[root@localhost beowulf]# iwconfig eth0 key 609ADD2C2A
[root@localhost beowulf]# iwconfig
lo no wireless extensions.

eth1 no wireless extensions.

eth0 IEEE 802.11g ESSID:"fragzone" Nickname:"localhost"
          Mode:Managed Frequency:2.412 GHz Access Point: 00:0F:66:56:6F:51
          Bit Rate=11 Mb/s
          RTS thr:off Fragment thr:off
          Encryption key:609A-DD2C-2A
          Power Management:off
          Link Quality=54/94 Signal level=-46 dBm Noise level=-154 dBm
          Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
          Tx excessive retries:0 Invalid misc:114 Missed beacon:0

sit0 no wireless extensions.

[root@localhost beowulf]# ifup eth0
Determining IP information for eth0... failed.

[root@localhost beowulf]# iwconfig eth0 key open
[root@localhost beowulf]# iwconfig
lo no wireless extensions.

eth1 no wireless extensions.

eth0 IEEE 802.11g ESSID:"fragzone" Nickname:"localhost"
          Mode:Managed Frequency:2.412 GHz Access Point: 00:0F:66:56:6F:51
          Bit Rate=11 Mb/s
          RTS thr:off Fragment thr:off
          Encryption key:609A-DD2C-2A Security mode:open
          Power Management:off
          Link Quality=60/94 Signal level=-45 dBm Noise level=-154 dBm
          Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
          Tx excessive retries:0 Invalid misc:123 Missed beacon:0

sit0 no wireless extensions.

[root@localhost beowulf]# ifup eth0
Determining IP information for eth0... failed.

[root@localhost beowulf]# iwconfig eth0 key restricted
[root@localhost beowulf]# ifup eth0
Determining IP information for eth0... failed.

######################################
# Complete reboot=> still no eth0 #
######################################

[root@localhost beowulf]# ifup eth0
Determining IP information for eth0... failed.

######################################
# lspci #
######################################
[root@localhost beowulf]# lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333]
00:01.0 PCI bridge: VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333 AGP]
00:07.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 0a)
00:07.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 0a)
00:08.0 Network controller: Intersil Corporation Intersil ISL3890 [Prism GT/Prism Duette] (rev 01)
00:09.0 Ethernet controller: D-Link System Inc RTL8139 Ethernet (rev 10)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8233 PCI to ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:11.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1b)
00:11.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1b)
00:11.4 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1b)
01:00.0 VGA compatible controller: nVidia Corporation NV18 [GeForce4 MX 4000 AGP 8x] (rev c1)

######################################
# tail -f /var/log//messages #
######################################

[root@localhost beowulf]# tail -f /var/log//messages
Nov 20 18:53:08 localhost gconfd (beowulf-6753): Resolved address "xml:readonly:
/etc/gconf/gconf.xml.mandatory" to a read-only configuration source at position
0
Nov 20 18:53:08 localhost gconfd (beowulf-6753): Resolved address "xml:readwrite
:/home/beowulf/.gconf" to a writable configuration source at position 1
Nov 20 18:53:08 localhost gconfd (beowulf-6753): Resolved address "xml:readonly:
/etc/gconf/gconf.xml.defaults" to a read-only configuration source at position 2
Nov 20 18:53:09 localhost dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port
 67 interval 4
Nov 20 18:53:13 localhost dhclient: No DHCPOFFERS received.
Nov 20 18:53:13 localhost dhclient: Trying recorded lease 192.168.1.104
Nov 20 18:53:16 localhost kernel: eth0: New link status: Disconnected (0002)
Nov 20 18:53:18 localhost kernel: eth0: New link status: Connected (0001)
Nov 20 18:54:51 localhost su(pam_unix)[6854]: authentication failure; logname= u
id=500 euid=0 tty= ruser=beowulf rhost= user=root
Nov 20 18:55:00 localhost su(pam_unix)[6855]: session opened for user root by (u
id=500)

######################################
# Wireless encryption OFF on router #
######################################

[root@localhost beowulf]# iwconfig eth0 enc off
[root@localhost beowulf]# iwconfig
lo no wireless extensions.

eth1 no wireless extensions.

eth0 IEEE 802.11g ESSID:"fragzone" Nickname:"localhost"
          Mode:Managed Frequency:2.412 GHz Access Point: 00:0F:66:56:6F:51
          Bit Rate=11 Mb/s
          RTS thr:off Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=65/94 Signal level=-44 dBm Noise level=-154 dBm
          Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
          Tx excessive retries:0 Invalid misc:186 Missed beacon:0

sit0 no wireless extensions.

[root@localhost beowulf]# ifup eth0

Determining IP information for eth0... done.
[root@localhost beowulf]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:A0:C5:B2:18:FA
          inet addr:192.168.1.104 Bcast:192.168.1.255 Mask:255.255.255.0
          inet6 addr: fe80::2a0:c5ff:feb2:18fa/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:93 errors:0 dropped:0 overruns:0 frame:0
          TX packets:95 errors:1 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:50450 (49.2 Kb) TX bytes:11164 (10.9 Kb)

eth1 Link encap:Ethernet HWaddr 00:0D:88:26:F4:5A
          inet6 addr: fe80::20d:88ff:fe26:f45a/64 Scope:Link
          UP BROADCAST MULTICAST MTU:1500 Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b) TX bytes:378 (378.0 b)
          Interrupt:16 Base address:0xcf00

lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host