You are not logged in.
After some searching, I've found https://bbs.archlinux.org/viewtopic.php?id=165720
But the solution didn't work for me. Or I did something wrong.
I've installed Arch Linux normally, but, when I log in, it has no internet.
I couldn't install xorg, or anything, because pacman won't do anything without internet.
Thus, I do not have access to copy paste. Try not to ask for commands which displays a huge output for me to type the result .
ping www.google.com
ping: www.google.com: Temporary failure in name resolution.
ping 8.8.8.8
connect: Network is unreachable
"ip link" command lists two interfaces: lo, enp2s0.
Initially it was down, but manually enabling it with "ip link set enp2s0 up" didn'twork.
Running "netctl list" returns nothing. When I manually did my own network file, copying ethernet-static from /etc/netctl/examples and changing from eth0 to enp2s0, and enabled it with "netctl enable mynetwork" it didn't work.
I have no idea what else to do. I think I'll reinstall it again and try your suggestions/solutions with a freshly reinstalled system.
Any help would be welcome.
It is my first time trying to install Arch Linux.
Also: How do I post code with that neat blue squary background?
Last edited by Physicist137 (2018-07-26 14:47:02)
Offline
for now, try sudo dhcpcd
Edit: I assume you have your wired connection connected to a router
Last edited by ewaller (2018-07-20 16:26:54)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
It sounds like you skipped the link to Network Configuration in the installation guide.
You need to enable a networking service. The thread you linked to had a proper solution for the time - however it was a bit outdated. Some time ago network interface naming changed, so if you literally tried `systemctl enable dhcpcd@eth0` as described in that thread, that would not help. You need to replace 'eth0' with your interface - in this case 'enp2s0'.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I usually have to run "systemctl start dhcpcd".
you should also enable it afterwards, "systemctl enable dhcpcd". this allows it to start on bootup
Offline
for now, try sudo dhcpcd
Edit: I assume you have your wired connection connected to a router
That worked immediately after I typed it.
Thanks!
Though later on I decided to reinstall the system, and I used the other one.
Offline
I usually have to run "systemctl start dhcpcd".
you should also enable it afterwards, "systemctl enable dhcpcd". this allows it to start on bootup
I never tested your command because the other two worked when I did.
But thanks for your help anyway .
Last edited by Physicist137 (2018-07-26 14:48:05)
Offline
It sounds like you skipped the link to Network Configuration in the installation guide.
You need to enable a networking service. The thread you linked to had a proper solution for the time - however it was a bit outdated. Some time ago network interface naming changed, so if you literally tried `systemctl enable dhcpcd@eth0` as described in that thread, that would not help. You need to replace 'eth0' with your interface - in this case 'enp2s0'.
I've reinstalled the operating system, and this command worked for me. Internet began to work once I did it.
Thanks very much! By the way, I am already replying this from my arch linux .
Last edited by Physicist137 (2018-07-26 14:47:42)
Offline