[Click] Where can I get a correct gen_config_roofnet.sh?
Juncheol Park
jcpark at cs.utah.edu
Tue May 1 17:46:38 EDT 2007
Hi,
I'm not sure if this question probably had to be put on Roofnet
mailing list, but it is about the file included in the click.
I'm using the latest releases of roofnet, click and madwifi-ng.
I have barely installed all three packages on FC4 (linux-2.6.16.13).
Actually, it took unnecessarily too much time mainly due to out-of-date
wiki installation guide of Roofnet.
I also have validated if the installed click is properly working
using simple examples (KernelTun, etc). Seems ok.
Then, I found the file gen_config_roofnet.sh at CLICKDIR/conf/wifi/
may be buggy or incomplete.
A ping between two roofnet nodes does not work out
although I adjusted the file for kernel mode click according to my
network interface setup (e.g. ath3 -> ath0, comment out some setups
that had been already made like ifconfig ath0 up).
I tested the ping using either ath0's ip addr or srcr1's ip addr.
Neither works (simply no response with each other).
I believe I correctly set up all required parameters related to wireless
interface such as channel number (freq), ssid, mode, etc as follows.
I also had installed ath_pci using: "modprobe ath_pci autocreate=adhoc".
ifconfig ath0
===============================================================
ath0 Link encap:Ethernet HWaddr 00:09:5B:93:0B:14
inet addr:10.1.1.2 Bcast:10.1.255.255 Mask:255.255.0.0
inet6 addr: fe80::209:5bff:fe93:b14/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:30 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:1476 (1.4 KiB)
c.f.) Another machine has simply a different IP address of 10.1.1.3.
ifconfig srcr1
===============================================================
srcr1 Link encap:Ethernet HWaddr 00:09:5B:93:0B:14
inet addr:5.147.11.20 Bcast:5.255.255.255 Mask:255.0.0.0
inet6 addr: fe80::209:5bff:fe93:b14/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:468 (468.0 b)
iwconfig ath0
===============================================================
ath0 IEEE 802.11a ESSID:"lan0_27595"
Mode:Ad-Hoc Frequency:5.24 GHz Cell: 02:09:5B:93:0B:14
Bit Rate:0 kb/s Tx-Power:15 dBm Sensitivity=0/3
Retry:off RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=23/94 Signal level=-73 dBm Noise level=-96 dBm
Rx invalid nwid:105 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
route
================================================================
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
155.98.36.0 * 255.255.252.0 U 0 0 0 eth0
10.1.0.0 * 255.255.0.0 U 0 0 0 ath0
169.254.0.0 * 255.255.0.0 U 0 0 0 lo
5.0.0.0 * 255.0.0.0 U 0 0 0 srcr1
6.0.0.0 * 255.0.0.0 U 0 0 0 srcr2
default control-router. 0.0.0.0 UG 0 0 0 eth0
================================================================
c.f.) Since I'm using Emulab wireless nodes, the default router
should not be changed as above.
Any tip or comment would be greatly appreciated.
Thanks,
Jun
===================================
Juncheol Park
MEB #2172, 801-587-3977
School of Computing
University of Utah
More information about the click
mailing list