You are not logged in.

#1 2018-06-04 15:34:19

shillshocked
Member
Registered: 2014-02-07
Posts: 20

Can't get new arch install to connect via dhcpcd

Alright, in my old arch, I have no network problems, everything loads up fine at the start.

I recently installed the latest arch on a new drive (wanted to test out an ssd).

dhcpcd isn't working.

My internet provider is ipv4-only, and it times out on ipv4, while not getting an address with ipv6 (which makes sense since there are no ipv6 addresses available on the provider).

Is there a way besides static config to get the internet connected? (I would prefer dhcpcd if possible)

My old arch is all configured with a GUI, and I don't know its exact network config except that it works equally well on either static or DHCP through network manager.

My new arch is text-only so far as I want to get the Internet solid before I install a bunch of crap.

Any pointers on where I can start getting this solved?

Last edited by shillshocked (2018-06-04 15:36:28)

Offline

#2 2018-06-04 22:34:14

loqs
Member
Registered: 2014-03-06
Posts: 18,304

Re: Can't get new arch install to connect via dhcpcd

Please provide the commands you have used and their outputs.

shillshocked wrote:

My old arch is all configured with a GUI, and I don't know its exact network config except that it works equally well on either static or DHCP through network manager.

How did you initially install arch to get a GUI on the old system?

Offline

#3 2018-06-05 04:45:04

shillshocked
Member
Registered: 2014-02-07
Posts: 20

Re: Can't get new arch install to connect via dhcpcd

Too many to remember, as I've tried a variety of methods.

Here is the dhcp server log:

-- Logs begin at Tue 2018-05-28 12:55:28 +07, end at Mon 2018-06-03 22:39:39 +07. --
Jun 03 20:49:42 brokebox systemd[1]: Starting dhcpcd on all interfaces...
Jun 03 20:49:42 brokebox dhcpcd[481]: dev: loaded udev
Jun 03 20:49:42 brokebox dhcpcd[481]: forked to background, child pid 482
Jun 03 20:49:42 brokebox systemd[1]: Started dhcpcd on all interfaces.
Jun 03 20:49:42 brokebox dhcpcd[482]: DUID 00:01:00:01:23:a7:ed:e7:f4:f2:6d:94:9d:5d
Jun 03 20:49:42 brokebox dhcpcd[482]: enp3s0: IAID 6d:04:9d:5d
Jun 03 20:49:42 brokebox dhcpcd[482]: enp3s0: soliciting a DHCP lease
Jun 03 20:49:42 brokebox dhcpcd[482]: enp3s0: soliciting an IPv6 router
Jun 03 20:49:42 brokebox dhcpcd[482]: enp3s0: Router Advertisement from fe80::1
Jun 03 20:49:42 brokebox dhcpcd[482]: enp3s0: adding default route via fe80::1
Jun 03 20:49:42 brokebox dhcpcd[482]: enp3s0: soliciting a DHCPv6 lease
Jun 03 20:49:42 brokebox dhcpcd[482]: enp3s0: DHCPv6 REPLY: No Addresses Available
Jun 03 20:49:44 brokebox dhcpcd[482]: enp3s0: DHCPv6 REPLY: No Addresses Available
Jun 03 20:49:46 brokebox dhcpcd[482]: enp3s0: DHCPv6 REPLY: No Addresses Available
Jun 03 20:49:50 brokebox dhcpcd[482]: enp3s0: DHCPv6 REPLY: No Addresses Available
Jun 03 20:49:59 brokebox dhcpcd[482]: enp3s0: DHCPv6 REPLY: No Addresses Available
Jun 03 20:50:16 brokebox dhcpcd[482]: enp3s0: DHCPv6 REPLY: No Addresses Available
Jun 03 20:50:48 brokebox dhcpcd[482]: enp3s0: DHCPv6 REPLY: No Addresses Available
Jun 03 20:51:55 brokebox dhcpcd[482]: enp3s0: DHCPv6 REPLY: No Addresses Available
Jun 03 20:54:05 brokebox dhcpcd[482]: enp3s0: DHCPv6 REPLY: No Addresses Available
Jun 03 20:54:05 brokebox dhcpcd[482]: control command: dhcpcd --ipv4only
Jun 03 20:58:18 brokebox dhcpcd[482]: enp3s0: DHCPv6 REPLY: No Addresses Available
Jun 03 20:59:48 brokebox systemd[1]: Stopping dhcpcd on all interfaces...
Jun 03 20:59:48 brokebox dhcpcd[573]: sending signal TERM to pid 482
Jun 03 20:59:48 brokebox dhcpcd[573]: waiting for pid 482 to exit
Jun 03 20:59:48 brokebox dhcpcd[573]: sending signal TERM to pid 482
Jun 03 20:59:48 brokebox dhcpcd[573]: waiting for pid 482 to exit
Jun 03 20:59:48 brokebox dhcpcd[482]: received SIGTERM, stopping
Jun 03 20:59:48 brokebox dhcpcd[482]: enp3s0: removing interface
Jun 03 20:59:49 brokebox systemd[1]: Stopped dhcpcd on all interfaces.

I installed Arch many years ago, no problems then except I had to provide a better kernel driver. This time the driver is fine with a static config, but dhcp is broke with both dhcpcd and dhclient. I've tried various parameters and configs but keep getting time outs or no addresses available (on ipv6). I'm trying to use ipv4 though, as ipv6 isn't available with my provider. I even tried grub options to bypass ipv6 earlier.

Last edited by shillshocked (2018-06-05 05:29:31)

Offline

#4 2018-06-05 05:29:51

shillshocked
Member
Registered: 2014-02-07
Posts: 20

Re: Can't get new arch install to connect via dhcpcd

I also just disabled the ipv6 dhcp server so it's just serving ipv4 on my router. Still same: no result.

Offline

#5 2018-06-05 07:37:27

seth
Member
Registered: 2012-09-03
Posts: 61,233

Re: Can't get new arch install to connect via dhcpcd

This looks as if dhcpcd tries to restart --ipv4only and falls flat.
What if you start dhcpcd directly w/ this parameter?
You can also add it to dhcpd.conf (or use one of the noipv6* or nodhcp6 options - I frankly don't know how they all relate to each other, but at some point, dhcpcd should stop dhcpv6 solicitation)

Offline

#6 2018-06-05 08:04:59

shillshocked
Member
Registered: 2014-02-07
Posts: 20

Re: Can't get new arch install to connect via dhcpcd

Update, I did manage to get a dhcp config going via netctl.

Wonder why it won't work on the others?

Offline

#7 2018-06-05 14:07:04

seth
Member
Registered: 2012-09-03
Posts: 61,233

Re: Can't get new arch install to connect via dhcpcd

You'll have to provide more data to get an answer to this.
In particular the netctl profile and the exact way you attempted to start dhcpcd. Also a journal for the netctl connection would certainly be helpful ;-)

Offline

Board footer

Powered by FluxBB