You are not logged in.

#1 2013-06-24 14:05:32

Novicode
Member
Registered: 2013-06-24
Posts: 15

[Solved] connect: Network is unreachable

After 5 unsuccessful Arch Linux installations, I've got two that installed correctly. The first time, the network worked fine, and I was even installing it over SSH. After booting from the installed system instead of the live CD, it can't connect to the network, I get the following message when I try to ping anything, even my router:

connect: Network is unreachable

I've tried installing Arch again, because nothing on the internet seemed to fix my issue. After installing, I'm getting the same issue.

It appears it's failing to start eth0 because eth0 times out.

Last edited by Novicode (2013-06-24 15:43:52)

Offline

#2 2013-06-24 14:25:49

cris9288
Member
Registered: 2013-01-07
Posts: 348

Re: [Solved] connect: Network is unreachable

connect: Network is unreachable is such an unspecific error message, its now wonder you can't find anything to solve your problem. How are you connecting? Are you using?

# systemd enable dhcpd@eth0.service

anyways, regardless of how you are connecting, if you can't connect because eth0 times out I would suggest increasing the timeout value.

Offline

#3 2013-06-24 14:31:42

Novicode
Member
Registered: 2013-06-24
Posts: 15

Re: [Solved] connect: Network is unreachable

cris9288 wrote:

connect: Network is unreachable is such an unspecific error message, its now wonder you can't find anything to solve your problem. How are you connecting? Are you using?

# systemd enable dhcpd@eth0.service

anyways, regardless of how you are connecting, if you can't connect because eth0 times out I would suggest increasing the timeout value.

connect: Network is unreachable is the only information I have...I am connecting with an ethernet cable. I enabled a network profile that is an exact copy of /ect/netctl/examples/ethernet-static, as it should work, and all the default values should work on the network. Systemd fires a -bash: systemd: Command not found.

Offline

#4 2013-06-24 14:36:38

henk
Member
From: Weert, Netherlands
Registered: 2013-01-01
Posts: 334

Re: [Solved] connect: Network is unreachable

I think 'systemd' should be 'systemctl'.

Try

ip link

to see if your device is still called eth0.

Offline

#5 2013-06-24 14:40:10

Novicode
Member
Registered: 2013-06-24
Posts: 15

Re: [Solved] connect: Network is unreachable

henk wrote:

I think 'systemd' should be 'systemctl'.

Try

ip link

to see if your device is still called eth0.

What exactly should I look for? It spits out a bunch of info, but I'm not pasting it all here, as I can't copy and paste using SSH and its on a different computer, in a different room.

Offline

#6 2013-06-24 14:42:32

cris9288
Member
Registered: 2013-01-07
Posts: 348

Re: [Solved] connect: Network is unreachable

henk wrote:

I think 'systemd' should be 'systemctl'.

Try

ip link

to see if your device is still called eth0.


sorry about that. I did mean "systemctl".

Novicode wrote:
henk wrote:

I think 'systemd' should be 'systemctl'.

Try

ip link

to see if your device is still called eth0.

What exactly should I look for? It spits out a bunch of info, but I'm not pasting it all here, as I can't copy and paste using SSH and its on a different computer, in a different room.

that command gives you an enumerated list of your network interfaces. You should look to see if you have interface named eth0.

Last edited by cris9288 (2013-06-24 14:44:58)

Offline

#7 2013-06-24 14:45:26

henk
Member
From: Weert, Netherlands
Registered: 2013-01-01
Posts: 334

Re: [Solved] connect: Network is unreachable

% ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp5s1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT qlen 1000
    link/ether fc:75:16:59:9c:28 brd ff:ff:ff:ff:ff:ff

What you have to search for is like the second device. Its name should be something like enp?s?.

Last edited by henk (2013-06-24 14:46:10)

Offline

#8 2013-06-24 14:45:36

Novicode
Member
Registered: 2013-06-24
Posts: 15

Re: [Solved] connect: Network is unreachable

"systemctl enable eth0.service" gives a "Failed to issue method call: No such file or directory"

Offline

#9 2013-06-24 14:54:02

Novicode
Member
Registered: 2013-06-24
Posts: 15

Re: [Solved] connect: Network is unreachable

henk wrote:
% ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp5s1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT qlen 1000
    link/ether fc:75:16:59:9c:28 brd ff:ff:ff:ff:ff:ff

What you have to search for is like the second device. Its name should be something like enp?s?.

Yes, I do have 2 things like that. I was able to get a semi-legible image to show both commands.

[Image Redacted]

Last edited by Novicode (2013-06-24 15:05:47)

Offline

#10 2013-06-24 15:04:46

henk
Member
From: Weert, Netherlands
Registered: 2013-01-01
Posts: 334

Re: [Solved] connect: Network is unreachable

Your picture is way to big; someone will soon comment on that.
Anyway, from the looks of it your devices enp1s8 and enp1s0 are both down.
You should modify /etc/netctl/my-network/ethernet-static and use the according device name.
Then enable the correct service:

netctl enable my-network

https://wiki.archlinux.org/index.php/Be … #Static_IP

Offline

#11 2013-06-24 15:07:51

Novicode
Member
Registered: 2013-06-24
Posts: 15

Re: [Solved] connect: Network is unreachable

henk wrote:

Your picture is way to big; someone will soon comment on that.
Anyway, from the looks of it your devices enp1s8 and enp1s0 are both down.
You should modify /etc/netctl/my-network/ethernet-static and use the according device name.
Then enable the correct service:

netctl enable my-network

https://wiki.archlinux.org/index.php/Be … #Static_IP

my-network is a file, not directory. I'm assuming I need to modify interface to contain both of the devices then? I'll give it a shot.

Offline

#12 2013-06-24 15:12:49

Novicode
Member
Registered: 2013-06-24
Posts: 15

Re: [Solved] connect: Network is unreachable

It works! I replaced eth0 in the interface to enp1s8, however I have two network adapters, do I just use a comma to use both of them? How do I enable them both?

Offline

#13 2013-06-24 15:40:04

henk
Member
From: Weert, Netherlands
Registered: 2013-01-01
Posts: 334

Re: [Solved] connect: Network is unreachable

You can either
-create a new my-network (my-network2) for the second device
-If both devices should have the same ip-address, you could try the 'bonding'-file in the examples directory

Offline

#14 2013-06-24 15:43:25

Novicode
Member
Registered: 2013-06-24
Posts: 15

Re: [Solved] connect: Network is unreachable

Thank you for the help everyone, most importantly, thank you for getting me on my feet and connected to the network!

Offline

Board footer

Powered by FluxBB