You are not logged in.
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
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)
Offline
Just try dhcpcd
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
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
Just try dhcpcd
oke i tried this
ip linkand then found my network something and did this
dhcpcd enp0s3and it work ! i am thanful kpuku ![]()
Offline
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
and it work ! i am thanful kpuku
You are welcome! Please, mark thread as solved
It has been two days since the problem was solved. Moderators or the user should mark the thread as solved.
Offline
No, you should :-P
Edit your first post and adjust the subject line.
Online
No, you should :-P
Edit your first post and adjust the subject line.
The topic was started by someone else.
Offline