You are not logged in.

#1 2011-11-14 21:26:57

jeremyheiler
Member
Registered: 2011-09-25
Posts: 2

[SOLVED] Cannot access LAN servers from Arch guest inside Virtualbox

I have Arch installed as a guest OS on Windows 7 with VirtualBox on a bridged network.

I can access the Internet fine. I can access LAN servers by IP address fine. But unless I manually configure the LAN servers in my hosts file, I am not able to access them by their DNS name.

I tried setting up Dnsmasq, but I presume that wasn't the correct course of action or I didn't configure it correctly. I left the dnsmasq.conf as the default.

I've been reading the Wiki and searching Google all day, and I am at a loss as to what to do. What am I missing?

Last edited by jeremyheiler (2011-11-15 17:57:00)

Offline

#2 2011-11-15 00:37:57

jeremyheiler
Member
Registered: 2011-09-25
Posts: 2

Re: [SOLVED] Cannot access LAN servers from Arch guest inside Virtualbox

Well, I figured it out.

It turns out I needed to modify my /etc/nsswitch.conf by chaning "hosts: files dns" to "hosts: files wins dns".

Also, to be more specific, in order to get the "wins" functionality, I had to install and start a samba server.

Sources:

http://www.korokithakis.net/posts/how-t … -in-linux/
http://www.samba.org/samba/docs/man/Sam … #id2669301

Last edited by jeremyheiler (2011-11-15 17:58:59)

Offline

Board footer

Powered by FluxBB