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

back at trying to make network, network



Greetings;
My home network is all hosts based, but has a gateway and uses the router 
as a relay to my ISP's nameservers for addresses not in the hosts file.

But I'll be switched if I can make it work that way on a pi-3b running 
stretch.

When it needs to use a dns lookup, it sends the dns request from 
picnc.local, which is of course the ahahi address, 169.254.etc.etc

Somehow, I need to convince this thing it only has one address!!!
My current /e/n/i.d/eth0 file:
-------------
auto eth0

iface eth0 inet static
address 192.168.71.12/24
gatewasy 192.168.71.1
dns-nameserver 192.168.71.1
search hosts dns-nameserver
hwadress  192.168.71.12
--------------
adding the hwaddress just now, and restarting networking did get rid of 
the ahahi supplied lines in an ip a report so it looks like this but now 
a second request shows they are back.

2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast 
state UP group default qlen 1000
    link/ether b8:27:eb:d3:47:2d brd ff:ff:ff:ff:ff:ff
    inet 192.168.71.12/24 brd 192.168.71.255 scope global eth0
       valid_lft forever preferred_lft forever
    inet 169.254.163.253/16 brd 169.254.255.255 scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::7e94:f0c7:8cec:ce84/64 scope link
       valid_lft forever preferred_lft forever

And I have those 2 lines in /e/sysctl.conf that are supposed to shut off 
the ipv6 stuff since I'm at least 100 miles from ANY ipv6 service.

/e/resolv.conf
nameserver 192.168.71.1
search  hosts nameserver

But if I ping yahoo.com, this is what I get so of course it fails:
pi@picnc:/etc $ ping yahoo.com
PING yahoo.com (72.30.35.9) 56(84) bytes of data.
From picnc.local (169.254.163.253) icmp_seq=1 Destination Host 
Unreachable
From picnc.local (169.254.163.253) icmp_seq=2 Destination Host 
Unreachable
From picnc.local (169.254.163.253) icmp_seq=3 Destination Host 
Unreachable

I has as much of avahi killed as systemd will let me but I can't kill it 
all. That dns resolution for yahoo.com is correct, so that working fine 
but it being sent from a wrong address the rest of this system knows 
nothing about.

There is still an avahi (chroot helper) running. So how do I get rid of 
the from  hostname.local bs?


I can plug a raspian jessie u-sd card back into that pi, and it works 
perfectly.

Thanks all.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>


Reply to: