Hi, Using Wireshark, I observed more on what's happening.
I installed a click router (kernel mode) at a ping sender node only, using a click config file generated by gen_config_roofnet.sh, which is minimally modified according to my network setup. Then, at a receiver node (without installing any click), I run tshark to sniff packets on ath0 as follows. It turns out that basically received packets are garbled. # tshark -i ath0 Capturing on ath0 0.000000 00:00:00_00:3c:00 -> 00:00:00_00:00:00 FC [Malformed Packet] 2.961318 00:00:00_00:3c:00 -> 00:00:00_00:00:00 FC [Malformed Packet] 5.212191 00:00:00_00:3c:00 -> 00:00:00_00:00:00 FC [Malformed Packet] 5.997915 00:00:00_00:3c:00 -> 00:00:00_00:00:00 FC [Malformed Packet] 4 packets captured Is there anyone who experiences similar problems? Any clues for them? Thanks, Jun =================================== Juncheol Park MEB #2172, 801-587-3977 School of Computing University of Utah On Tue, 1 May 2007, Juncheol Park wrote: > > 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 > _______________________________________________ > click mailing list > [email protected] > https://amsterdam.lcs.mit.edu/mailman/listinfo/click > _______________________________________________ click mailing list [email protected] https://amsterdam.lcs.mit.edu/mailman/listinfo/click
