v86/tools/docker/debian/networking.sh
2020-12-31 19:14:34 -06:00

5 lines
167 B
Bash

rmmod ne2k-pci && modprobe ne2k-pci
ifconfig enp0s5 192.168.1.5 netmask 255.255.255.0 up
route add default gw 192.168.1.1
echo "nameserver 8.8.8.8" > /etc/resolv.conf