[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: A few questions about stretch ( testing ) on a PowerMac G5



On Feb 4, 2017, at 7:34 PM, dev_user <dev@cor0.com> wrote:
> 
> 
>> As for the DNS, do not edit /etc/resovl.conf as that is system
> > generated. Edit instead the /etc/network/interfaces file and
> > list your DNS entries there. After this stop networking, and
> > restart (or reboot) and the /etc/resolv.conf will reflect your
> > new entries.
> 
> hrmmm ... that didn't work for some reason :
> 
> root@charon:~# uname -a
> Linux charon 3.16.0-4-powerpc64 #1 SMP Debian 3.16.39-1 (2016-12-30) ppc64 GNU/Linux
> root@charon:~#
> root@charon:~# cat /etc/debian_version
> 8.7
> 
> root@charon:~# cat /etc/network/interfaces
> # This file describes the network interfaces available on your system
> # and how to activate them. For more information, see interfaces(5).
> 
> source /etc/network/interfaces.d/*
> 
> # The loopback network interface
> auto lo
> iface lo inet loopback
> 
> # The primary network interface
> allow-hotplug eth0
> 
> iface eth0 inet static
> address 172.16.35.25
> netmask 255.255.255.192
> network 172.16.35.0
> broadcast 172.16.35.63
> gateway 172.16.35.1
> dns-nameservers 224.154.123.123
> root@charon:~#
> 
> 
> did a reboot and whammo .. the /etc/resolv.conf file is still borked
> 
> root@charon:~# cat /etc/resolv.conf
> nameserver 2607:f798:18:10:0:640:7125:5204
> nameserver 2607:f798:18:10:0:640:7125:5198
> root@charon:~#
> 
> No darn clue .. why ?
> 
> Dennis
> 

Dennis,

For one thing, your DNS name server is a Multicast IP. That is not correct and will not work. What IP did you list for DNS in your interfaces config file? You should have something in the config file like: dns-nameservers NSip1 NSip2. Whatever your ISP provider is providing for DNS. You can find this out on their website, or by logging into your home router and looking.

You can view this webpage specific to Debian for help: https://wiki.debian.org/NetworkConfiguration#Configuring_the_interface_manually

You can also use $ less /usr/share/doc/resolvconf/README to understand the resolvconf program.

Or $ man resolv.conf to understand this file.

Kristen

Attachment: signature.asc
Description: Message signed with OpenPGP


Reply to: