right source

Polychronis Ypodimatopoulos ypod at MIT.EDU
Mon May 28 23:45:06 EDT 2007



Dan Williams wrote:
> On Mon, 2007-05-28 at 18:41 -0400, Polychronis Ypodimatopoulos wrote:
>   
>> Hi,
>>
>> I got libertas-2.6 from git, compiled and booted new kernel and module 
>> (I use fw 5.220.10.p5) on gentoo.
>> I also have two laptops that are already in mesh. I set the gentoo box 
>> to the right channel and set the MAC as follows:
>>  
>> ifconfig eth3 down hw ether 00:17:C4:28:0A:F1
>> ifconfig eth3 up
>> ifconfig msh0 10.0.0.1
>>
>> then the gentoo box is setup exactly like the two laptops, except that 
>> the msh0 interface is in "Repeater" mode instead of the echoed "ad-hoc" 
>> in the laptops.
>>
>> The two laptops ping each other fine, but the gentoo box cannot ping the 
>> laptops.
>>     
>
> What's the output of:
>
> ifconfig msh0
> route -n
>
> Dan
On the gentoo box:

# ifconfig msh0
msh0      Link encap:Ethernet  HWaddr 00:17:C4:28:0A:F1
          inet addr:10.40.10.241  Bcast:10.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:3 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:126 (126.0 b)


# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use 
Iface
18.97.0.0       0.0.0.0         255.255.0.0     U     0      0        0 eth0
10.0.0.0        0.0.0.0         255.0.0.0       U     0      0        0 msh0
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         18.97.0.1       0.0.0.0         UG    0      0        0 eth0

# iwconfig
msh0      MRVL-USB8388  Nickname:"Mesh"
          Mode:Repeater  Frequency:2.462 GHz  Bit Rate:1 Mb/s   
Tx-Power=18 dBm
          Retry limit:8   RTS thr=2347 B   Fragment thr=2346 B
          Encryption key:off
          Power Management:off
          Link Quality=100/100  Signal level=-2 dBm  Noise level=-2 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:1
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

eth3      MRVL-USB8388  ESSID:"asodifj"  Nickname:""
          Mode:Ad-Hoc  Frequency:2.462 GHz  Cell: 02:2F:EF:84:CF:6A
          Bit Rate:1 Mb/s   Tx-Power=18 dBm
          Retry limit:8   RTS thr=2347 B   Fragment thr=2346 B
          Encryption key:off
          Power Management:off
          Link Quality=100/100  Signal level=-2 dBm  Noise level=-2 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:1
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0



iwconfig at one of the laptops gives:


# iwconfig
msh0      MRVL-USB8388  ESSID:"olpc-mesh-2.48.26"  Nickname:""
          Mode:Ad-Hoc  Frequency:2.462 GHz  Cell: 02:2B:DB:B2:8D:39
          Bit Rate:54 Mb/s   Tx-Power=13 dBm
          Retry limit:8   RTS thr=2347 B   Fragment thr=2346 B
          Encryption key:off
          Power Management:off
          Link Quality=100/100  Signal level=-2 dBm  Noise level=-2 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:37119197
          Tx excessive retries:875  Invalid misc:2486   Missed beacon:0

eth0      MRVL-USB8388  ESSID:"olpc-mesh-2.48.26"  Nickname:""
          Mode:Ad-Hoc  Frequency:2.462 GHz  Cell: 02:2B:DB:B2:8D:39
          Bit Rate:5.5 Mb/s   Tx-Power=13 dBm
          Retry limit:8   RTS thr=2347 B   Fragment thr=2346 B
          Encryption key:off
          Power Management:off
          Link Quality=100/100  Signal level=-2 dBm  Noise level=-2 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:38682980
          Tx excessive retries:3323  Invalid misc:8076   Missed beacon:0

The laptops work fine with each other.

Thanks again,

Pol



More information about the libertas-dev mailing list