YMMV

* your mileage may vary

Wednesday, 30 April 2014

Beaglebone Black (BBB) Network / Internet Connection via USB

on desktop:
sudo iptables -A POSTROUTING -t nat -j MASQUERADE
echo 1 | sudo tee /proc/sys/net/ipv4/ip_forward > /dev/null

on bbb:
this is in bbbconnect.sh (just run ./bbbconnect.sh)
/sbin/route add default gw 192.168.7.1
echo "nameserver 8.8.8.8" >> /etc/resolv.conf

ntpdate -u pool.ntp.org

test by:
ping google.com

No comments:

Post a Comment