maximilian attems a écrit :
On Sun, Feb 03, 2008 at 12:02:03AM +0100, root wrote:
With dhcp server, the iwl3945 module doesn't accept dhcp request (D-Ling WRT54G 
with OpenWRT/White Russian 0.9).
Previous ipw3945 modules with 2.6.[..|22|23] kernel version are working perfectly.

show relevant tcpdump please.
See below logs: as wlan doesn't have IP, tcpdump failed, even after having setted a fixed IP with ifconfig up.
also latest trunk has newer iwlwifi, try it out.
-> http://wiki.debian.org/DebianKerne
The below logs are the results with a kernel 2.6.24-trunk-amd64. Please note this in dhcp request:

[...]
wmaster0: unknown hardware address type 801
wmaster0: unknown hardware address type 801
[...]

Here are the relevant outputs:

[EMAIL PROTECTED]:~$ uname -a
Linux listryx 2.6.24-trunk-amd64 #1 SMP Sat Feb 2 03:56:10 UTC 2008 x86_64 GNU/Linux

[EMAIL PROTECTED]:~$ lsmod|grep iwl
iwl3945                99956  0
mac80211              146064  1 iwl3945
firmware_class         15232  2 iwl3945,pcmcia
[EMAIL PROTECTED]:~$ lsmod|grep 80211
mac80211              146064  1 iwl3945
cfg80211               25616  1 mac80211

0b:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)
       Subsystem: Intel Corporation Unknown device 1021
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
   Latency: 0, Cache Line Size: 64 bytes
   Interrupt: pin A routed to IRQ 1277
   Region 0: Memory at efdff000 (32-bit, non-prefetchable) [size=4K]
   Capabilities: [c8] Power Management version 2
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
   Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [d0] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable+
   Address: 00000000fee0300c  Data: 41a1
   Capabilities: [e0] Express (v1) Legacy Endpoint, MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <512ns, L1 unlimited
   ExtTag- AttnBtn- AttnInd- PwrInd- RBE- FLReset-
   DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
   RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
   MaxPayload 128 bytes, MaxReadReq 128 bytes
   DevSta: CorrErr- UncorrErr+ FatalErr- UnsuppReq+ AuxPwr+ TransPend-
LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0 <128ns, L1 <64us
   ClockPM+ Suprise- LLActRep- BwNot-
   LnkCtl: ASPM L1 Enabled; RCB 64 bytes Disabled- Retrain- CommClk+
   ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
   Capabilities: [100] Advanced Error Reporting <?>
   Capabilities: [140] Device Serial Number 65-3a-3d-ff-ff-d2-19-00
   Kernel driver in use: iwl3945
   Kernel modules: iwl3945

[EMAIL PROTECTED]:~$ sudo ifup wlan0
[sudo] password for dh:
Internet Systems Consortium DHCP Client V3.1.0
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

wmaster0: unknown hardware address type 801
wmaster0: unknown hardware address type 801
Listening on LPF/wlan0/00:19:d2:3d:3a:65
Sending on   LPF/wlan0/00:19:d2:3d:3a:65
Sending on   Socket/fallback
option_space_encapsulate: option space agent does not exist, but is configured.
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
if-up.d/mountnfs[wlan0]: waiting for interface eth0 before doing NFS mounts
if-up.d/mountnfs[wlan0]: waiting for interface eth2 before doing NFS mounts

[EMAIL PROTECTED]:~$ sudo tcpdump wlan0
tcpdump: WARNING: wmaster0: no IPv4 address assigned
tcpdump: syntax error

[EMAIL PROTECTED]:~$ sudo ifconfig wlan0 192.168.10.140 up

[EMAIL PROTECTED]:~$ sudo ifconfig
lo  Link encap:Boucle locale
   inet adr:127.0.0.1  Masque:255.0.0.0
   adr inet6: ::1/128 Scope:Hôte
   UP LOOPBACK RUNNING  MTU:16436  Metric:1
   RX packets:360 errors:0 dropped:0 overruns:0 frame:0
   TX packets:360 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 lg file transmission:0
   RX bytes:69373 (67.7 KiB)  TX bytes:69373 (67.7 KiB)
wlan0 Link encap:Ethernet HWaddr 00:19:d2:3d:3a:65
   inet adr:192.168.10.140  Bcast:192.168.10.255  Masque:255.255.255.0
   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 lg file transmission:1000
   RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
wmaster0 Link encap:UNSPEC HWaddr 00-19-D2-3D-3A-65-00-00-00-00-00-00-00-00-00-00
   UP BROADCAST RUNNING 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 lg file transmission:1000
   RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

[EMAIL PROTECTED]:~$ ping 192.168.10.1
PING 192.168.10.1 (192.168.10.1) 56(84) bytes of data.
From 192.168.10.140 icmp_seq=1 Destination Host Unreachable
From 192.168.10.140 icmp_seq=2 Destination Host Unreachable
From 192.168.10.140 icmp_seq=3 Destination Host Unreachable
From 192.168.10.140 icmp_seq=5 Destination Host Unreachable
From 192.168.10.140 icmp_seq=6 Destination Host Unreachable
From 192.168.10.140 icmp_seq=7 Destination Host Unreachable

[EMAIL PROTECTED]:~$ sudo tcpdump wlan0
tcpdump: WARNING: wmaster0: no IPv4 address assigned
tcpdump: syntax error
--
Daniel


Reply via email to