[Click] Simple Authenticator:"Click" element Class

John Bicket jbicket at amsterdam.lcs.mit.edu
Tue Jun 29 14:52:35 EDT 2004


Hi Gaurav, 

There were a few changes that I just checked in. 
Try a cvs up -dP  and recompile and then try again.

--john


gaurav dawra [openapproject at hotmail.com] wrote:
>Thanx for the help John!!
>
>Here is one error which i cud not able to understand. FIRST i cud not able 
>to find the prism2_param script , SO used being provided with "roofnet 
>distribution" in /home/roofnet/bin/ made  a small change to script in line 
>:85
>
>if ($dev =~ /wlan/) {
># JUST GAVE THE PATH TO THE prism2_param directory
>   system "/home/roofnet/bin/prism2_param $dev pseudo_ibss 1"; # line 85
>
>   system "iwconfig $dev essid $ssid";
>   system "iwconfig $dev rts off";
>   system "iwconfig $dev retries 8";
>   #system "iwconfig $dev txpower 23";
># HOSTAP does not support SET TX POWER MODE
>}
>
>
>EXECUTED THIS COMMAND:
>[root at openap conf]# ./gen_config_roofnet.pl --dev "wlan0" > /click/config
>[root at openap conf]#
>DONE but an ERROR
>
>[root at openap conf]# more /click/errors
>line 3: While configuring 'rates :: AvailableRates':
> error param DEFAULT 2 4 11 22: must start with ethernet address
>Router could not be initialized!
>---------------------------------------------------------------------
>'dmesg' gives me this :
>wifi0: LinkStatus=2 (Disconnected)
>wifi0: LinkStatus: BSSID=00:00:00:00:00:00
>wifi0: LinkStatus=2 (Disconnected)
>wifi0: LinkStatus: BSSID=00:00:00:00:00:00
>line 3: While configuring 'rates :: AvailableRates':
> error param DEFAULT 2 4 11 22: must start with ethernet address
>Router could not be initialized!
>chatter: txf :: WifiTXFeedback: couldn't cleanup - 1886544160 !!!
>----------------------------------------------------------------------
>
>Any Ideas? I have never seen this error before. Is your script giving this 
>error?
>
>Thanx,
>
>Gaurav
>
>
>
>>From: John Bicket <jbicket at amsterdam.lcs.mit.edu>
>>To: gaurav dawra <openapproject at hotmail.com>
>>CC: click at amsterdam.lcs.mit.edu
>>Subject: Re: [Click] Simple Authenticator:"Click" element Class
>>Date: Tue, 29 Jun 2004 11:34:03 -0400
>>
>>
>>Try "gen_config_roofnet.pl" instead of "get_config_roofnet". There
>>was a typo in the instructions.
>>
>>
>>--john
>>
>>gaurav dawra [openapproject at hotmail.com] wrote:
>>>Thanx John For the Quick Reply.
>>>
>>>Here is the command which i executed, i should have mentioned the command
>>>and error at first place.
>>>
>>>/root/click/conf/get_config_roofnet --wlan0 "wlan0" >/click/config
>>>bash: /root/click/conf/get_config_roofnet: No such file or directory
>>>
>>>No i am using hostap_cs : here is output of my lsmod:
>>>
>>>hostap_cs              51188   0  (unused)
>>>hostap                111048   0  [hostap_cs]
>>>sr_mod                 18136   0  (autoclean)
>>>input                   5728   0  (autoclean)
>>>lp                      9092   0  (autoclean)
>>>parport                37088   0  (autoclean) [lp]
>>>ds                      8264   1  [hostap_cs]
>>>i82365                 38016   1
>>>
>>>JUST SHOWING One those matters.
>>>
>>>I USED command "gmake" to do compile the CLICK MODULES:
>>>
>>>Gaurav
>>>
>>>
>>>
>>>>From: John Bicket <jbicket at amsterdam.lcs.mit.edu>
>>>>To: gaurav dawra <openapproject at hotmail.com>
>>>>CC: click at amsterdam.lcs.mit.edu
>>>>Subject: Re: [Click] Simple Authenticator:"Click" element Class
>>>>Date: Tue, 29 Jun 2004 11:09:29 -0400
>>>>
>>>>Try replacing "dev" with wlan0, if that device is present after you
>>>>modprobe hostap_cs. (if you are using a pci card, you might need to
>>>>modprobe hostap_pci instead).
>>>>
>>>>--john
>>>>
>>>>gaurav dawra [openapproject at hotmail.com] wrote:
>>>>>Hi john
>>>>>
>>>>>Today i am trying to compile the LINUX MODULE. Again the problem in the
>>>>>last step, yes ! there is a perl file. gen_config_roofnet.pl, but after
>>>>>compiling the whole click module with
>>>>>
>>>>>./configure --enable-wifi --with-wifi=/home/madwifi.stripped/
>>>>>--enable-linuxmodule --with-linux=/usr/src/linux-2.4.20roof
>>>>>--disable-adaptive --disable-userlevel
>>>>>
>>>>>modprobe hostap_cs
>>>>>modprobe ath_pci ( I BELIEVE I DO NOT REQUIRE THIS,  I am NOT using
>>>>atheros
>>>>>based cardbus chipset)
>>>>>/sbin/insmod CLICKDIR/linuxmodule/proclikefs.o
>>>>>/sbin/insmod CLICKDIR/linuxmodule/click.o
>>>>>mkdir -p /click
>>>>>mount -n -t click none /click
>>>>>*******CLICKDIR/conf/get_config_roofnet --dev "dev" > 
>>/click/config******
>>>>>
>>>>>IT DID NOT AUTOMATICALLY GENERATED get_config_roofnet. So again the 
>>LAST
>>>>>STEP of your instructions is not complete. Am i doing wrong somewhere?
>>>>>
>>>>>Are we supposed to generate file by running perl script or will it
>>>>generate
>>>>>using "gmake" command after ./configure for CLICK MODULES. Please let 
>>me
>>>>>know. I will await for your response.
>>>>>
>>>>>Thanx,
>>>>>
>>>>>Gaurav
>>>>>
>>>>>>From: John Bicket <jbicket at amsterdam.lcs.mit.edu>
>>>>>>To: gaurav dawra <openapproject at hotmail.com>
>>>>>>Subject: Re: [Click] Simple Authenticator:"Click" element Class
>>>>>>Date: Mon, 28 Jun 2004 16:26:31 -0400
>>>>>>
>>>>>>
>>>>>>Hi Gaurav,
>>>>>>
>>>>>>I have updated instructions at
>>>>>>http://www.pdos.lcs.mit.edu/~jbicket/madwifi.stripped/
>>>>>>about building for roofnet - please let me know if you have trouble
>>>>>>with them.
>>>>>>
>>>>>>--john
>>>>>>
>>>>>>
>>>>>>John Bicket [jbicket at amsterdam.lcs.mit.edu] wrote:
>>>>>>>Hi Guarav,
>>>>>>>
>>>>>>>SimpleAuthenticator is a click element in the elements/wifi/ap
>>>>>>>directory. You probably don't want to be using it with a wlan device,
>>>>>>>it only really works with Atheros based chipsets.
>>>>>>>
>>>>>>>I am currently working on a howto for building a roofnet 
>>configuration,
>>>>>>>I will be done in a day or two and will post it.
>>>>>>>
>>>>>>>
>>>>>>>--john
>>>>>>>
>>>>>>>
>>>>>>>gaurav dawra [openapproject at hotmail.com] wrote:
>>>>>>>>Hi
>>>>>>>>
>>>>>>>>I am have question regarding the element class 
>>"SimpleAuthenticator",
>>>>>>what
>>>>>>>>is the functionality. Is it defined in the click software or is it
>>>>some
>>>>>>>>"user defined". This might be a question which is not very 
>>appropiate
>>>>>>but i
>>>>>>>>just need to know is it being defined in the "click software" or 
>>not.
>>>>>>>>
>>>>>>>>I am using a "config" file from roofnet group(uses CLICK as routing
>>>>>>>>software) which defines this element class in their configuration
>>>>file.
>>>>>>>>
>>>>>>>>pr :: ProbeResponder(INTERVAL 1000,
>>>>>>>>                      SSID "madwifi",
>>>>>>>>                      BSSID $mac,
>>>>>>>>                      CHANNEL 3);
>>>>>>>>
>>>>>>>> auth :: SimpleAuthenticator(BSSID $mac);
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> beacon_source -> output;
>>>>>>>> auth -> output;
>>>>>>>> ar -> output;
>>>>>>>> pr -> output;
>>>>>>>>
>>>>>>>> management_cl [6] -> Print ("auth") -> auth;
>>>>>>>>
>>>>>>>>--------------------------------------------------------------------------------------------
>>>>>>>>
>>>>>>>>But if i delete these lines and install click using "click-install" 
>>,
>>>>>>dmesg
>>>>>>>>gives me this error.
>>>>>>>>
>>>>>>>>Dead loop on virtual device wlan0, fix it urgently!
>>>>>>>>Dead loop on virtual device wlan0, fix it urgently!
>>>>>>>>---------------------------------------------------------------------------------------------
>>>>>>>>
>>>>>>>>I searched hours on internet to fine relevance of  this error, if 
>>any
>>>>>>one
>>>>>>>>came accross same error please suggest what is going wrong.
>>>>>>>>
>>>>>>>>[root at localhost roofnet]# iwconfig wlan0
>>>>>>>>Warning: Driver for device wlan0 has been compiled with version 14
>>>>>>>>of Wireless Extension, while this program is using version 15.
>>>>>>>>Some things may be broken...
>>>>>>>>
>>>>>>>>wlan0     IEEE 802.11b  ESSID:"roofnet"  Nickname:"localhost"
>>>>>>>>         Mode:Ad-Hoc  Frequency:2.422GHz  Cell: 00:00:00:00:00:00
>>>>>>>>         Bit Rate:2Mb/s   Sensitivity=1/3
>>>>>>>>         Retry limit:8   RTS thr:off   Fragment thr:off
>>>>>>>>         Encryption key:off
>>>>>>>>         Power Management:off
>>>>>>>>         Link Quality:0/70  Signal level:-73 dBm  Noise level:-73 
>>dBm
>>>>>>>>         Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
>>>>>>>>         Tx excessive retries:0  Invalid misc:2   Missed beacon:0
>>>>>>>>
>>>>>>>>-----------------------------------------------------------------------------------------------
>>>>>>>>I am loading this "configuration" file from roofnet to understand
>>>>better
>>>>>>>>the functionality of "click" routing software. I also tried few
>>>>>>>>configurations file in CLICKDIR/conf/ directory.They helped to
>>>>>>understand
>>>>>>>>the click.Thanx!!
>>>>>>>>
>>>>>>>>I am thinking of modifying this configuration file to work for me. 
>>But
>>>>i
>>>>>>>>need to understand basic functionality of click router. I read  docs
>>>>on
>>>>>>>>click router project page and thesis presented by eddie and others. 
>>I
>>>>>>>>understand some asects of this configurations file but need some 
>>help
>>>>>>with
>>>>>>>>this one to understand it better. IF needed i can copy the whole
>>>>>>>>configuration file which i am using.
>>>>>>>>
>>>>>>>>Please suggest as it will help to write my own configuration file 
>>for
>>>>>>click
>>>>>>>>router.
>>>>>>>>
>>>>>>>>
>>>>>>>>Thanx,
>>>>>>>>Gaurav
>>>>>>>>
>>>>>>>>_________________________________________________________________
>>>>>>>>Is your PC infected? Get a FREE online computer virus scan from
>>>>McAfee?
>>>>>>>>Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
>>>>>>>>
>>>>>>>>_______________________________________________
>>>>>>>>click mailing list
>>>>>>>>click at amsterdam.lcs.mit.edu
>>>>>>>>https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>>>>>>>_______________________________________________
>>>>>>>click mailing list
>>>>>>>click at amsterdam.lcs.mit.edu
>>>>>>>https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>>>>>
>>>>>_________________________________________________________________
>>>>>Get fast, reliable Internet access with MSN 9 Dial-up ? now 3 months
>>>>FREE!
>>>>>http://join.msn.click-url.com/go/onm00200361ave/direct/01/
>>>>>
>>>>>_______________________________________________
>>>>>click mailing list
>>>>>click at amsterdam.lcs.mit.edu
>>>>>https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>>>
>>>_________________________________________________________________
>>>Get fast, reliable Internet access with MSN 9 Dial-up ? now 3 months 
>>FREE!
>>>http://join.msn.click-url.com/go/onm00200361ave/direct/01/
>>>
>>>_______________________________________________
>>>click mailing list
>>>click at amsterdam.lcs.mit.edu
>>>https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>
>_________________________________________________________________
>Get fast, reliable Internet access with MSN 9 Dial-up ? now 3 months FREE! 
>http://join.msn.click-url.com/go/onm00200361ave/direct/01/
>
>_______________________________________________
>click mailing list
>click at amsterdam.lcs.mit.edu
>https://amsterdam.lcs.mit.edu/mailman/listinfo/click


More information about the click mailing list