You are not logged in.

#1 2015-05-20 20:40:00

Noqrax
Member
Registered: 2014-09-17
Posts: 8

Connection suprisely works without dhcpcd

When I  installed my system I forgot to set-up connection, and I couid not connect to any site, or just ping 8.8.8.8. But today I found, that I easily connect to any site without dhcpcd.

PC1-noqrax[~]: ps -e | grep dhcpcd
  667 ?        00:00:00 dhcpcd
PC1-noqrax[~]: ping -c3 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=48 time=48.2 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=48 time=48.1 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=48 time=48.2 ms

--- 8.8.8.8 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 48.181/48.221/48.271/0.183 ms
PC1-noqrax[~]: sudo systemctl stop dhcpcd.service
PC1-noqrax[~]: ps -e | grep dhcpcd
PC1-noqrax[~]:ping -c3 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=48 time=48.2 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=48 time=48.1 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=48 time=48.2 ms

--- 8.8.8.8 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 48.191/48.217/48.256/0.255 ms

Please clarify it to me!

Offline

#2 2015-05-20 21:25:51

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Connection suprisely works without dhcpcd

Read the wiki: https://wiki.archlinux.org/index.php/Ne … IP_address

$ ps -e | grep dhcpcd
$ ps -e | grep systemd-network
  231 ?        00:00:00 systemd-network

Offline

#3 2015-05-20 21:51:38

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: Connection suprisely works without dhcpcd

By default (at least I'm pretty sure I never changed anything) /etc/dhcpcd.conf has "persistent" set, so the interfaces stay configured after dhcpcd exits (but the leases won't be renewed).

Offline

#4 2015-05-21 16:38:08

Noqrax
Member
Registered: 2014-09-17
Posts: 8

Re: Connection suprisely works without dhcpcd

Raynman wrote:

By default (at least I'm pretty sure I never changed anything) /etc/dhcpcd.conf has "persistent" set, so the interfaces stay configured after dhcpcd exits (but the leases won't be renewed).

Thank you, you are right!

Offline

Board footer

Powered by FluxBB