[Click] click configuration problem

John Bicket jbicket at amsterdam.lcs.mit.edu
Sun Jul 31 16:37:28 EDT 2005


Hi Vaibhave,


It looks like everything works when you use madwifi-BSD. Actually, the
madwifi-BSD branch was merged back into the main branch, so if you just
use that one it should be fine.  The "ath0: resetting" messages that you
see are normal, and it looks like you have everything working fine.
At this point, you should be able to load the same thing on another node
and then be able to connect between them.

John


Vaibhave Agarwal [vaibhave at cs.utah.edu] wrote:
>hi guys
>
>I have been trying to use click (for roofnet) for the first time.
>I have got an Atheros chipset card.
>
>I installed click using following config :
>./configure --enable-userlevel --enable-wifi --disable-linuxmodule
>
>Then I first tried to use stripped.madifi driver, but when i tried to 
>load the roofnet configuration:
>$conf/wifi/gen_config_roofnet.pl --dev "ath0" | click -
>It complained of not finding "ath0raw" device.
>
>ath0raw: unknown interface: No such device
>using mode g
>using conf/wifi/srcr.click
><stdin>:180: While initializing 'sniff_dev/from_dev :: FromDevice':
>  ath0raw: SIOCGIFINDEX: No such device
><stdin>:183: While initializing 'sniff_dev/to_dev :: ToDevice':
>  ath0raw: SIOCGIFINDEX: No such device
>
>
>
>Then in one of the mails, I found John Bicket saying that he
>had ported everything in the BSD branch of Madwifi and also
>added a phony device "ath0raw".
>
>So I tried madwifi-BSD branch this time. It seemed to work better 
>and it didnt give any errors while loading roofnet configuration
>and I got the following:
>
>nodew2:click# ifconfig
>ath0      Link encap:Ethernet  HWaddr 00:09:5B:93:0B:A4
>          inet addr:10.1.1.3  Bcast:10.255.255.255  Mask:255.255.255.0
>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>          RX packets:0 errors:980 dropped:0 overruns:0 frame:956
>          TX packets:380 errors:78 dropped:0 overruns:0 carrier:0
>          collisions:0 txqueuelen:5
>          RX bytes:0 (0.0 b)  TX bytes:463092 (452.2 Kb)
>          Interrupt:5 Memory:d0895000-d08a5000
>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:0 errors:980 dropped:0 overruns:0 frame:956
>          TX packets:380 errors:78 dropped:0 overruns:0 carrier:0
>          collisions:0 txqueuelen:200
>          RX bytes:0 (0.0 b)  TX bytes:463092 (452.2 Kb)
>srcr      Link encap:Point-to-Point Protocol
>          inet addr:5.147.11.164  P-t-P:5.147.11.164  Mask:255.0.0.0
>          UP POINTOPOINT RUNNING NOARP 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:10
>          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
>
>Now, isnt srcr supposed to be BROADCAST interface.
>Also ath0raw hwaddr is all zeros.
>
>If I try to execute:
>$route add default srcr
>It prints the following and scrogs the disk.
>>ath0: resetting
>>ath0: resetting
>>svc: unknown program 100000 (me 100021)
>
>What shall I do to solve this problem?
>Am I right in using madwifi-BSD instead of madwifi-stripped?
>
>Any help would be greatly appreciated.
>
>thanks
>vaibhave
>_______________________________________________
>click mailing list
>click at amsterdam.lcs.mit.edu
>https://amsterdam.lcs.mit.edu/mailman/listinfo/click


More information about the click mailing list