Fwd: [Voyage-linux] Host name resolve problem

Gustin Johnson (spam-protected)
Mon Aug 1 10:46:58 HKT 2011


Forgot to CC the list.


---------- Forwarded message ----------
From: Gustin Johnson <gustin at meganerd.ca>
Date: Sun, Jul 31, 2011 at 8:42 PM
Subject: Re: [Voyage-linux] Host name resolve problem
To: KeLLoGsX <mans.xo at gmail.com>


By setting your DNS server to 127.0.0.1 you will need a DNS resolver
installed locally that will require internet access.  If you
statically assigned your IP, did you assign a default gateway?  If you
type "ip route" you should see an entry like this:

default via 192.168.10.3 dev eth0  metric 100

If you do not have an entry like this, you can quickly add one with
the following:
ip route add default via 192.168.10.3

Of course change the IPs to match your own environment.  If that
works, put a gateway entry in /etc/network/interfaces

If you do have a default route try doing a traceroute to test your
settings, eg. "traceroute 8.8.8.8".  If you are able to trace that IP,
then put 8.8.8.8 in your /etc/resolv.conf and remove the 127.0.0.1
entry until you figure out why the locally installed resolver is not
working.

On Sun, Jul 31, 2011 at 3:50 AM, KeLLoGsX <mans.xo at gmail.com> wrote:
> Hi!
>
> I've been at this installation of Voyage mpd for 2 weeks now and I still
> can't get it working flawlessly :-(
>
> My biggest problem right now is resolving the host/hostname
> Can't get apt to fetch properly, mpc is unable to resolve host, ping gets
> unknown host etc...
> I'm connected over wlan with static ip
>
> #nano /etc/hosts
> 127.0.0.1 localhost
>
> #nano /etc/hostname
> voyage
>
> #nano /etc/resolve.conf
> nameserver 127.0.0.1
>
> I've googled and read tons of pages regarding this but I'm not able to fix
> it. Please guide me.
> //KeLLoGsX
>
>
> --
> View this message in context: http://voyage-linux.34677.n3.nabble.com/Host-name-resolve-problem-tp3213232p3213232.html
> Sent from the Voyage Linux mailing list archive at Nabble.com.
>
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux at list.voyage.hk
> http://list.voyage.hk/mailman/listinfo/voyage-linux
>




More information about the Voyage-linux mailing list