0

Just did a fresh Arch install but when I ping 8.8.8.8 it says connect : Network is unreachable. I saved iptales rules in /etc/iptables/iptables.conf but they won't load at startup. ip a says that my interface enp5s0 state is DOWN.

Any idea how to fix this ? During the install from the USB stick I wasn't able to put a hostname because hostnamectl was saying that dbus was unavailable or something to that extent.

Do you have an idea on how to repair my internet in fresh Arch install ?

1 Answer 1

1

You should have correct device name. So change your interface name - if you've changed it to eth0 during installation - to enp5s0 in:

/usr/lib/systemd/system/[email protected]

Then you'll be able to enable it. You can bring your interface up by running :

ip link set dev enp5s0 up

and then obtain an IP from DHCP by running :

dhcpcd enp5s0

you can also enable [email protected] by running :

systemctl enable [email protected]

N.B. Your device name may be different, so check it first, and use all the commands above with the correct name of your interface.

6
  • thanks for your answer but it says dhcpd: command not found Commented Jul 23, 2016 at 8:14
  • How about the second option? Enabling it via systemctl, does it work?
    – user172564
    Commented Jul 23, 2016 at 8:46
  • @ChiseledAbs By the way, I think it was my typo mistake, the command itself is dhcpcd not dhcpd! I'm afraid mate. DHCPD is the Daemon, not the command.
    – user172564
    Commented Jul 23, 2016 at 8:48
  • dhcpcd enp5s0 worked fine and repaired the connection, do you know how I do to not to type this every boot ? Commented Jul 23, 2016 at 10:24
  • 1
    @ChiseledAbs Find your rc.conf and tell me what is inside it about your interfaces.
    – user172564
    Commented Jul 23, 2016 at 11:00

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .