06-07-2018, 03:06 PM
(06-07-2018, 12:34 PM)gene83 Wrote:I finally found the correct syntax to make route add the gw address to the routing table, and networkiing is now trotting along, first with apt small bit of upgrade, then installing man info and pinfo, and now installing mate, selected by tasksel, and which I've never seen before, Should be interesting.(06-06-2018, 07:07 AM)evilbunny Wrote:(06-06-2018, 06:55 AM)gene83 Wrote: That I have done, but haven't yet put it on the u-sd. That isn't made easier by this forums sw though, as it throws away quite a few characters in the middle of a copy/pasted url. The one thing I don't care for is the total lack of a gui in the debian images, and it doesn't want to reboot clean due to a timeout in the login process. If it times out, it takes a full powerdown reboot to re-enable the login. Sometimes more than once.
If you want a gui on debian try the mate image... I don't think there is any reboot issues...
I've downloaded the stretch-minimal and installed it, then found a clue about all the debugging racket being echoed to the screen, and have attempted to get networking working.
I first made /etc/hosts like the rest of my local machines as the local net is 100% hosts file based for lookups.
Then I nuked the link for /etc/resolv.conf and made a real file which contains:
ock64@rock64:~$ cat /etc/resolv.conf
##
nameserver 192.168.xx.1
search hosts,dns
domain coyote.den
##
And edited /etc/network/interfaces/d/eth0 like this:
##
auto eth0
allow-hotplug eth0
iface eth0 inet static
address 192.168.xx.2
netmask 255.255.255.0
gateway 192.168.xx.1
dns-nameserver 192.168.xx.1
##
And my local net works well, but a route -n reports:
root@rock64:~# route -n
##
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.xx.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
##
And as can be seen, the gateway settings aren't 'taking'. So I am not 'getting off the property', can't ping yahoo.com although it does resolve.
root@rock64:~# ping yahoo.com
PING yahoo.com (98.137.246.7) 56(84) bytes of data.
From rock64.coyote.den (192.168.71.2) icmp_seq=1 Destination Host Unreachable
I had a heck of a time on this point with the previous stretch image too, but I've forgotten what fixed it now.
Does anyone see whats wrong above?
Thanks & Cheers, gene83
Can I put that route add default gw etc in rc.local for a permanent fix?
Oh and I found another place to shut off the kernels debugging spew, see /etc/sysctl.conf, I found that with grep.
Thanks and Cheers, gene83