[Click] madwifi-BSD ath0raw problem

Daniel Henkel henk at gmx.com
Fri Jul 1 13:19:22 EDT 2005


Hi folks,

I've tried to switch over from madwifi.stripped to madwifi-bsd branch,
but I can't even get the /conf/wifi/pseudo-ibss.click to work. It
seems as if the packets get mangled while capturing from the ath0raw
interface. Outgoing packets look fine, but the incoming packets look
mangled.

Here a ping from 6.0.0.2 to 6.0.0.1 - Print()s

Outgoing packet after RadiotapEncap (looks ok):
out3:   72 | 00000c00 04040300 023f000b 08000000 ffffffff ffff0002
6f21fd83 00000000 00000000 aaaa0300 00000806 00010800 06040001
00026f21 fd830600 00020000 00000000 06000001

Incoming packet after FromDevice (frame body looks mangled):
in1:   77 | 00001200 0e580000 10029909 e0000139 00008000 0000ffff
ffffffff 00026f21 fd830202 6f21fd83 40d44192 c5979211 00006400
22000004 74657374 01048284 0b160301 0a060200 008af7b6 e3  

The same test with madwifi.stripped works well:

Outgoing after ExtraEncap:
out3:   84 | 01204907 00000000 00003f00 02000000 0c000000 00000000
08000000 ffffffff ffff0002 6f21fd83 00000000 00000000 aaaa0300
00000806 00010800 06040001 00026f21 fd830600 00020000 00000000
06000001   

Incoming after FromDevice:
in1:   84 | 01204907 00000000 3a000000 02000000 00000000 00000000
08000000 ffffffff ffff0002 6f21fd83 00000000 0000b02b aaaa0300
00000806 00010800 06040001 00026f21 fd830600 00020000 00000000
06000001   

Has anyone had this problem before? Any hints?

Thanks,
- Daniel.

PS: Just in case, here my iwconfig and ifconfig

Warning: Driver for device ath0 has been compiled with version 16
of Wireless Extension, while this program is using version 15.
Some things may be broken...

ath0raw   no wireless extensions.

safe      no wireless extensions.

ath0      IEEE 802.11b  ESSID:"test"  
          Mode:Ad-Hoc  Frequency:2.457GHz  Cell: 02:02:6F:21:DE:8B  
          Bit Rate=2Mb/s   Tx-Power:18 dBm   Sensitivity=0/0  
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:36/0  Signal level:-59 dBm  Noise level:-95 dBm
          Rx invalid nwid:303  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:6  Invalid misc:6   Missed beacon:0

-------

ath0      Link encap:Ethernet  HWaddr 00:02:6F:21:FD:83
          inet addr:192.168.0.5  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:2034  Metric:1
          RX packets:39 errors:11520 dropped:0 overruns:0 frame:11520
          TX packets:10 errors:6 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:200 
          RX bytes:4334 (4.2 KiB)  TX bytes:840 (840.0 b)
          Interrupt:11 Memory:c4870000-c4880000 

ath0raw   Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          UP BROADCAST RUNNING NOARP  MTU:2312  Metric:1
          RX packets:39 errors:11520 dropped:0 overruns:0 frame:11520
          TX packets:10 errors:6 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:200 
          RX bytes:4334 (4.2 KiB)  TX bytes:840 (840.0 b)

eth0      Link encap:Ethernet  HWaddr 00:00:24:C1:8A:F8  
          inet addr:172.30.189.106  Bcast:172.30.189.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4596 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2209 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:469010 (458.0 KiB)  TX bytes:234131 (228.6 KiB)
          Interrupt:5 Base address:0x9000 

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

safe      Link encap:Ethernet  HWaddr 00:02:6F:21:FD:83  
          inet addr:6.0.0.2  Bcast:6.255.255.255  Mask:255.0.0.0
          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 txqueuelen:1000 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

.....
Interdisciplinary Telecommunications Program
University of Colorado at Boulder
http://AUGNet.colorado.edu





More information about the click mailing list