Jump to content

LFS Troubleshooting wkwk: Difference between revisions

From Haidhi Wiki
Created page with "<syntyaxhighlight lang=bash> ip addr add 192.168.1.100/24 dev enp0s3 ip link set enp0s3 up ip route add default via 192.168.1.1 echo "nameserver 8.8.8.8" > /etc/resolv.conf </syntaxhighlight>"
 
No edit summary
Line 1: Line 1:
<syntyaxhighlight lang=bash>
<syntaxhighlight lang=bash>
ip addr add 192.168.1.100/24 dev enp0s3
ip addr add 192.168.1.100/24 dev enp0s3
ip link set enp0s3 up
ip link set enp0s3 up

Revision as of 11:01, 18 April 2025

ip addr add 192.168.1.100/24 dev enp0s3
ip link set enp0s3 up
ip route add default via 192.168.1.1
echo "nameserver 8.8.8.8" > /etc/resolv.conf