Multi-hop mesh network in MIT campus: Difference between revisions
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
* Check out the status page: http://lyme.media.mit.edu/cgi-bin/one.cgi |
* Check out the status page: http://lyme.media.mit.edu/cgi-bin/one.cgi |
||
== |
==How To== |
||
===Ethernet configuration=== |
|||
⚫ | |||
⚫ | |||
⚫ | |||
To verify that your XO is connected to the MIT network, run "ifconfig" in a terminal. One of the network addresses listed (usually the one for eth0) should start with 18. |
|||
To get a new IP address without rebooting: |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
If you update the XO operating system (using [[olpc-update]]), you need to reinstall Cerebro from scratch. You must have a working Ethernet connection to do this. |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
=== Starting cerebroui=== |
=== Starting cerebroui=== |
||
Start the Terminal activity and type: |
Start the Terminal activity and type: |
||
Line 8: | Line 34: | ||
To stop cerebroui go back to the Terminal activity (repeated Alt+Tab) and press Ctrl+C |
To stop cerebroui go back to the Terminal activity (repeated Alt+Tab) and press Ctrl+C |
||
With Cerebro version 2.9.7 and later (July 23), you should use "cerebroui" instead of "./cerebroui". |
|||
=== Updating your laptop === |
=== Updating your laptop === |
||
* press ctrl+alt+F1 (F1 is the Neighborhood key, with eight dots) to go into a console. |
* press ctrl+alt+F1 (F1 is the Neighborhood key, with eight dots) to go into a console. |
||
* check that you have a valid IP address that starts with 18. by typing the following (if not, please stop here and let me know): |
|||
ifconfig |
|||
*Make sure you are root and you are in the /root directory (your console prompt should be a # and "pwd" should return "/root"). |
*Make sure you are root and you are in the /root directory (your console prompt should be a # and "pwd" should return "/root"). |
||
* Given that you have a valid IP address, please type the following: |
* Given that you have a valid IP address, please type the following: |
||
Line 28: | Line 54: | ||
./install.sh |
./install.sh |
||
and everything should work. |
and everything should work. |
||
== People's hacks == |
== People's hacks == |
||
* [[User:noahs]] |
* [[User:noahs]] |
||
* [[User:meeg]] |
|||
* Quick'n'dirty way to register with the MIT network: |
|||
⚫ | |||
⚫ | |||
⚫ | |||
* Change Laptop Name, Color |
* Change Laptop Name, Color |
||
To change your laptop's name (which others see in mesh view), or change the colors of your XO icon, go to [[Sugar Control Panel]] and go to the nickname and color sections. If you want to post your laptop's name so that other people in the study know that you are also in the study (and maybe a good person to try to chat/collaborate on a program with), list it here (completely optional). --Noah |
To change your laptop's name (which others see in mesh view), or change the colors of your XO icon, go to [[Sugar Control Panel]] and go to the nickname and color sections. If you want to post your laptop's name so that other people in the study know that you are also in the study (and maybe a good person to try to chat/collaborate on a program with), list it here (completely optional). --Noah |
||
*You can change your Cerebro profile (the information displayed in the Cerebro UI) by editing /root/cerebro/gui/profile. |
|||
* Reacquire IP Address: |
|||
⚫ | |||
⚫ | |||
⚫ | |||
--Fernando |
|||
*I needed to install python-setuptools-devel before I could update Cerebro. [[User:Meeg|Meeg]] 09:36, 8 July 2008 (UTC) |
|||
== About == |
== About == |
||
We are establishing a network of XO laptops to run experiments on campus and we would like to have as many laptops in East Campus and Senior House as possible. Other people from around the campus will eventually participate also, so this may be a good chance to chat with other users directly and possibly make new friends! |
We are establishing a network of XO laptops to run experiments on campus and we would like to have as many laptops in East Campus and Senior House as possible. Other people from around the campus will eventually participate also, so this may be a good chance to chat with other users directly and possibly make new friends! |
||
=== Participation terms === |
=== Participation terms === |
||
Would you like to participate? You will be able to use the laptop as much as you want, in (almost) any way you want, as long as you feed it (with power that is) and don't break its connection to the rest of the network. This means that the laptop must be constantly connected over ethernet cable for remote access (mainly for software updates), while the wireless network is used for communication with other laptops. |
Would you like to participate? You will be able to use the laptop as much as you want, in (almost) any way you want, as long as you feed it (with power that is) and don't break its connection to the rest of the network. This means that the laptop must be constantly connected over ethernet cable for remote access (mainly for software updates), while the wireless network is used for communication with other laptops. |
||
=== Termination === |
=== Termination === |
||
The laptop will be the property of OLPC and you may be asked to return at any time. |
The laptop will be the property of OLPC and you may be asked to return at any time. |
||
=== Network layout === |
=== Network layout === |
||
Line 64: | Line 77: | ||
More laptops may be added, depending on availability and position in campus. |
More laptops may be added, depending on availability and position in campus. |
||
==Links== |
==Links== |
||
Line 71: | Line 83: | ||
*[http://lyme.media.mit.edu/cgi-bin/one.cgi Status page] |
*[http://lyme.media.mit.edu/cgi-bin/one.cgi Status page] |
||
*[http://mailman.mit.edu/mailman/listinfo/mit-mesh Mailing list] |
*[http://mailman.mit.edu/mailman/listinfo/mit-mesh Mailing list] |
||
⚫ | |||
The following set of instructions concerns building the XOs that are used in the MIT mesh testbed. |
|||
* Install build version 708 |
|||
* Install git (requires internet connection): |
|||
yum -y install git python-setuptools.noarch |
|||
* Install Cerebro: |
|||
cd /root/ |
|||
git clone git://dev.laptop.org/projects/cerebro |
|||
cd cerebro |
|||
./install.sh |
|||
===From Joyride=== |
|||
Current joyride builds include a cerebro package, which interferes with parts of install.sh. |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ |
Revision as of 19:57, 23 July 2008
News
- Check out the status page: http://lyme.media.mit.edu/cgi-bin/one.cgi
How To
Ethernet configuration
- Plug your USB ethernet adapter into another PC (which does not have an active internet connection)
- Register to the MIT network (using your web browser)
- Plug the ethernet adapter back to your XO (and wait a few mins for your registration to take effect)
To verify that your XO is connected to the MIT network, run "ifconfig" in a terminal. One of the network addresses listed (usually the one for eth0) should start with 18.
To get a new IP address without rebooting:
ifdown eth0 ifup eth0
This should help if for some reason you want to update your IP address or one is not being assigned. You must of course already be registered with the MIT network.
Installation
If you update the XO operating system (using olpc-update), you need to reinstall Cerebro from scratch. You must have a working Ethernet connection to do this.
In a terminal:
su - yum -y remove cerebro yum -y install git python-setuptools-devel.noarch git clone git://dev.laptop.org/projects/cerebro cd cerebro ./install.sh
Reboot to start Cerebro and the tracking client.
Starting cerebroui
Start the Terminal activity and type:
./cerebroui
To stop cerebroui go back to the Terminal activity (repeated Alt+Tab) and press Ctrl+C
With Cerebro version 2.9.7 and later (July 23), you should use "cerebroui" instead of "./cerebroui".
Updating your laptop
- press ctrl+alt+F1 (F1 is the Neighborhood key, with eight dots) to go into a console.
- Make sure you are root and you are in the /root directory (your console prompt should be a # and "pwd" should return "/root").
- Given that you have a valid IP address, please type the following:
cd cerebro git pull ./install.sh
If you get the following errors:
fatal: Entry 'install.sh' not uptodate. Cannot merge.
and
./install: No such file or directory
You need to delete install.sh so a new copy can be downloaded. In the same directory as before (/root/cerebro) type:
rm install.sh git pull ./install.sh
and everything should work.
People's hacks
- User:noahs
- User:meeg
- Change Laptop Name, Color
To change your laptop's name (which others see in mesh view), or change the colors of your XO icon, go to Sugar Control Panel and go to the nickname and color sections. If you want to post your laptop's name so that other people in the study know that you are also in the study (and maybe a good person to try to chat/collaborate on a program with), list it here (completely optional). --Noah
- You can change your Cerebro profile (the information displayed in the Cerebro UI) by editing /root/cerebro/gui/profile.
About
We are establishing a network of XO laptops to run experiments on campus and we would like to have as many laptops in East Campus and Senior House as possible. Other people from around the campus will eventually participate also, so this may be a good chance to chat with other users directly and possibly make new friends!
Participation terms
Would you like to participate? You will be able to use the laptop as much as you want, in (almost) any way you want, as long as you feed it (with power that is) and don't break its connection to the rest of the network. This means that the laptop must be constantly connected over ethernet cable for remote access (mainly for software updates), while the wireless network is used for communication with other laptops.
Termination
The laptop will be the property of OLPC and you may be asked to return at any time.
Network layout
The network in the end will look something like this: Network layout
Currently the network is centered around buildings 62 and 64 (the two parallel buildings of East Campus), building E2 (Senior House) and E15 (Media Lab). There is a slight chance to achieve connectivity with building NE18 (OLPC at 1CC) and building E55 (Eastgate).
More laptops may be added, depending on availability and position in campus.