v86/tools/docker/debian/networking.sh

5 lines
167 B
Bash
Raw Normal View History

2018-10-21 20:54:49 +02:00
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