On Thursday 12 July 2018 07:22:03 Christian Knoke wrote:
> Gene Haskett schrieb am 12. Jul um 00:13 Uhr:
> > I have been playing the 10k monkeys scene trying to figure out how
> > to add a gateway entry to the route -n report on a rock64 with a
> > stretch/xfce install on it.
> > The obvious (to me that is) place would be
> > in /etc/network/interfaces.d/eth0, which has this:
> > auto eth0
> > allow-hotplug eth0
> > iface eth0 inet static
> > address 192.168.71.2
> > netmask 255.255.255.0
> > gateway 192.168.71.1
> > dns-nameserver 192.168.71.1
> > But that is ignored.
> In /etc/network/interfaces you need an uncommented line like
> # source /etc/network/interfaces.d/*
> $ ifconfig
> might tell you that the interface's name has been changed to something
> Maybe the network-manager is active?
Just purged it, still no change
I've even changed the eth0 devices address, but once I have the hosts
file matching, and logged back in, no route is assigned.
as root, route -n returns:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 0.0.0.0 0.0.0.0 U 202 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 202 0 0 eth0
192.168.71.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
/etc/resolv.conf is a real file, and contains:
I've even changed the "dns" above to "nameserver", no diff on a
And I'm at the end of my wits. Not only that, and despite the eth0
address change, restarting the network does not change it. ifconfig says
its still at the old address:
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.71.2 netmask 255.255.255.0 broadcast 192.168.71.255
ether 3e:1b:98:17:e3:8c txqueuelen 1000 (Ethernet)
RX packets 2952 bytes 349284 (341.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 2414 bytes 213883 (208.8 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 40
So its, even with nm purged, inventing its own data, and I cannot change
it. WTH? Where is the cache that is overriding me?
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)
Genes Web page <http://geneslinuxbox.net:6309/gene>