Can't PING in ad-hoc mode - Networking
This is a discussion on Can't PING in ad-hoc mode - Networking ; Hi everyone,
I'm trying to set up a wireless ad-hoc network between two colibri
linux boards (pxa270 arm processor) running linux 2.6.12.4. To do so,
I'm using two DWL-G122verC1 USB dongles and the rt73 wireless driver
which can be downloaded ...
-
-
Re: Can't PING in ad-hoc mode
On Thu, 31 May 2007 08:04:20 -0700, sabine.hauert wrote:
> I'm trying to set up a wireless ad-hoc network between two colibri
> linux boards (pxa270 arm processor) running linux 2.6.12.4. To do so,
> I'm using two DWL-G122verC1 USB dongles and the rt73 wireless driver
> which can be downloaded here: http://www.ralinktech.com/ralink/Hom...ort/Linux.html
> .
>
> The problem is that I can't have my two linux boards ping each other
> (100% packet loss) even though I believe everythong else is set
> properly. They are using the same channel (1) and there is no firewall
> issue.
>
> Any ideas? I'm really stuck here 
> Linux board 1:
...
>>route
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use Iface
> 192.168.0.0 * 255.255.255.255 UH 0 0 0 rausb0
^ That Genmask is wrong and may well be the source of your problem. It
should be 255.255.255.0 as on board 2. Looks like you did a 'route add
-host 192.168.0.0 rausb0' instead of 'route add -net 192.168.0.0 netmask
255.255.255.0 rausb0'.
> Linux board 2:
...
>>route
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref Use Iface
> 192.168.0.0 * 255.255.255.0 U 0 0 0 rausb0
Everything else looks to be in order - the devices both have good link
quality and are sending and receiving packets, presumably with each other.
I'd guess board 1 is unable to route packets correctly to board 2 due to
the bad mask.
--
--
Posted via a free Usenet account from http://www.teranews.com