puter/incubator/x86emu/imagegen/config/networking.sh

6 lines
185 B
Bash
Raw Normal View History

2024-04-02 15:25:21 +00: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 1.1.1.1" > /etc/resolv.conf
dhcpcd -w4 enp0s5