puter/incubator/x86emu/imagegen/config/networking.sh
2024-04-02 18:25:21 +03:00

6 lines
185 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 1.1.1.1" > /etc/resolv.conf
dhcpcd -w4 enp0s5