You are not logged in.
Hello,
My network connetion is fine most of the time but when I put the machine to a sleep state for a few times the dcpcd command does not work as usual and therefore I cannot connect to the network.
Here is the output I get when this occures:
sudo dhcpcd enp7s0
DUID 00:01:00:01:1c:a9:7c:5a:e0:db:55:f3:ef:15
enp7s0: IAID 55:f3:ef:15
enp7s0: soliciting an IPv6 router
enp7s0: soliciting a DHCP lease
enp7s0: no IPv6 Routers available
timed out
dhcpcd exited
How can I fix this the next time it happens?
Thanks.
Offline
Hello, please use code takes in future:
this is in code tags
Have you tried doing dhcpcd -k before issueing the command again, if this does not work pkill dhcpcd. Often solves it for me.
It is generally recommended to include - if possible - the error in the head. If dhcpcd *would* work properly you probably wouldn't post this anyways ;-)
Eg.: "dhcpcd - no IPv6 Routers available after sleep"
Additionally: I recommend - instead of manually "dhcpcd-ing" just using netctl-auto, which does this automatically.
It's 106 miles to Chicago we got a full tank of gas, half a pack of cigarettes, its dark and we're wearing sunglasses.
Offline
Any other ideas? Because I have tried killing the process, but it did not solve it ( kill - sigkill [id] ).
Offline
Can you provide a dmesg from the time you are running dhcpcd?
Maybe manually doing
ip link set down dev enp7s0
ip link set up dev enp7s0
might help.
It's 106 miles to Chicago we got a full tank of gas, half a pack of cigarettes, its dark and we're wearing sunglasses.
Offline
@OP: do you actually have an IPV6 connection?
If not, you can try turning off the IPV6 stack by using this kernel parameter:
ipv6.disable=1
Offline
The proposal from post #4 did not get any results.
Where exactly should I put
ipv6.disable=1
?
Also how should I restart my network clients, or something like that - I think it may help.
Offline
Where exactly should I put
ipv6.disable=1
?
It's a kernel parameter: https://wiki.archlinux.org/index.php/Kernel_parameters , as Head_on_a_Stick stated.
Offline