You are not logged in.

#1 2018-01-23 07:53:39

picarica
Member
Registered: 2018-01-23
Posts: 48

[SOLVED]network doesnt work after installation

soo i just installed arch linux to my virtualbox cuz i am scared to installing to my hard drive aaand i was installing did every step network worked perfectly then i unplug installation media reboot to my arch and nothing is working

i created user just like in tutorial and then i wanted pacman -S xfce4 xfce4-goodies and it says some mirror error
then i ping 8.8.8.8 output is : connect: Network is unreachable

what now ? i tried

ip link
output is
1: lo
2: enp0s3: and some long numbers

then i tried
ip link set enp0s3 up
output of ping is the same , i tried setting up static ip adress too , same problem

any help ? i can provide you with more information if it will help you to help me

thanks

Last edited by picarica (2018-02-12 10:29:52)

Offline

#2 2018-01-23 08:32:09

ayekat
Member
Registered: 2011-01-17
Posts: 1,632

Re: [SOLVED]network doesnt work after installation

Have you set up networking on your installed system? The installation medium is a separate system, and whether something works there has nothing to do with how you set up your system on the (virtual) hard disk.

--edit: As various posters below have pointed out, dhcpcd is one solution to your problem. But still, please read the linked Wiki article, to get a more general idea of how to manage networking on Arch Linux.

--edit2: *sigh*

Last edited by ayekat (2018-01-24 08:20:37)


pkgshackscfgblag

Offline

#3 2018-01-23 12:49:24

kpuku
Guest

Re: [SOLVED]network doesnt work after installation

Just try dhcpcd

#4 2018-01-23 14:23:23

shera10001
Member
Registered: 2018-01-23
Posts: 34

Re: [SOLVED]network doesnt work after installation

systemctl enable dhcpcd

Use the above command. The installation image automatically starts the dhcpcd service so users don't have to manually connect to the internet, it is already there when one boots up with the installation image. So use the above command once you have booted up, and all interfaces will be connected to the internet if possible (or so I think, I'm new too, but this is how I made my connection permanent, so now whenever I boot up the internet is already up and running and ping works).

Or if you know which interface you want to connect to the internet with, in your case either "lo" or  "enp0s3" just use the command -
dhcpcd <interface name> where <interface name> is lo or enp0s3. See if this works. I am new, so wait for someone more experienced to answer this.

Offline

#5 2018-01-23 18:21:58

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

Re: [SOLVED]network doesnt work after installation

picarica,

Welcome to Arch Linux. 
With your future posts, please consider our community standards for posts.  https://wiki.archlinux.org/index.php/Co … ow_to_post (Bullet 2, including capitalization and punctuation)


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

#6 2018-01-24 07:17:15

picarica
Member
Registered: 2018-01-23
Posts: 48

Re: [SOLVED]network doesnt work after installation

kpuku wrote:

Just try dhcpcd

oke i tried this

ip link

and then found my network something and did this

dhcpcd enp0s3

and it work ! i am thanful kpuku smile

Offline

#7 2018-01-24 07:31:14

picarica
Member
Registered: 2018-01-23
Posts: 48

Re: [SOLVED]network doesnt work after installation

shera10001 wrote:

systemctl enable dhcpcd

Use the above command. The installation image automatically starts the dhcpcd service so users don't have to manually connect to the internet, it is already there when one boots up with the installation image. So use the above command once you have booted up, and all interfaces will be connected to the internet if possible (or so I think, I'm new too, but this is how I made my connection permanent, so now whenever I boot up the internet is already up and running and ping works).

Or if you know which interface you want to connect to the internet with, in your case either "lo" or  "enp0s3" just use the command -
dhcpcd <interface name> where <interface name> is lo or enp0s3. See if this works. I am new, so wait for someone more experienced to answer this.

nice thanks

Offline

#8 2018-01-24 11:33:06

kpuku
Guest

Re: [SOLVED]network doesnt work after installation

picarica wrote:

and it work ! i am thanful kpuku smile

You are welcome! Please, mark thread as solved

#9 2018-01-27 09:56:16

shera10001
Member
Registered: 2018-01-23
Posts: 34

Re: [SOLVED]network doesnt work after installation

It has been two days since the problem was solved. Moderators or the user should mark the thread as solved.

Offline

#10 2018-01-27 10:48:15

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 74,754

Re: [SOLVED]network doesnt work after installation

No, you should :-P
Edit your first post and adjust the subject line.

Offline

#11 2018-01-27 11:30:05

shera10001
Member
Registered: 2018-01-23
Posts: 34

Re: [SOLVED]network doesnt work after installation

seth wrote:

No, you should :-P
Edit your first post and adjust the subject line.

The topic was started by someone else.

Offline

Board footer

Powered by FluxBB