#682: WEP encryption does not work
----------------------------------------+-----------------------------------
Reporter: [EMAIL PROTECTED] | Owner:
Type: defect | Status: new
Priority: major | Milestone:
Component: madwifi: other | Version:
Resolution: | Keywords: wep
Patch_attached: 0 |
----------------------------------------+-----------------------------------
Comment (by [EMAIL PROTECTED]):
Attached you will find the contents of my messages log file with all the
debugging information turned on. I hope you will find it useful. It's
quite verbose.
Attached (and pasted below) is my wifi startup script. My essid and key
have been removed for security reasons. If you need them, I will send
them.
Pasted below is the contents of my messages log file without all the debug
information. I suspect that I associated with the AP, but when I try to
assign an IP address either manually or via DHCP, it fails. It just
fails, and I don't know why. The messages log file doesn't contain any
output from the madwifi commands, just the dhclient command.
As I previously mentioned, if I changed the Authentication mode to "Open
System", it all works. However, if I leave it as "Shared Key", it fails.
I've been told that "Open" is more more secure, and the reading that I did
seems to back that up. However, from a curiousity standpoint I'd still
like to know why it fails with "Shared key".
Oh, please also note that I do not broadcast my essid. I don't think I
mentioned that earlier.
{{{
wifi startup script:
--------------------
#!/bin/sh
modprobe ath_pci
ifconfig eth0 down
ifconfig ath0 down
ifconfig ath0 up
iwconfig ath0 mode managed
iwconfig ath0 ap 00:0D:88:98:21:30
iwconfig ath0 essid (my essid)
iwconfig ath0 channel 06
iwconfig ath0 key restricted
iwconfig ath0 key on
iwconfig ath0 key (my 128 bit hex key)
#ifconfig ath0 172.16.12.13 netmask 255.255.255.0 up
#route add default gw 172.16.12.100
dhclient ath0
messages log info without all the debug info:
---------------------------------------------
Jun 11 22:26:19 localhost dhclient: Internet Systems Consortium DHCP
Client V3.0.3-RedHat
Jun 11 22:26:19 localhost dhclient: Copyright 2004-2005 Internet Systems
Consortium.
Jun 11 22:26:19 localhost dhclient: All rights reserved.
Jun 11 22:26:19 localhost dhclient: For info, please visit
http://www.isc.org/products/DHCP
Jun 11 22:26:19 localhost dhclient:
Jun 11 22:26:19 localhost dhclient: wifi0: unknown hardware address type
801
Jun 11 22:26:19 localhost dhclient: wifi0: unknown hardware address type
801
Jun 11 22:26:19 localhost dhclient: Listening on
LPF/ath0/00:40:05:54:78:7f
Jun 11 22:26:19 localhost dhclient: Sending on
LPF/ath0/00:40:05:54:78:7f
Jun 11 22:26:19 localhost dhclient: Sending on Socket/fallback
Jun 11 22:26:19 localhost dhclient: DHCPREQUEST on ath0 to 255.255.255.255
port 67
Jun 11 22:26:25 localhost dhclient: DHCPREQUEST on ath0 to 255.255.255.255
port 67
Jun 11 22:26:36 localhost dhclient: DHCPDISCOVER on ath0 to
255.255.255.255 port 67 interval 4
Jun 11 22:26:40 localhost dhclient: DHCPDISCOVER on ath0 to
255.255.255.255 port 67 interval 9
Jun 11 22:26:49 localhost dhclient: DHCPDISCOVER on ath0 to
255.255.255.255 port 67 interval 13
Jun 11 22:27:02 localhost dhclient: DHCPDISCOVER on ath0 to
255.255.255.255 port 67 interval 20
Jun 11 22:27:22 localhost dhclient: DHCPDISCOVER on ath0 to
255.255.255.255 port 67 interval 15
Jun 11 22:27:37 localhost dhclient: No DHCPOFFERS received.
Jun 11 22:27:37 localhost dhclient: Trying recorded lease 172.16.12.9
}}}
--
Ticket URL: <http://madwifi.org/ticket/682>
MadWifi <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity_______________________________________________
Madwifi-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/madwifi-tickets