Skip to content

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.

4 points11 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
4 · 100% up
Kind
Text
ID
607tll

Author

4
posts
9
comments
1
media
View profile

11 comments

Did you use dhcpcd to connect the device to the net first? It looks like the interface is up. Try "dhcpcd enp0s3"

1 points

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

1 points

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.

1 points

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

1 points

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.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.