You are not logged in.

#1 2014-07-12 17:26:43

lukegun1
Member
Registered: 2014-07-12
Posts: 3

Cannot connect to my network

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

#2 2014-07-12 17:34:37

rebootl
Member
Registered: 2012-01-10
Posts: 431
Website

Re: Cannot connect to my network

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

#3 2014-07-12 17:42:29

lukegun1
Member
Registered: 2014-07-12
Posts: 3

Re: Cannot connect to my network

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

#4 2014-07-12 17:56:01

rebootl
Member
Registered: 2012-01-10
Posts: 431
Website

Re: Cannot connect to my network

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

#5 2014-07-17 07:01:01

sugartest
Member
Registered: 2014-07-09
Posts: 38

Re: Cannot connect to my network

lukegun1 wrote:

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 wink

So should be as easy as this:

sudo systemctl disable dhcpcd@interface_name
sudo systemctl enable dhcpcd@NIC

Last 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

#6 2014-07-17 07:18:55

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Cannot connect to my network

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

Board footer

Powered by FluxBB