[arch-general] dhcpcd not working after install from custom iso

Anatol Pomozov anatol.pomozov at gmail.com
Thu Dec 18 02:06:24 UTC 2014


Hi

On Wed, Dec 17, 2014 at 10:22 PM, Christian Demsar
<vixsomnis at fastmail.com> wrote:
>
> I had internet connection when installing from an iso I built using the
> archiso tools, but dhcpcd isn't connecting any more (starting via
> sytemd). I've also had internet access in previous installs of archlinux
> and FreeBSD, so I don't think there's anything wrong with the hardware.
>
> [dmesg output] http://pastebin.com/vtVRid1Y
> [ip link output] http://pastebin.com/gaZxUCmf
>
> The device I'm using is listed as enp2s0. It hangs, even though it's set
> up (pastebin for proof). Waiting for carrier? I also noticed that at the
> bottom of my dmesg, it reports only IPv6, not IPv4. Is this normal
> behavior? I think my network only supports IPv4, for dhcp anyway.
>
> Since I have to register the addresses of the NICs with the ISP, only
> enp2s0 should hypothetically be able to connect, not enp1s0. This is
> also the first time I've had a problem with dhcpcd.
>
> If it makes a difference, I built a custom iso (base) and dropped the
> bcache-tools package in /etc so I could set that up. I made no other
> modifications to the bulid.
>
> dhcpcd is at version 6.6.4-1 and is fully up-to-date.
>
> == LOG SNIPPET ==
>
> dhcpcd at enp2s0.service - dhcpcd on enp2s0
> Loaded: loaded (/usr/lib/systemd/system/dhcpcd at .service; disabled)
> Active: failed (Result: exit-code) since Wed 2014-12-17 09:15:46 EST;
> 51s ago
> Process: 542 ExecStart=/usr/bin/dhcpcd -q -w %I (code=exited,
> status=1/FAILURE)

This log does not provide enough information information about the
failure. Run dhcpcd manually with debug enabled

sudo dhcpcd -q -w enp2s0 -d

And you'll have better luck to debug this problem by sending your
questions upstream maillist.

>
> Dec 17 09:15:16 vss dhcpcd[542]: version 6.6.4 starting
> Dec 17 09:15:16 vss dhcpcd[542]: enp2s0: waiting for carrier
> Dec 17 09:15:46 vss systemd[1]: dhcpcd at enp2s0.service: control process
> exited, code=exited status=1
> Dec 17 09:15:46 vss systemd[1]: Failed to start dhcpcd on enp2s0.
> Dec 17 09:15:46 vss systemd[1]: Unit dhcpcd at enp2s0.service entered
> failed state.
> Dec 17 09:15:46 vss systemd[1]: dhcpcd at enp2s0.service failed.
> --
> vixsomnis


More information about the arch-general mailing list