USB Network for SHR
Sharing your hosts network connection with your freerunner is pretty simple under Debian and Ubuntu. Create a script with the following code and you are done.
#!/bin/bash sudo iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24 sudo sysctl -w net.ipv4.ip_forward=1 sudo ip addr add 192.168.0.200/24 dev eth2 sudo ip link set eth2 up scp /etc/resolv.conf root@192.168.0.202:/etc/resolv.conf ssh -X root@192.168.0.202
No related posts.
No comments yet.