[Sugar-devel] A network question

James Cameron quozl at laptop.org
Fri Nov 11 00:39:46 EST 2011


On Fri, Nov 11, 2011 at 03:23:25PM +1000, Peter Hewitt wrote:
> "Ad-hoc Network 1" only appears on G and then only if I have an XO
> 1.5 switched on.

Okay, so hardware is working, firmware is working, some of the software
is working.

I suggest next you gain manual control over networking and see if you
can configure the units to join a new ad-hoc network.  By doing this you
will exclude Sugar and NetworkManager.

On each unit, temporarily turn off NetworkManager ... this will be
turned back on when the unit reboots.

	sudo /etc/init.d/NetworkManager stop

Now, raise the interface:

	sudo ifconfig eth0 up

Now, join an ad-hoc network:

	sudo iwconfig eth0 mode ad-hoc essid xo channel 1

Now, set the addresses of each interface, to a unique number:

	sudo iwconfig eth0 10.0.0.1

(increment the last digit for each unit),

Then, test that you can ping each unit from each other unit, e.g. on the
unit that has the address 10.0.0.1, ping the unit that has the address
10.0.0.2:

	sudo ping 10.0.0.2

When you get packets back, you know it is working:

$ ping -n 10.0.0.144
PING 10.0.0.144 (10.0.0.144) 56(84) bytes of data.
64 bytes from 10.0.0.144: icmp_req=1 ttl=64 time=13.7 ms
64 bytes from 10.0.0.144: icmp_req=2 ttl=64 time=3.03 ms
64 bytes from 10.0.0.144: icmp_req=3 ttl=64 time=2.84 ms
^C
--- 10.0.0.144 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 2.843/6.539/13.737/5.090 ms

Once you have done this test, I can say the problem is some sort of
corruption of configuration of the installed operating system, and you
can fix it by reinstalling.

-- 
James Cameron
http://quozl.linux.org.au/


More information about the Sugar-devel mailing list