#1785: DHCP not working when using WEP encryption.
------------------------------------+---------------------------------------
Reporter: [EMAIL PROTECTED] | Type: defect
Status: new | Priority: minor
Component: madwifi: other | Version: trunk
Keywords: DHCP, WEP | Patch_attached: 0
------------------------------------+---------------------------------------
I just got an ASUS C90S notebook, which has a AR5008X (AR5418) wifi chip.
It runs Ubuntu 7.10.
I followed the instructions on the Ubuntu site for Macbook C2D notebooks,
as they seemed to have the same support issue with this chip. I downloaded
the SVN version of madwifi r3346 as far as I can tell. Now the wireless
card connects well (including obaining an address with DHCP) but only when
I'm not using any encryption on the AP.
As soon as I switch on WEP encryption, the card can associate with the
wep-key, but doesn't get an address anymore when using DHCP.
Sounds like a familiar problem, but I haven't been able to find the exact
same problem in the exising and closed tickets. Problem is that there
doesn't seem to be going anything wrong, but DHCP persistently refuses to
get an IP address. I've listed some stats below. Any idea what this could
be? If more details would help, please let me know ..
{{{
[EMAIL PROTECTED]:~$ lspci
00:00.0 Host bridge: Intel Corporation 82945G/GZ/P/PL Memory Controller
Hub (rev 02)
00:01.0 PCI bridge: Intel Corporation 82945G/GZ/P/PL PCI Express Root Port
(rev 02)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High
Definition Audio Controller (rev 01)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express
Port 1 (rev 01)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express
Port 2 (rev 01)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express
Port 3 (rev 01)
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express
Port 4 (rev 01)
00:1c.4 PCI bridge: Intel Corporation 82801GR/GH/GHM (ICH7 Family) PCI
Express Port 5 (rev 01)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI
Controller #1 (rev 01)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI
Controller #2 (rev 01)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI
Controller #3 (rev 01)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI
Controller #4 (rev 01)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI
Controller (rev 01)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev e1)
00:1f.0 ISA bridge: Intel Corporation 82801GB/GR (ICH7 Family) LPC
Interface Bridge (rev 01)
00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family) SATA
IDE Controller (rev 01)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller
(rev 01)
01:00.0 VGA compatible controller: nVidia Corporation GeForce 8600M GT
(rev a1)
02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8056 PCI-E
Gigabit Ethernet Controller (rev 12)
03:00.0 SATA controller: JMicron Technologies, Inc. JMicron 20360/20363
AHCI Controller (rev 02)
05:00.0 Network controller: Atheros Communications, Inc. AR5418
802.11a/b/g/n Wireless PCI Express Adapter (rev 01)
08:01.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller
(rev 05)
08:01.1 Generic system peripheral [0805]: Ricoh Co Ltd R5C822
SD/SDIO/MMC/MS/MSPro Host Adapter (rev 22)
08:01.2 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev
12)
08:01.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host
Adapter (rev 12)
08:01.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev
12)
[EMAIL PROTECTED]:~$
}}}
dmesg:
{{{
[ 28.539907] ath_hal: module license 'Proprietary' taints kernel.
[ 28.540419] ath_hal: 0.9.30.13 (AR5210, AR5211, AR5212, AR5416, RF5111,
RF5112, RF2413, RF5413, RF2133)
[ 28.560706] Bluetooth: Core ver 2.11
[ 28.560738] NET: Registered protocol family 31
[ 28.560739] Bluetooth: HCI device and connection manager initialized
[ 28.560741] Bluetooth: HCI socket layer initialized
[ 28.607084] Bluetooth: HCI USB driver ver 2.9
[ 28.611229] usbcore: registered new interface driver hci_usb
[ 28.705687] wlan: svn r
[ 28.754296] ath_pci: svn r
[ 28.754341] ACPI: PCI Interrupt 0000:05:00.0[A] -> GSI 17 (level, low)
-> IRQ 17
[ 28.754352] PCI: Setting latency timer of device 0000:05:00.0 to 64
[ 28.878692] MadWifi: ath_attach: Switching rfkill capability off
[ 28.898444] sdhci: Secure Digital Host Controller Interface driver
[ 28.898445] sdhci: Copyright(c) Pierre Ossman
[ 28.956906] ath_rate_sample: 1.2 (svn r)
[ 28.956988] MadWifi: ath_attach: Switching per-packet transmit power
control off
[ 28.957080] wifi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps
48Mbps 54Mbps
[ 28.957086] wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
[ 28.957089] wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps
12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
[ 28.957095] wifi0: turboA rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps
36Mbps 48Mbps 54Mbps
[ 28.957099] wifi0: turboG rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps
36Mbps 48Mbps 54Mbps
[ 28.957104] wifi0: H/W encryption support: WEP AES AES_CCM TKIP
[ 28.957109] wifi0: ath_announce: Use hw queue 1 for WME_AC_BE traffic
[ 28.957111] wifi0: ath_announce: Use hw queue 0 for WME_AC_BK traffic
[ 28.957112] wifi0: ath_announce: Use hw queue 2 for WME_AC_VI traffic
[ 28.957114] wifi0: ath_announce: Use hw queue 3 for WME_AC_VO traffic
[ 28.957115] wifi0: ath_announce: Use hw queue 8 for CAB traffic
[ 28.957117] wifi0: ath_announce: Use hw queue 9 for beacons
[ 29.272672] ath_pci: wifi0: Atheros 5418: mem=0xf7ff0000, irq=17
}}}
associate:
{{{
[EMAIL PROTECTED]:~$ sudo iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wifi0 no wireless extensions.
wlan0 IEEE 802.11b ESSID:"vanDale" Nickname:"vanDale"
Mode:Managed Frequency:2.437 GHz Access Point:
00:04:E2:A2:55:50
Bit Rate:1 Mb/s Tx-Power:14 dBm Sensitivity=1/1
Retry:off RTS thr:off Fragment thr:off
Encryption key:EF1A-5948-A09C-4F2F-D198-ECE2-5B Security
mode:restricted
Power Management:off
Link Quality=51/70 Signal level=-47 dBm Noise level=-98 dBm
Rx invalid nwid:1241 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
}}}
{{{
[EMAIL PROTECTED]:~$ lsmod | grep -e wlan -e ath
wlan_wep 8064 1
wlan_scan_sta 15104 1
ath_rate_sample 15616 1
ath_pci 199468 0
wlan 251248 5
wlan_wep,wlan_scan_sta,ath_rate_sample,ath_pci
ath_hal 233952 3 ath_rate_sample,ath_pci
[EMAIL PROTECTED]:~$
}}}
athstats (interval: 5) when associating and dhcp-request:
{{{
input output altrate short long xretry crcerr crypt phyerr
rssi rate
336 286 0 0 0 0 0 0 0
0 0M
0 0 0 0 0 0 0 0 0
0 0M
0 0 0 0 0 0 0 0 0
0 0M
0 0 0 0 0 0 0 0 0
0 0M
0 0 0 0 0 0 0 0 0
0 0M
14 22 0 0 0 0 0 0 0
0 0M
8 38 0 0 0 0 0 0 0
0 0M
547 541 0 0 0 0 1 0 0
46 0M
1771 1725 0 0 2 0 0 0 0
49 0M
1772 1723 0 0 0 0 0 0 0
48 0M
1774 1725 0 0 0 0 0 0 0
46 0M
1773 1725 0 0 1 0 0 0 0
47 0M
1773 1724 0 0 0 0 0 0 0
48 0M
1770 1722 0 0 1 0 0 0 0
45 0M
1769 1723 0 0 2 0 0 0 0
49 0M
1773 1725 0 0 1 0 0 0 0
48 0M
}}}
the dhcp request itself:
{{{
[EMAIL PROTECTED]:~$ sudo dhclient wlan0
Internet Systems Consortium DHCP Client V3.0.5
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit youknowwhere
wifi0: unknown hardware address type 801
wifi0: unknown hardware address type 801
Listening on LPF/wlan0/00:15:af:4e:68:1a
Sending on LPF/wlan0/00:15:af:4e:68:1a
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
}}}
--
Ticket URL: <http://madwifi.org/ticket/1785>
madwifi.org <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Madwifi-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/madwifi-tickets