Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Enable Network Bridge on C.H.I.P. Computer
- #[on Desktop]
- brctl addbr br0
- brctl addif br0 <eth0> #change <eth0> to your network device
- ifconfig br0 192.168.1.123 netmask 255.255.0.0
- route add default gw 192.168.1.1
- #[on CHIP]
- nmcli connection add type ethernet con-name USB_Bridge ifname usb0
- nmcli connection up USB_Bridge
- #to shutdown [on Desktop]
- ifconfig br0 down
- brctl delbr br0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement