ORBIT-USER: Virtual Mobility article on ORBIT website

Arinto Murdopo arinto at gmail.com
Sun Jan 21 22:35:38 EST 2007


Hi all,

I try to follow the example of Virtual
Mobility<http://www.orbit-lab.org/wiki/HowTo/virtualMobility>from
ORBIT website. After I install the patch (
orbitfilter.tgz), I try the sample command as stated in the website.
However, the result is not as I expected since it prints out error message.
Here are the examples

node1-1:/usr/src/madwifi/trunk# iwpriv ath1 set_beacon 0
Invalid command : set_beacon
node1-1:/usr/src/madwifi/trunk# iwpriv ath1 orbitfilter_rst 1
Invalid command : orbitfilter_rst

Here is the result of iwconfig command

node1-1:/usr/src/madwifi/trunk# iwconfig
eth0      no wireless extensions.

eth1      no wireless extensions.

lo        no wireless extensions.

ath0      IEEE 802.11  ESSID:""
          Mode:Managed  Frequency:2.412 GHz  Access Point:
00:00:00:00:00:00
          Bit Rate:0 kb/s   Tx-Power:20 dBm   Sensitivity=0/3
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=0/94  Signal level=-95 dBm  Noise level=-95 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

ath1      IEEE 802.11  ESSID:""
          Mode:Managed  Frequency:2.412 GHz  Access Point:
00:00:00:00:00:00
          Bit Rate:0 kb/s   Tx-Power:20 dBm   Sensitivity=0/3
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=0/94  Signal level=-95 dBm  Noise level=-95 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
Here is the output for ifconfig command

node1-1:/usr/src/madwifi/trunk# ifconfig
eth1      Link encap:Ethernet  HWaddr 00:0F:EA:7E:5B:3B
          inet addr:10.11.1.1  Bcast:10.11.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3359 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2682 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:376673 (367.8 KiB)  TX bytes:350325 (342.1 KiB)
          Interrupt:11 Memory:eb024000-0

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



Actually I have patched the kernel before perform above commands by
following the instructions from the above link in Virtual Mobility. Here are
the complete commands when I patched the kernel:

node1-1:/usr/src/madwifi/trunk# tar -xvf orbitfilter.tgz
ath/
ath/if_ath.c
net80211/
net80211/ieee80211_ioctl.h
net80211/ieee80211_linux.h
net80211/ieee80211_var.h
net80211/ieee80211_wireless.c
node1-1:/usr/src/madwifi/trunk# cp
/usr/src/madwifi/trunk/ath_rate/sample/*.ko /lib/modules/2.6.12/net
node1-1:/usr/src/madwifi/trunk# cp /usr/src/madwifi/trunk/net80211/*.ko
/lib/modules/2.6.12/net
node1-1:/usr/src/madwifi/trunk# cp /usr/src/madwifi/trunk/ath/*.ko
/lib/modules/2.6.12/net
node1-1:/usr/src/madwifi/trunk# cp /usr/src/madwifi/trunk/ath_hal/*.ko
/lib/modules/2.6.12/net
node1-1:/usr/src/madwifi/trunk# modprobe -r ath_pci
node1-1:/usr/src/madwifi/trunk# modprobe ath_pci

My questions are:

1. Where I can find the ethernet address for each node? Currently I do the
test in sandbox 1.

2. Anyone has idea why the iwpriv commands in example above don't work
properly?

Thank you for your attentions

Regards,

Arinto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://orbit-lab.org/pipermail/orbit-user/attachments/20070122/4df035db/attachment.htm 


More information about the orbit-user mailing list