Difference between revisions of "Mesh/Firmware/Overview"

From Sudo Room
Jump to navigation Jump to search
Line 33: Line 33:
  
 
If you'd like to add your ssh key to the router (instead of using a root password), add it to the <tt>configs/authorized_keys</tt> file. You'll see that there are 3 other keys there for our developers. You can remove them if you'd like, but they're currently the only way we can provide remote support. During the alpha test phase we ask that you consider whether you are able to do diagnostics/debugging yourself before you remove them.
 
If you'd like to add your ssh key to the router (instead of using a root password), add it to the <tt>configs/authorized_keys</tt> file. You'll see that there are 3 other keys there for our developers. You can remove them if you'd like, but they're currently the only way we can provide remote support. During the alpha test phase we ask that you consider whether you are able to do diagnostics/debugging yourself before you remove them.
 +
 +
= Discovering Interfaces =
 +
 +
Run <tt>ip addr show</tt> to discover the IP addresses assigned to your home node. Use <tt>iw addr show</tt> to see the wireless interfaces that are configured.
 +
 +
<tt>iw phy</tt> will display physical interfaces and capabilities, seeing each radio that is available.
 +
 +
<tt>iw dev</tt> will display devices
 +
 +
<tt>swconfig</tt> is an OpenWRT binary for switch configuration. The routers have a switch that can be used to recognized VLANs. You 5 different ethernet devices,
 +
but it's not that there are 5 different ethernet interfaces, but it's instead
 +
a switch that uses VLANS. You can configure traffic coming in on a specific
 +
VLAN so that it can be recognized (VLAN tagged) and routed as needed.
 +
 +
You can have multiple layer 2 ethernet networks on the same wire.

Revision as of 21:32, 4 May 2016

Accessing Home Node via SSH

Your home node is accessible via the Dropbear Secure Shell (SSH) server.

Network Settings

The private network configuration uses the 172.22.0.x network.

Reconfigure your machine to use the following network settings, then connect it to Ethernet port 1 to connect on the local private network interface.

  • IP Address: 172.22.0.9
  • Netmask: 255.255.255.0
  • Gateway: 0.0.0.0

See Network Configuration Guides: Linux Mac

Default Build Configuration

The IP address of your home node is 172.22.0.1 prior to configuration via the makenode utility. You can SSH into the node as root using the password 'meshtheplanet'.

Post Makenode Configuration

The IP of your home node on the private network is 172.30.0.1, with the root password you specified when running makenode to configure it.

 ssh root@172.30.0.1
 The authenticity of host '172.30.0.1 (172.30.0.1)' can't be established.
 RSA key fingerprint is b8:9d:4a:2f:1b:f5:e1:ae:b8:19:5b:70:92:8b:7f:34.
 Are you sure you want to continue connecting (yes/no)? 

After accepting the key by entering 'yes' and pressing ENTER, it will ask you for the root password.

SSH Keys

If you'd like to add your ssh key to the router (instead of using a root password), add it to the configs/authorized_keys file. You'll see that there are 3 other keys there for our developers. You can remove them if you'd like, but they're currently the only way we can provide remote support. During the alpha test phase we ask that you consider whether you are able to do diagnostics/debugging yourself before you remove them.

Discovering Interfaces

Run ip addr show to discover the IP addresses assigned to your home node. Use iw addr show to see the wireless interfaces that are configured.

iw phy will display physical interfaces and capabilities, seeing each radio that is available.

iw dev will display devices

swconfig is an OpenWRT binary for switch configuration. The routers have a switch that can be used to recognized VLANs. You 5 different ethernet devices, but it's not that there are 5 different ethernet interfaces, but it's instead a switch that uses VLANS. You can configure traffic coming in on a specific VLAN so that it can be recognized (VLAN tagged) and routed as needed.

You can have multiple layer 2 ethernet networks on the same wire.