fixed ip setting
This commit is contained in:
parent
0779820afa
commit
23c4e9cd2f
|
@ -117,7 +117,7 @@ And add the following 4 lines at the end:
|
||||||
```
|
```
|
||||||
auto enx000ec6612921
|
auto enx000ec6612921
|
||||||
iface enx000ec6612921 inet static
|
iface enx000ec6612921 inet static
|
||||||
address 192.168.123.161
|
address 192.168.123.162
|
||||||
netmask 255.255.255.0
|
netmask 255.255.255.0
|
||||||
```
|
```
|
||||||
Where the port name have to change to your own.
|
Where the port name have to change to your own.
|
||||||
|
|
|
@ -4,5 +4,5 @@ sudo ifconfig lo multicast
|
||||||
sudo route add -net 224.0.0.0 netmask 240.0.0.0 dev lo
|
sudo route add -net 224.0.0.0 netmask 240.0.0.0 dev lo
|
||||||
|
|
||||||
sudo ifconfig enx000ec6612921 down
|
sudo ifconfig enx000ec6612921 down
|
||||||
sudo ifconfig enx000ec6612921 up 192.168.123.161 netmask 255.255.255.0
|
sudo ifconfig enx000ec6612921 up 192.168.123.162 netmask 255.255.255.0
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue