Help with network (new installation)
Hey guys! I'm new to using Arch, and I just finished setting it up. I was going to install a desktop environment, and when I tried to install it, I got spammed with a bunch of error messages. So, I tried pinging google, which didn't work. Then, I tried pinging myself, which actually did work. I'm pretty confused because I was just able to install it succesfully and pinging it earlier yielded positive results. I have included screencaps of pinging myself, google, and using the ip a command here . I'm really sorry for bothering you guys but I really want to get this going. Thanks for the help. [edit]: It may be worth noting I am running this version of arch on virtualbox
Edited 19 Mar 2017. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 4 · 100% up
- Kind
- Text
- ID
- 607tll
11 comments
Did you use dhcpcd to connect the device to the net first? It looks like the interface is up. Try "dhcpcd enp0s3"
First of all- thanks so much for the help. Whenever I try to run dchpcd I get this: -bash: dchpcd: command not found (happens with almost every command)
This is really strange because it was working while I was installing it and everything else
It is dHCpcd. Try one more time. I just wish i knew why they gave such a useful function such an obscure name...
Wait, you are not supposed to run dhcpcd from command line.
systemctl --enable dhcpcd
is what you want to do, supposed that you have installed system correctly.
If you dont' have it installed, boot from installation media, mount your system, chroot and install it, but I am quite sure you have it installed. If you have followed installation guide from arch wiki, you probably have it installed and that is all you have to do.
However I am confused with your original post: when you say you have "setupped" the OS, you mean you have install it. From downloaded media? Did you have internet during the installation? If you had it during installation that your hardware and internet works fine. And the problem is in enabling dhcpcd. If you didn't have internet during installation, than you will have to do some error searching. As suggested in a comment below it might be your hardware. Do you run with wifi or network cable. Be sure to have correct drivers loaded. If you are on wifi, you can try at least for installation to run with network from router to computer and see if it works.
A couple of things you might wanna try:
Check /etc/systemd/network/ and get rid of any DHCP=yes entries
Temporarily disable systemd-networkd
Check if your routing's working, route add default gw your gateway here
Assign IP manually using the kernel parameter "ip"
Make sure networkmanager's not messing with your connection (disable it?)
That's all I can come up with
One of the most important prerequisites of installing a distribution similar to arch linux is to know your hardware. If you know your hardware, you know what packages you need in order to have a working computer at the end of install.