Originally Posted by
marriedto51
The file you refer to should be in /etc/udev/rules.d/ I think.
But I've always set a static IP using the Network Manager interface in the past. Have you tried the command nm-connection-editor?
Hi,
The file "70-persistent-net.rules" is NOT there.
$ ls /etc/udev/rules.d/
60-vboxadd.rules
This is my first time running;
$ nm-connection-editor
Code:
** (nm-connection-editor:2881): WARNING **: Invalid setting IPv4 Settings: addresses
** (nm-connection-editor:2881): WARNING **: Invalid setting IPv4 Settings: addresses
Network Connections
Ethernet
Wired connection 1 1 minute ago
System p2p1 9 hours ago
p2p1 9 hours
highlight "Wired connection 1 -> Edit
IPv4 Settings
Method [Automatic (DHCP) address only]
change it to [Manual]
Addresses
Address 192.168.0.117
Netmask 255.255.255.0
Gateway 192.168.0.1
DNS servers xxx.xxx.xxx.xxx
Search domains [blank]
DHCP client ID [blank]
[check] Require IPv4 addressing for this connection to complete
IPv6 Settings
Method [Automatic]
unaltered.
-> Save
-> Close
Reboot
$ sudo ifconfig
Code:
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 520 bytes 45160 (44.1 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 520 bytes 45160 (44.1 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
p2p1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.117 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fe80::a00:27ff:feeb:881b prefixlen 64 scopeid 0x20<link>
ether 08:00:27:eb:88:1b txqueuelen 1000 (Ethernet)
RX packets 2 bytes 120 (120.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 28 bytes 4164 (4.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Static IP set. Thanks
Rgds
satimis