Subject: Re: [vserver] No outside network connection
From: John Alberts <john.m.alberts@gmail.com>
Date: Wed, 18 Nov 2009 08:17:43 -0600

 Wed, 18 Nov 2009 08:17:43 -0600
You need to add the /etc/hosts and /etc/resolv.conf yourself.  You can
just copy and edit the ones from the host.  By default, a guest isn't
allowed to do anything with the network connections, which is why you
are seeing the error messages.  This is expected. It sounds like your
guest is fine.  Just add /etc/hosts and /etc/resolve.conf.

John


On Wed, Nov 18, 2009 at 9:40 AM,  <dzenan.causevic@wise-t.com> wrote:
> I successifully install guest but I dont have connection to the outside
> network. I can ping local machines 192.168.xxx.xxx but I can't ping
> www.google.com for example. One of the things I see is that both
> /etc/resolv.conf and /etc/hosts are missing. Aren't they supposed to be
> installed by default?
>
> Here are some error messages from mii-tool and ethtool:
>  > bash-3.2# mii-tool -v
> SIOCGMIIPHY on 'eth0' failed: Operation not permitted
> SIOCGMIIPHY on 'eth1' failed: Operation not permitted
> SIOCGMIIPHY on 'eth2' failed: Operation not permitted
> SIOCGMIIPHY on 'eth3' failed: Operation not permitted
> SIOCGMIIPHY on 'eth4' failed: Operation not permitted
> SIOCGMIIPHY on 'eth5' failed: Operation not permitted
> SIOCGMIIPHY on 'eth6' failed: Operation not permitted
> SIOCGMIIPHY on 'eth7' failed: Operation not permitted
> no MII interfaces found
>  > bash-3.2# which ethtool
> /sbin/ethtool
> bash-3.2# ethtool eth0
> \Settings for eth0:
> Cannot get device settings: Operation not permitted
> Cannot get wake-on-lan settings: Operation not permitted
>        Current message level: 0x00000007 (7)
> Cannot get link status: Operation not permitted
> bash-3.2# ethtool eth0
> Settings for eth0:
> Cannot get device settings: Operation not permitted
> Cannot get wake-on-lan settings: Operation not permitted
>        Current message level: 0x00000007 (7)
> Cannot get link status: Operation not permitted
>
>
>



-- 
John Alberts