networking.sh 167 B

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