You are not logged in.
Pages: 1
Hi there, arch linux lover/noob here.
I'm having trouble setting up my ethernet connection on my brand new arch system.
Following the instructions on https://wiki.archlinux.org/index.php/Ne … figuration.
So I runned:
ip link
sudo systemctl enable dhcpcd@enp11s0.service
sudo systemctl start dhcpcd@enp11s0.serviceand every thing went smooth.
But after reboot the netowork device name change to 'eth0' and I can't reconfigure.
Using the same commands throws error:
Failed to create mount unit file /run/systemd/generator/-.mount, as it already exists. Duplicate entry in /etc/fstab?
Can I get some help? Thanks in advance.
Last edited by nicooga (2013-04-22 01:59:33)
Offline
well you have to choose if you want to use predictive naming for the interfaces.
Check this section in the link you provided https://wiki.archlinux.org/index.php/Ne … vice_names
you can choose to remove the /etc/udev/rules.d/80-net-name-slot.rules file to use predictive naming for interfaces or if you want to use eth0/wlan0 etc, then your above commands should be changed to
sudo systemctl enable dhcpcd@eth0.service
sudo systemctl start dhcpcd@eth0.serviceThere's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
I ended reinstalling the system
... now I can't even set up my internet connection for the installation.
Runned the following:
# systemctl enable dhcpcd@eth0.service
# systemctl start dhcpcd@eth0.service
A dependency job for dhcpcd@eth0.service failed. See `journal -xn` for details.Offline
How about, instead of simply relying on those blind "enable" and "start" commands, you try to use the standard network tools to figure out what the interface names are before trying to start anything. Then maybe it might be good to try first just getting a dhcp lease by simply using dhcpcd directly on the interface in question (once you figure it out of course).
I think once you have done your homework and figured out what is what and how things are intended to work, the rest of the stuffs might make a bit more sense when you try enabling the services.
Offline
First find out what your network interface are with
ip addr. After that you can assign systemd service.
Did you see
A dependency job for dhcpcd@eth0.service failed. See `journal -xn` for details.the output of that suggestion?
Offline
Pages: 1