Network Resources: Difference between revisions

From OLPC
Jump to navigation Jump to search
Line 1: Line 1:
===Network tools/scripts===
===Network tools/scripts===
[http://wiki.laptop.org/images/b/b6/Olpc-netstatus.tar.gz olpc-netstatus] # Collects/Displays useful data regarding the Network configuration.
[http://wiki.laptop.org/images/b/b6/Olpc-netstatus.tar.gz olpc-netstatus] # Collects/Displays useful data regarding the Network configuration.
# It determines whether the XO is connected to
# It determines whether the XO is connected to
# Simple Mesh, School Mesh, Simple Wifi, School Wifi, or MPP.
# Simple Mesh, School Mesh, Simple Wifi, School Wifi, or MPP.
# It requires [http://wiki.laptop.org/images/5/5f/Sugar-telepathies.tar.gz sugar-telepathies] and [http://wiki.laptop.org/images/0/0d/Sugar-xos.tar.gz sugar-xos]
# It requires [http://wiki.laptop.org/images/5/5f/Sugar-telepathies.tar.gz sugar-telepathies] and [http://wiki.laptop.org/images/0/0d/Sugar-xos.tar.gz sugar-xos]
# to get the number of XOs seen in the mesh view,
# to get the number of XOs seen in the mesh view,
# and to list the active Telepathies with their status
# and to list the active Telepathies with their status
$olpc-netstatus
$olpc-netstatus

Revision as of 02:12, 10 May 2008

Network tools/scripts

olpc-netstatus    # Collects/Displays useful data regarding the Network configuration.
                    # It determines whether the XO is connected to 
                    # Simple Mesh, School Mesh, Simple Wifi, School Wifi, or MPP.
                    # It requires sugar-telepathies and sugar-xos
                    # to get the number of XOs seen in the mesh view,
                    # and to list the active Telepathies with their status

$olpc-netstatus

Model     : C2
Serial    : CSN74400049
MAC       : 00:17:C4:0C:CD:11

Build     : update.1 703
Firmware  : CL1 Q2D14 Q2D
Libertas  : 5.110.22.p1 

Nick      : W03
Uptime    : 01:12:06

IP eth0   : 172.18.0.250
IP msh0   : 169.254.5.77
DNS       : 172.18.0.1

Telepathy : gabble	
Jabber    : schoolserver.laptop.org
XOs       : 4

Essid     : zoom50
Channel   : 11

School    : schoolserver.laptop.org
Config    : School Wifi
olpc-log          # test

olpc-connections  # test

$olpc-connections

         |      msh0       |      eth0       |       dns       |salut|gabbl|     jabber      | xos
22:32:30 |  172.18.10.214  |                 |   172.18.0.1    | on  |     |                 | 20
22:41:53 |  172.18.10.214  |                 |   172.18.0.1    | on  |     |                 | 1
22:42:02 |                 |  18.85.18.254   |   18.85.2.138   |     | on  |   18.85.46.29   | 3
22:42:07 |  169.254.5.77   |  18.85.18.254   |   18.85.2.138   |     | on  |   18.85.46.29   | 3
...
olpc-mesh         # test

$olpc-mesh -t TABLE
 
         DA                  RA        ok  cost dir rate hop ttl exp(min) snr     precursor
1 00:17:c4:05:23:04  00:17:c4:0d:07:46  1   90   0    0   3   2    1683    53  00:17:c4:02:30:f9
2        W07         00:17:c4:0d:37:f5  1   77   0    0   2   3    1569    80  
3        W97                W07         1   90   0    0   3   2    1687    31  
4 00:17:c4:05:27:18  00:17:c4:0d:37:f5  1  123   0    0   3   2    1665    53  
...
olpc-xos          # test

$olpc-xos avahi

Time   : 01:18:46
Total  : 14
Failed : 1

Failed:'7188b385@xo-0D-07-46'
b1735675@xo-0C-DA-B0	172.18.0.246	W07
7188b385@xo-0D-07-46	169.254.3.65	x07
...
sugar-telepathies # These are used as libraries from the other scripts
sugar-xos         # to display the DBus XOs, and active Telepathies                    

The above scripts are all included in this package

action usb

Bugs

Update.1 Release Notes

Wireless Driver Required Changes

Tests

Collaboration Network Testbed

Peabody Laptops

Peabody Simple Wifi Tests

Peabody School Wifi Tests

Peabody Simple Mesh Tests

Peabody School Mesh Tests

Useful locations

/etc/resolv.conf                            # DNS server

/etc/dhcpd.conf                             # check whether the XO acts as an MPP

/etc/NetworkManager/mesh-start              # used to force a lower priority network configuration

/home/olpc/.sugar/default/config            # user information

/home/olpc/.sugar/default/nm/networks.cfg   # stores access points information

/var/log/messages                           # main log file

General Network Info

Test Network Configuration

Schoolserver Testing

XS Configuration Management

Cerebro

Turn on MPP Capability

Testing of Different Connection Configurations

Modify the Mesh Discovery Sequence

Mesh Technical Data

Mesh Forwarding Table

Wireless Driver Readme

Mesh Network Details

Mesh Network FAQ

Wireless

Establishing a Mesh Portal

Cozybit's MPP Utils