GearHack

: :

Add Comment | Related Links | TrackBack
Related Content

Configuring XO Sugar for Home Network

As much as I like the idea of a mesh network, it is just not practical in the United States yet. Hopefully we will get there one day. For now, we still need to configure the XO laptop to get on our home network. The easiest way to do that is to add the following lines to /etc/rc.local with the super-user (su) account.

# home network
/etc/init.d/NetworkManager stop
/sbin/ifconfig eth0 x.x.x.x up
/sbin/iwconfig eth0 mode managed
/sbin/iwconfig eth0 essid "xxxxxxxx"
/sbin/route add default gw x.x.x.x
echo "nameserver x.x.x.x" >> /etc/resolv.conf
echo "nameserver x.x.x.x" >> /etc/resolv.conf

Remember to replace all 'x' with proper values. The above configuration sets up the notebook with a static IP on the "ifconfig" line. Even though the OLPC wiki claims that the ESS ID cannot contain spaces, it works just fine with spaces; this post ii written on the XO laptop connected to a ESS ID with spaces. The "gw" line is to specify the gateway (e.g. your gateway). Nameserver lines specifiess your gateway.

Chieh Cheng
Sun, 23 Nov 2008 10:42:02 +0000

Add Comment | Related Links | TrackBack
Related Content

Did your message disappear? Read the Forums FAQ.

Add Comment

Spam Control | * indicates required field
Your Name: *
E-mail:
Remember Me!
Comment: *
File attachment is optional. Please do not attach a file to your submission unless it is relevent.
Attach File:
(20 MB Max)
Spam Protection: * Answer of 9 + 8?
Click button only once, please!

TrackBack

TrackBack only accepted from WebSite-X Suite web sites. Do not submit TrackBacks from other sites.

Send Ping | TrackBack URL | Spam Control

No TrackBacks yet. TrackBack can be used to link this thread to your weblog, or link your weblog to this thread. In addition, TrackBack can be used as a form of remote commenting. Rather than posting the comment directly on this thread, you can posts it on your own weblog. Then have your weblog sends a TrackBack ping to the TrackBack URL, so that your post would show up here.

Messages, files, and images copyright by respective owners.


Articles | Wiki
Forums | Latest | RSS
Library | Links | News
Search | Store | Help

294 Users Online



Hacking Digital Cameras
Fun for Photographers

Amazon Associate

Copyright © 2004 - 2024. All Rights Reserved.