LFS Troubleshooting wkwk: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
= Set IP Manual = | |||
<syntaxhighlight 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 | ||
Revision as of 00:59, 19 April 2025
Set IP Manual
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