Correct the commands for setting up IP.
Of course adding an IP would be better.
This commit is contained in:
parent
a8f828cb42
commit
b60c1ba94f
|
@ -85,7 +85,8 @@ On my laptop I did these things to forward:
|
||||||
|
|
||||||
On the Pi:
|
On the Pi:
|
||||||
|
|
||||||
ip addr del 192.168.10.24/24 dev eth0
|
ip link set eth0 up
|
||||||
|
ip addr add 192.168.10.24/24 dev eth0
|
||||||
ip route add default via 192.168.10.1
|
ip route add default via 192.168.10.1
|
||||||
echo "nameserver 8.8.8.8" > /etc/resolv.conf'
|
echo "nameserver 8.8.8.8" > /etc/resolv.conf'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue