[Sugar-devel] A network question
Peter Hewitt
prh at mulawa.net
Fri Nov 11 01:05:49 EST 2011
Not exactly as per your instructions but I think equivalent.
And I assume it should be
sudo ifconfig eth0 10.0.0.1
not
sudo iwconfig eth0 10.0.0.1
Seeing I had an established ad-hoc network I just configured the "bad"
computer and made sure the "inet addr" line agreed with the other two
machines on the ad hoc network. I assigned "169.254.7.200" to B. Pinging to
or from it produced
Destination Host Unreachable.
At 03:39 PM 11/11/2011, James Cameron wrote:
>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