[Click] Simple Authenticator:"Click" element Class
gaurav dawra
openapproject at hotmail.com
Mon Jun 28 21:27:43 EDT 2004
Thanx John
That will be of great help!! as of right now i am kind of lost in MIT
configuration and mine. I have enabled the roofnet by deleting SIMPLE
AUTHETICATION ENTRY from /tmp/runtime.click file. Also deleting line from
"/ROOFNETDIR/scripts/load_config.pl" which makes this file:
#my_system "cpp $defines $click_config | grep -v '\#' >
$click_config_runtime";
I enabled ROOFNET which gave me "srcr" interface. What exaclty is the
functionality of srcr and how it works , cud be a reasonable question to
ask? I am also writing my ifconfig after starting roofnet.
[root at localhost ap]# /etc/roofnet start
Starting roofnet: cardmgr[3677]: watching 1 socket
IS IT COMING UPTILL HEREIS IT STARTING LOACAL DEV.PL
MSU SPECIFIC!!STARTING WIRELESS_DEV!!SYETEM MAC ADDRESS : wlan0
MSU SPECIFIC!! WIRELESS_DEV COMPLETE!!WIRELESS MAC ADDR: 00:09:5B:23:FD:2D
MSU SPECIFIC !! IS IT FETCHING THIS!!SRCR!!MSU SPECIFIC!! WIRELESS IP:
5.35.253.45
MSU SPECIFIC!! SR1_ip : 1.35.253.45
MSU SPECIFIC !! ASSIGNING INTERFACE
defines:
-DWIRELESS_CHANNEL=3 -DWIRELESS_LOCAL_BROADCAST=5.255.255.255 -DKERNEL=1
-DGATEWAY=false -D__SR1=0
-D__SR2=0 -D__SR3=0 -D__SR4=0 -D__SRCR=1 -D__DSR=0 -D__SCKR=0 -D__MAGE=0
-D__FLOOD=0 -DSCKR_RATE_CTL=0 -DSCKR_2WAY_METRICS=0 -DSCKR_ROUTE_DAMPENING=0
-DSCKR_REORDER=0 -DSCKR_LFD=0 -DSCKR_INF_RETRIES=0 -DSCKR_BIG_PACKETS=0
-DMAGE_RATE_CTL=0 -DMAGE_2WAY_METRICS=0 -DMAGE_ROUTE_DAMPENING=0
-DMAGE_REORDER=0 -DMAGE_LFD=0 -DMAGE_INF_RETRIES=0 -DMAGE_BIG_PACKETS=0
-DWIRELESS_NET=5.0.0.0 -DWIRELESS_IP=5.35.253.45 -DWIRELESS_DEV=wlan0
-DWIRELESS_NM=255.0.0.0 -DWIRELESS_DEV=wlan0
-DWIRELESS_MAC=00:09:5B:23:FD:2D -DSAFE_IP=6.35.253.45 -DAP_IP=12.35.253.45
-DDSR_IP=7.35.253.45 -DSCKR_IP=11.35.253.45 -DMAGE_IP=8.35.253.45
-DFLOOD_IP=12.35.253.45 -DSR1_IP=1.35.253.45 -DSR2_IP=2.35.253.45
-DSR3_IP=3.35.253.45 -DSR4_IP=4.35.253.45 -DSR1_DEFAULT_GW=1.5.92.96
-DSR2_DEFAULT_GW=2.5.92.96 -DSR3_DEFAULT_GW=3.5.92.96
-DSR4_DEFAULT_GW=4.5.92.96
SYSTEM RUNNING !!HOTCONFIG
---------------------------------------------------------------------------------------------------
I am the ONE who added these extra lines in your "roofnet scripts" to test
it. My "ifconfig" is like this:
[root at localhost ap]# ifconfig srcr
srcr Link encap:Ethernet HWaddr 00:01:02:03:04:05
inet addr:5.35.253.45 Bcast:5.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:59 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:4098 (4.0 Kb)
------------------------------------------------------------------------------------------------
[root at localhost ap]# ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 00:09:5B:23:FD:2D
inet addr:6.35.253.45 Bcast:6.255.255.255 Mask:255.0.0.0
UP BROADCAST MULTICAST MTU:1650 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:162 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:185220 (180.8 Kb)
Interrupt:3 Base address:0x100
------------------------------------------------------------------------------------------------
Another question which is OF interest to me is CAN WE ASSIGN OUR OWN IP
ADDRESS TO SRCR and WLAN0 INTERFACE something like 10.1.2.X ??
--------------------------------------------------------------------------------------------------
"dmesg" gives me this :
click: starting router thread pid 3922 (df104260)
click_wifi: registering tx callback -526089764
Dead loop on virtual device wlan0, fix it urgently!
Dead loop on virtual device wlan0, fix it urgently!
chatter: SRCR srcr: got invalid dst 0.0.0.0
chatter: SRCR srcr: got invalid dst 0.0.0.0
chatter: SRCR srcr: got invalid dst 0.0.0.0
chatter: SRCR srcr: got invalid dst 0.0.0.0
chatter: SRCR srcr: got invalid dst 0.0.0.0
chatter: SRCR srcr: got invalid dst 0.0.0.0
chatter: SRCR srcr: got invalid dst 0.0.0.0
chatter: SRCR srcr: got invalid dst 0.0.0.0
chatter: SRCR srcr: got invalid dst 0.0.0.0
chatter: SRCR srcr: got invalid dst 0.0.0.0
chatter: SRCR srcr: got invalid dst 0.0.0.0
chatter: SRCR srcr: got invalid dst 0.0.0.0
chatter: SRCR srcr: got invalid dst 0.0.0.0
chatter: SRCR srcr: got invalid dst 0.0.0.0
chatter: SRCR srcr: got invalid dst 0.0.0.0
chatter: SRCR srcr: got invalid dst 0.0.0.0
chatter: SRCR srcr: got invalid dst 0.0.0.0
chatter: SRCR srcr: got invalid dst 0.0.0.0
---------------------------------------------------------------------------------------------------------
I need to know what exactly is going on ? and it will really helpful if you
can able to include these and other questions in 'howto'.
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: Mon, 28 Jun 2004 16:03:49 -0400
>
>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
_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar get it now!
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
More information about the click
mailing list