-
connect to edison via the console, not ssh
-
build bridge-utils
wget http://sourceforge.net/projects/bridge/files/bridge/bridge-utils-1.5.tar.gzwget http://www.linuxfromscratch.org/patches/blfs/svn/bridge-utils-1.5-linux_3.8_fix-1.patchpatch -Np1 -i ../bridge-utils-1.5-linux_3.8_fix-1.patch && autoconf -o configure configure.in && ./configure --prefix=/usr && make
-
cd /etc/systemd/network/ -
create the bridge device and network
-
vim br0.netdev[NetDev] Name=br0 Kind=bridge
-
vim br0.network[Match] Name=br0 [Network] DHCP=ipv4
-
-
change usb0.network to use the bridge
-
vim usb0.network[Match] Name=usb0 [Network] Bridge=br0 -
make hostapd use the bridge
vim /etc/hostapd/hostapd.conf- uncomment the line for
bridge=br0
-
copy over the udhcp client service file
cd ~/dapper-gcscp udhcpc-for-br0.service /lib/systemd/system/
-
enable the service file
systemctl enable udhcpc-for-br0.service
-
reboot the system and verify bridge is working
- connect a usb ethernet device to th OTG port
rebootbrctl showbridge name bridge id STP enabled interfaces br0 8000.0200860edb75 no usb0 wlan0ifconfig br0br0 Link encap:Ethernet HWaddr 02:00:86:0e:db:75 inet addr:192.168.2.4 Bcast:0.0.0.0 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:77 errors:0 dropped:0 overruns:0 frame:0 TX packets:379 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:13645 (13.3 KiB) TX bytes:22073 (21.5 KiB)
curl -4 icanhazip.com- connect laptop to the gcs approx
- browse to web page you never use, like www.yahoo.com =P
Last active
August 29, 2015 14:22
-
-
Save rayjanwilson/950cf45a730af856f805 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment