You are not logged in.

#1 2015-06-05 23:28:25

Konstantinos
Member
Registered: 2015-06-02
Posts: 10

Network remains unreachable after much googling - wiki

Hello. I just installed Arch and in the command: ping -c3 8.8.8.8, it responds that Network is unreachable. I did much googling and I read many articles on wiki, but nothing changed.

In the command ip a, it says that my wired Ethernet is the enp4s0, and the wireless wlp3s0.  Even the command systemctl enable dhcpcd@eth0.service did not help at all...

Internet connection exists when I use the live CD for installation Arch.

Offline

#2 2015-06-05 23:31:13

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

Re: Network remains unreachable after much googling - wiki

Konstantinos wrote:

In the command ip a, it says that my wired Ethernet is the enp4s0, and the wireless wlp3s0.  Even the command systemctl enable dhcpcd@eth0.service did not help at all...

Why would you expect that command to help? It is for a non-existent interface. Run it for enp4s0.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2015-06-05 23:32:56

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,734
Website

Re: Network remains unreachable after much googling - wiki

You should consult or re-consult the fine wiki to understand how to bring up a network interface.

Offline

#4 2015-06-05 23:46:38

Konstantinos
Member
Registered: 2015-06-02
Posts: 10

Re: Network remains unreachable after much googling - wiki

The command systemctl enable enp4s0.service says:
Failed to execute operation: No such file or directory

The command netctl enable my-network says:
Profile 'my-network' does not exist or is not readable

The command link set enp4s0 up says:
link: extra operand 'up'
Try 'link --help' for more information.

Nothing changes even after reboot.

Last edited by Konstantinos (2015-06-05 23:47:17)

Offline

#5 2015-06-05 23:50:16

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

Re: Network remains unreachable after much googling - wiki

Read the networking page: https://wiki.archlinux.org/index.php/Networking Nothing you are doing is even remotely right...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2015-06-06 00:02:24

Konstantinos
Member
Registered: 2015-06-02
Posts: 10

Re: Network remains unreachable after much googling - wiki

I think the problem in Configuration of IP address.

Offline

#7 2015-06-06 00:12:07

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

Re: Network remains unreachable after much googling - wiki

I think the problem is a failure to read the wiki, and a total lack of understanding of your system.

As documented in post #1, you don't have an eth0 interface. Therefore dhcpcd@eth0.service won't work.

There is no such service called enp4s0.service, so that won't work either.

Have you defined a network in netctl called "my-network"? If not, why would this work?

Take the time to read through the link that jasonwryan posted, as well as the following section of the beginners guide: https://wiki.archlinux.org/index.php/Beginners'_guide#Configure_the_network

Don't just run commands blindly. Read the man page and understand what each command does, and what they tell 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

#8 2015-06-06 00:21:00

Konstantinos
Member
Registered: 2015-06-02
Posts: 10

Re: Network remains unreachable after much googling - wiki

I am writing step by step what I am doing.  The command dhcpcd enp4s0 helped a little.

Now the command ping -c3 8.8.8.8 says that 3 packets received but the command ping -c3 www.google.com says: unknown host www.google.com

After reboot again network is unreachable. So now I am seeing resolv.conf wiki.

Offline

#9 2015-06-06 01:05:56

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

Re: Network remains unreachable after much googling - wiki

That is a good wiki to read, but that really is not the root cause of your probem -- at least it wasn't.  Have you, or have you not read the wiki that has been linked in post #5?  Have you, or have you not read the wiki page that was linked in post #7?
You want to configure your system to run DHCP at start up for your interface's name.   You did run it manually in post #8 and you got very close.  It should have worked.  I would not expect it to work after a reboot as you have not configured it to run after a boot.  Hint, maybe reread post #2.

The real question is, while you were ignoring us, what were you doing to your system to solve your perceived problems?


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

#10 2015-06-06 02:08:48

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,571
Website

Re: Network remains unreachable after much googling - wiki

To reiterate a point I had to make on your previous thread from yesterday:

Trilby wrote:

Konstantinos, this is only meant for your benefit, but perhaps archlinux isn't right for you yet ... The errors above suggest that you will have a hard time following the wiki and man page documentation - this will likely just lead to much greater frustration with archlinux even if you get it installed.  So perhaps tinker with some other distros for a while first.

https://bbs.archlinux.org/viewtopic.php … 0#p1534290

I truly believe arch is not a good fit for you currently.  And if you decide to try to push your way through, that is up to you, we would welcome you and do our best to help.  But if you continue as you are in this thread, you will quickly wear out that welcome.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB