You are not logged in.
Hello, I am a newcommer to Arch Linux and I've been trying to install it as a virtual machine using VM Workstation. I've had perfect internet connection, up until I got into the chroot jail.
(I've done a fair bit of research and troubleshooting, though it didn't go very far with my limited knowledge of Linux systems, and still couldn't find a solution)
Details:
...I am running Windows 7 as my host OS and Arch Linux as the Guest.
...I wanted to have separate internet connections for my virtual machine and for my host system. Sadly my Arch guest couldn't detect my wireless card ("ifconfig" & "iwconfig" can't seem to find wlan0) and the router's too far from my computer to be able to run a cable between them. So I had to use a bridged connection (in a way, the ethernet on Arch is used to connect to the router through the computer).
...When I booted Arch Linux x86_64, the network daemon worked like a charm and I had internet connectivity.
...After chrooting, I had no internet access so I couldn't download anything with "pacman".
...Also after chrooting, I could ping the virtual machine, my computer and even my router, but nothing else (e.g. google.com, yahoo.com, etc.).
I've tried:
...copying /etc/resolv.conf to /mnt/etc/resolv.conf (/mnt is my mount point since I followed the beginner's guide).
...modprobe -db (still dunno what this is supposed to do).
...systemctl enable dhcpcd@eth0.service .
...Deleting the Arch Linux virtual machine and reinstalling it (at least 4 times).
tl;dr
I've got no internet access from my chroot jail.
please help
Offline
From within that jail, what is the output of ip addr
and of
ip route
??
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
Thanks a lot for the tip. Because of that, I reinstalled Arch, chrooted and applied the commands that you gave me, seeing that there is an internet connection and after a moment of going through the beginner's guide, I realized that I had changed the host name, which was a mistake and so didn't touch that at all and flawlessly installed Arch. Thanks a lot! :D (I feel pretty dumb now, but hey, it works)
Offline