Establishing a Mesh Portal: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
* A USB ethernet adapter |
* A USB ethernet adapter |
||
* One OLPC laptop (XO) |
* One OLPC laptop (XO) |
||
* The xo-mpp-server RPM here: [http://people.redhat.com/dcbw/xo-mpp-server-0.1-1.noarch.rpm xo-mpp-server-0.1-1.noarch.rpm] |
* The xo-mpp-server RPM here: [http://people.redhat.com/dcbw/olpc/xo-mpp-server-0.1-1.noarch.rpm xo-mpp-server-0.1-1.noarch.rpm] |
||
* (The srpm [http://people.redhat.com/dcbw/olpc/xo-mpp-server-0.1-1.src.rpm is here], but you don't need it to setup the MPP) |
|||
==What to do== |
==What to do== |
Revision as of 19:57, 15 April 2007
It's not entirely automatic quite yet; we'll get a more automatic solution in place soon.
Requirements
- A USB ethernet adapter
- One OLPC laptop (XO)
- The xo-mpp-server RPM here: xo-mpp-server-0.1-1.noarch.rpm
- (The srpm is here, but you don't need it to setup the MPP)
What to do
- Boot up your XO
- Switch to a virtual terminal (press Ctrl+Alt+F1), and log in as 'root'
- Turn off NetworkManager, dhcdbd (the DHCP D-Bus daemon), and avahi
chkconfig --level 2345 NetworkManager off chkconfig --level 2345 dhcdbd off chkconfig --level 2345 avahi-daemon off
- Set your init level to '3'; stopping Sugar and X from starting again.
nano /etc/inittab
find the line with:
id:5:initdefault:
and change the '5' to a '3' so it looks like this instead:
id:3:initdefault:
- Plug the USB ethernet adapter into the XO
- Reboot; type 'reboot' and press enter
- Wait for the XO to boot to the login prompt, then log in as 'root'
- Bring up the USB ethernet interface
ifup eth0
- Install the DHCP daemon
yum -y install dhcp
You may have to try this command twice; yum sometimes runs out of memory doing dependency solving, and terminates before actually installing the RPM.
- Copy the xo-mpp-server RPM onto the XO and install it:
rpm -Uhv xo-mpp-server-0.1-1.noarch.rpm --force
- Turn on various services at startup
chkconfig --level 345 network on chkconfig --level 345 iptables on chkconfig --level 345 dhcpd on chkconfig --level 345 mpp on
- Reboot; type 'reboot' and press enter
and it should all work
Further Reading
More information is available on these topics: