manually bring up network on eth0

ip link set eth0 up
ip addr add 192.168.1.100/24 broadcast 192.168.1.255 dev eth0
ip route add default via 192.168.1.1
echo "nameserver 1.1.1.1" > /etc/resolv.conf

Or

ifconfig eth0 up
ifconfig eth0 192.168.1.100 netmask 255.255.255.0 broadcast 192.168.1.255
route add default gw 192.168.1.1
echo "nameserver 1.1.1.1" > /etc/resolv.conf

Leave a Reply

Your email address will not be published. Required fields are marked *

Are we human, or are we dancers ? *