[Voyage-linux] Re: New User, getting started, nfs questions

ka1ifq (spam-protected)
Tue May 31 08:09:34 HKT 2011


	
	Well I did find my mistakes.
from my /etc/network/interfaces:

auto eth0
iface eth0 inet static
        address 10.128.128.222
        netmask 255.255.255.0
#       network 10.128.128.0
        gateway 10.128.128.1
#       dns-nameserver = 68.94.156.1
        dns-nameserver = 68.94.157.1

I misspelled address

and it did not like 2 dns.nameserver lines.

The errors it showed were not very helpfull, if it did not like something it 
would say "cannot read file interfaces", that originaly led me to believe that 
I messed up the permissions when I edited the file. learning curve.


> 
>  <frank at ...> writes:
> 
> > > I believe I need the last 2 lines in /etc/resolv.conf from what I read 
in 
> > > another message, but /etc/resolv.conf contains the following:
> > > 
> > > #     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
> > > nameserver 127.0.0.1
> 
> Regarding the problems with nameserver configuration, /etc/resolv.conf and 
the 
> resolvconf package, I think you may benefit from looking at /etc/hosts too.
> 
> I currently use an old Netgear WGT634U running OpenWRT as router, using 
DNSmasq 
> for DHCP/DNS/TFTP/BOOTP and more, so my Alix with Voyage has a dynamic 
address. 
> For some reason my /etc/hosts was suddenly empty, networking failed (DNS), 
so I 
> replaced it with:
> 
> ---
> 127.0.0.1       localhost.adlernet.se   localhost
> ::1     alix    localhost6.localdomain6 localhost6
> 127.0.1.1       alix.adlernet.se alix
> 
> # The following lines are desirable for IPv6 capable hosts
> ::1     localhost ip6-localhost ip6-loopback
> fe00::0 ip6-localnet
> ff00::0 ip6-mcastprefix
> ff02::1 ip6-allnodes
> ff02::2 ip6-allrouters
> ff02::3 ip6-allhosts
> ---
> 
> which somehow made resolvconf do its thing, creating a working 
/etc/resolv.conf
> 
> > No, this would be lost after reboot. You can:
> > 
> > - use the dns-nameservers entry in /etc/network/interfaces as above
> 
> Sounds like a good idea.
> 
> /Johan Adler
> 
> 
> 
> 
> 
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux at list.voyage.hk
> http://list.voyage.hk/mailman/listinfo/voyage-linux
> 



--- Sent from my Suse Linux Desktop. ---




More information about the Voyage-linux mailing list