You are not logged in.
Pages: 1
Hi this is my first post on the forums
So i have just finished a fresh arch install on a new computer and whenever i try to ping google i recive nothing
I realise what i have done wrong i just dont know how to correct my mistake
I folowed the beginners guide and under the Configure the network - Wired - Dynamic IP - Using dhcpcd i entered # systemctl enable dhcpcd@interface_name.service word for word
Insted i should have entered # systemctl enable dhcpcd@eth0.service but now my arch install will not connect to the internet. What should i do?
Offline
Ah, not sure if it really enabled something on "interface_name", but I think you could try to run # systemctl disable dhcpcd@interface_name.service .
Then simply # systemctl enable dhcpcd@eth0.service
Also make sure your device is really called eth0, it's not sure nowadays (use something like "ip link").
Regards
Last edited by rebootl (2014-07-12 17:37:02)
Personal website: reboot.li
GitHub: github.com/rebootl
Offline
Thanks for the quick responce
I have run # systemctl disable dhcpcd@interface_name.service but i am unsure as to how i find the name of my ethernet nic.
How can i find this?
Offline
This: https://wiki.archlinux.org/index.php/Be … uide#Wired
This section is for a static ip but it explains how to get the name. Also see the warning above there, for more info.
Personal website: reboot.li
GitHub: github.com/rebootl
Offline
Thanks for the quick responce
I have run # systemctl disable dhcpcd@interface_name.service but i am unsure as to how i find the name of my ethernet nic.
How can i find this?
You can simply run ifconfig in a terminal and it'll show you everything you've got, also, I'm not convinced you NIC will be eth0, will more likely be something like enp3s0 or if wireless wlo1 or stuff like that, unless you're lucky!
Since I'm pretty sure it won't start anything like "dhcpcd@interface_name.service" (it won't recognise it as a NIC), you shoul find that interface name of yours disabling (only to be sure) interface_name, then enabling things with the right NIC should solve it.
On the other hand, you're not forced to write the .service ![]()
So should be as easy as this:
sudo systemctl disable dhcpcd@interface_namesudo systemctl enable dhcpcd@NICLast edited by sugartest (2014-07-17 07:02:44)
An Arch Linux enthousiast and a Linux fan in general, mostly interrested in command line use, security issues, code learning and networks.
Offline
If you're going to use the beginners guide, use it properly. Just a few lines above the section you quoted, it says:
As a first step, identify the network interface name you want to configure the connection for with ip link.
Offline
Pages: 1