[Click] click configuration problem

Vaibhave Agarwal vaibhave at cs.utah.edu
Sun Jul 31 06:06:00 EDT 2005


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


More information about the click mailing list