You are not logged in.

#1 2016-03-21 22:04:54

Fallenalien22
Member
Registered: 2016-03-21
Posts: 8

Cannot connect to internet after fresh install

This is my first time installing arch linux outside of virtualbox. The install went smoothly. I rebooted my system and took out my live usb. When I booted back in, I had no wired internet connection. I googled around for a bit and found this:

systemctl enable dhcpcd@eth0.service
systemctl start dhcpcd@eth0.service

`The first command ran with no problems. The second one hangs. I checked the logs with `journalctl -xe`. That gave this:

...sys-subsystem-net-devices-eth0.device: Job sys-subsystem-net-devices-eth0.device/start timed out.
-- Subject: Unit sys-subsystem-net-devices-eth0.device has failed
-- Defined-By: systemd
...

Sorry I didn't include more of the logs, I had to type all that out from my other computer across the room.

Last edited by Fallenalien22 (2016-03-21 22:07:45)

Offline

#2 2016-03-21 22:08:45

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Cannot connect to internet after fresh install

Is your interface actually called eth0?

Don't google around: read the networking page on the wiki.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2016-03-21 22:16:31

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,612

Re: Cannot connect to internet after fresh install

What happens if you just run (as root) dhcpcd

If it does not work, post the output here


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#4 2016-03-21 22:27:57

Fallenalien22
Member
Registered: 2016-03-21
Posts: 8

Re: Cannot connect to internet after fresh install

jasonwryan wrote:

Don't google around: read the networking page on the wiki.

I tried that. Got confused.

Offline

#5 2016-03-21 22:31:29

Fallenalien22
Member
Registered: 2016-03-21
Posts: 8

Re: Cannot connect to internet after fresh install

ewaller wrote:

What happens if you just run (as root) dhcpcd

If it does not work, post the output here

That seems to have worked. I got this output:

dev: loaded udev
no interfaces have a carrier
forcked to background, ghild pid 344

Thanks for your answer. Is the `no interfaces have a carrier` thing normal?

Offline

#6 2016-03-21 22:44:21

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: Cannot connect to internet after fresh install

How did you install Arch? Did you use the Beginners' Guide? Is the networking section in the guide also too confusing?

https://wiki.archlinux.org/index.php/Be … he_network

jasonwryan wrote:

Is your interface actually called eth0?

You will need to answer this before you can make your network connection work correctly with systemctl.

Last edited by 2ManyDogs (2016-03-21 22:48:19)

Offline

#7 2016-03-21 22:57:59

Fallenalien22
Member
Registered: 2016-03-21
Posts: 8

Re: Cannot connect to internet after fresh install

2ManyDogs wrote:

How did you install Arch? Did you use the Beginners' Guide? Is the networking section in the guide also too confusing?

https://wiki.archlinux.org/index.php/Be … he_network

jasonwryan wrote:

Is your interface actually called eth0?

You will need to answer this before you can make your network connection work correctly with systemctl.

No I used the installation guide. It is working fine now.

Offline

#8 2016-03-21 23:00:56

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: Cannot connect to internet after fresh install

Did you figure out what your ethernet interface is called?

Offline

#9 2016-03-21 23:05:44

Fallenalien22
Member
Registered: 2016-03-21
Posts: 8

Re: Cannot connect to internet after fresh install

2ManyDogs wrote:

Did you figure out what your ethernet interface is called?

e1000e

Offline

#10 2016-03-21 23:19:16

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,408
Website

Re: Cannot connect to internet after fresh install

....no, that's a module name.

See https://wiki.archlinux.org/index.php/Ne … vice_names

Also, if you have trouble comprehending Arch wiki articles, perhaps a do-it-yourself distro like Arch isn't the best choice for you?


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#11 2016-03-21 23:45:28

Fallenalien22
Member
Registered: 2016-03-21
Posts: 8

Re: Cannot connect to internet after fresh install

WorMzy wrote:

....no, that's a module name.

See https://wiki.archlinux.org/index.php/Ne … vice_names

Also, if you have trouble comprehending Arch wiki articles, perhaps a do-it-yourself distro like Arch isn't the best choice for you?

Usually I'm pretty good ad understanding the wiki. My problem here was I needed to run back and fourth between my two computers which was very annoying. I wasn't really reading in depth because I wanted to get online. I'm not too new to arch and I absolutely love the AUR.

Offline

#12 2016-03-21 23:47:13

Fallenalien22
Member
Registered: 2016-03-21
Posts: 8

Re: Cannot connect to internet after fresh install

WorMzy wrote:

So would it be enp0s25?

Offline

#13 2016-03-21 23:55:31

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: Cannot connect to internet after fresh install

Fallenalien22 wrote:
WorMzy wrote:

So would it be enp0s25?

Arch Wiki wrote:

Current NIC names can be found via sysfs or ip link.

What is the output of "ip link"?

Offline

#14 2016-03-22 00:04:55

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,408
Website

Re: Cannot connect to internet after fresh install

Fallenalien22 wrote:
WorMzy wrote:

So would it be enp0s25?

Possibly. All the information you need has been pointed out for you, you should be able to identify the device from that information.

Don't be be a help vampire.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#15 2016-03-22 00:08:33

Fallenalien22
Member
Registered: 2016-03-21
Posts: 8

Re: Cannot connect to internet after fresh install

2ManyDogs wrote:

What is the output of "ip link"?

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp0s25: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
    link/ether 00:1e:37:38:e6:28 brd ff:ff:ff:ff:ff:ff

Offline

#16 2016-03-22 03:58:39

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,612

Re: Cannot connect to internet after fresh install

Fallenalien22 wrote:

Thanks for your answer. Is the `no interfaces have a carrier` thing normal?

Nope.  That is probably your root cause. 

Generally (but not always) that means the cable is not plugged in.  You did check that, right?
Are the link lights on on the Ethernet port on your computer? On your router?

Last edited by ewaller (2016-03-22 03:59:03)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB