You are not logged in.

#1 2020-01-14 20:40:03

no_signal
Member
Registered: 2019-10-03
Posts: 4

[SOLVED?] Assigning IPv4

Hi,

I am having trouble with my laptop getting an IPv4 address through a wired connection. I had the issue with WiFi too but I fixed it by adding noipv6rs and noipv6 to the dhcpcd.conf and disabling IPv6 configuration at the Network Manager.
I tried to disable the IPv6 configration for wired connections through Network Manager but with no luck.

ifconfig outpout:

enp0s25: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 3c:97:0e:93:03:f9  txqueuelen 1000  (Ethernet)
        RX packets 902  bytes 418432 (408.6 KiB)
        RX errors 0  dropped 1  overruns 0  frame 0
        TX packets 941  bytes 114138 (111.4 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 20  memory 0xf1500000-f1520000

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 755  bytes 61547 (60.1 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 755  bytes 61547 (60.1 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.7  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 2a02:587:7104:9c00:6e88:14ff:fe3e:de40  prefixlen 64  scopeid 0x0<global>
        inet6 fe80::6e88:14ff:fe3e:de40  prefixlen 64  scopeid 0x20<link>
        ether 6c:88:14:3e:de:40  txqueuelen 1000  (Ethernet)
        RX packets 3138  bytes 2418939 (2.3 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 3299  bytes 415451 (405.7 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Any suggestions on how to fix this?
Thank you.

Last edited by no_signal (2020-01-17 10:31:38)

Offline

#2 2020-01-14 20:43:13

seth
Member
Registered: 2012-09-03
Posts: 49,951

Re: [SOLVED?] Assigning IPv4

to the dhcpcd.conf and disabling IPv6 configuration at the Network Manager

Are you maybe concurrent network daemons?

systemctl list-unit-files --state=enabled

Short version: don't. You wired ethernet has a carrier, but no lease at all and that likely is because the concurrent daemons knock each other out.

Offline

#3 2020-01-14 20:50:29

no_signal
Member
Registered: 2019-10-03
Posts: 4

Re: [SOLVED?] Assigning IPv4

So if I disable Network Manager or dhcpcd it will be fixed?

Offline

#4 2020-01-14 20:52:33

seth
Member
Registered: 2012-09-03
Posts: 49,951

Re: [SOLVED?] Assigning IPv4

"Potentially" - depends on
1. how many more services you're running
2. whether there're further issues

Limiting the amount of NIC controlling services to 1 is however mandatory, everything else will cause trouble for sure.

Offline

#5 2020-01-16 19:12:09

no_signal
Member
Registered: 2019-10-03
Posts: 4

Re: [SOLVED?] Assigning IPv4

Sorry for the late reply. I deleted Network Manager, I lost all internet connection and I didnt know how to fix that other than downloading it from an other computer and installing it offline to my laptop.
The reinstall fixed the problem though. Not for the long though probably I am sure. I really need to learn how networking works...
Thank you

Last edited by no_signal (2020-01-16 19:14:21)

Offline

Board footer

Powered by FluxBB