Last active
August 29, 2015 14:23
-
-
Save RobertCNelson/3e526af326660604a71f to your computer and use it in GitHub Desktop.
BBB Testers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
x15: (Master): | |
sudo dhclient eth1 | |
iptables --table nat --append POSTROUTING --out-interface eth0 -j MASQUERADE | |
iptables --append FORWARD --in-interface eth1 -j ACCEPT | |
echo 1 > /proc/sys/net/ipv4/ip_forward | |
BBB (Mini-Master): | |
debian@beaglebone:~$ lsblk | |
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT | |
mmcblk1boot0 179:16 0 1M 1 disk | |
mmcblk1boot1 179:24 0 1M 1 disk | |
mmcblk0 179:0 0 7.4G 0 disk | |
└─mmcblk0p1 179:1 0 7.4G 0 part /media/debian/storage | |
mmcblk1 179:8 0 3.7G 0 disk | |
├─mmcblk1p1 179:9 0 96M 0 part /media/debian/BEAGLEBONE | |
└─mmcblk1p2 179:10 0 3.6G 0 part / | |
# Ethernet/RNDIS gadget (g_ether) | |
iface usb0 inet static | |
address 192.168.8.2 | |
netmask 255.255.255.252 | |
network 192.168.8.0 | |
gateway 192.168.8.1 | |
echo "nameserver 8.8.8.8" >> /etc/resolv.conf | |
route add default gw 192.168.8.1 | |
BBB (slave-tester) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment