The Edison is configured to be a WiFi Access Point (AP) via wlan0. It is also connected to the internet with a usb-ethernet device via usb0. Users who connect to the Edison AP will not be able to browse the internet unless a bridge is made between wlan0 and usb0. We want to create the bridge and have it obtain the network configuration from DHCP over the usb-ethernet device.
These instructions configure the bridge and install a systemd service for bringing up the bridge during system boot.
All files are attached for convenience while the content of those files are also presented here just in case they become unavailable as attachments for some unforeseen reason.
There are undoubtedly alternative methods to achieve the same outcome. Let's share and discuss them
Note: The instructions were originally written in markdown, however these forums do not support it. Furthermore, using
tags do not render the code blocks as expected.
Please understand I'm attempting to reformat the instructions for these forums.Enable WiFi AP mode
autoconf -o configure configure.in &&
./configure --prefix=/usr &&
- make hostapd use the bridge
Description=udhcp client for usb ethernet bridge
ExecStart=/sbin/udhcpc -i br0 -p /var/run/udhcpc-br0.pid -S
bridge name bridge id STP enabled interfaces
br0 8000.0200860edb75 no usb0
br0 Link encap:Ethernet HWaddr 02:00:86:0e:db:75
inet addr:192.168.2.4 B...