Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mesh over ethernet #121

Merged
merged 2 commits into from Oct 6, 2014
Merged

Mesh over ethernet #121

merged 2 commits into from Oct 6, 2014

Conversation

jheretic
Copy link
Member

@jheretic jheretic commented Oct 1, 2014

This pull request, in combination with opentechinstitute/luci-commotion#430, addresses opentechinstitute/commotion-router#128 and opentechinstitute/commotion-router#143 by changing the way that the bridge is handled for wired interfaces in different DHCP modes.

To test meshing over ethernet:

  • flash a node and run through setup wizard
  • In "Additional Network Interfaces," set the node to mesh over ethernet, with address 172.16.1.1 and netmask 255.255.0.0
  • Save changes and then login to the node over ssh. Check /etc/config/olsrd and /var/etc/olsrd.conf to see if they have an 'Interface' stanza for the ethernet interface, make sure the ethernet interface has the configured address, and that /etc/config/firewall has the 'wan' interface in the 'mesh' zone.
  • Perform the steps above for a second node, but set the address to 172.16.1.2
  • Connect the two nodes together via ethernet, and connect to the wireless AP of one node.
  • Check the status page to make sure that they are receiving routes via their ethernet interface. If they are meshing over wireless and you can't tell for certain which routes are for the ethernet interface, considering changing the wireless settings for the mesh interface on one node so that they no longer mesh wirelessly.

To test DHCP:

  • flash a node and run through setup wizard
  • In "Additional Network Interfaces," set the node to always give out DHCP leases.
  • Connect to the node's ethernet interface and make sure that you get a DHCP lease in the 10.0.0.0/8 range.
  • Connect to the node over SSH and use 'brctl show' to make sure the ethernet interface is part of bridge 'br-lan'.
  • In "Additional Network Interfaces," set the node to only ever request a DHCP lease.
  • Connect the node's ethernet port to an internet gateway.
  • Connect to the node's wireless AP and see if you have access to the internet.
  • Connect to the node over SSH and use 'brctl show' to make sure the ethernet interface is not part of bridge 'br-lan'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants