You are not logged in.
Hi there,
I would like to try out arch by running it on a VM. Unfortunately I'm unable to establish a internet connection.
I configured VirtualBox' network as NAT, Intel PRO/1000 MT Desktop (82540EM). I always get "uknown host www.google.com".
ip link says:
1: lo: <LOOPBACK, UP, LOWER_UP> mtu 65536 qdisc noqueue state UNKNWON mode DEFAULT
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST, MULTICAST, UP, LOWER_UP> mtu 1500 qdisc pfifo_fas state UP mode DEFAULT qlen 1000
link/ether 08:00:27:b3:9f:b2 brd ff:ff:ff:ff:ff:ff
ivconfig: no wireless externsions for eth0 an lo.
I never ever had to bother configuring a network manually. So I really don't know what adresses etc. to use configuring a internet connection.
I would be thankful for any advices.
best regards
Last edited by Kant (2013-03-24 13:37:20)
Offline
check dhcp
vbox is not fussy about net config IF there is a connection on the host: so if you have network and internet on the host the thing to check is the client - so suggest check DHCP - have you checked ifconfig for connection status?
Last edited by bozzarch (2013-03-21 10:44:05)
Offline
After trying random stuff I finally got it working by adding the nameserver 8.8.8.8 to /etc/resolv.cfg. Is this any bad or can I proceed installing arch just following the beginners' guide?
----
The host is connected to the internet and works properly, yes.
ifconfig says:
Last edited by Kant (2013-03-21 19:48:49)
Offline
I kind of have the same problem but outside VM.
To sum up what I've learned, you need to know the name of your interface (in this case eth0) and do:
ip link set eth0 up
In my case that wasn't enough because somehow DHCP can't configure the connection automatically, and since you don't have the proper tools like dhcpcd, your stuck at least in the automatic part of the configuration (some users says you need to type 'dhcpcd eth0', but since you don't have dhcpcd that's impossible).
My advice is to try to set an static ip: https://wiki.archlinux.org/index.php/Ne … IP_address
Cheers
Offline
... Which leads to my question, How did you obtain an IP address ? Somehow you have 10.0.2.15.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Well I didn't change anything manually besides adding the nameservers to resolv.conf. The IP is the one given by "default". After finishing the installation I wasn't able to ping domains again - resolve.conf was always overwritten by dhcp (I presume).
As a workaround I made a resolve.conf.head. Doesn't seem to be very elegant. Is there a more sophisticated way to get things working without any patchwork?
Offline