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

Re: missing gw in route -n



On Friday 13 July 2018 10:49:10 Mark Morgan Lloyd wrote:

> >> And the last automatic updates were done on the 7th June- correct?
> >> Much stuff that I do these days is based on RPIs which don't use an
> >> initrd, but I had to go through this on a PC a few weeks ago after
> >> I'd moved some discs around: the old configuration was still stuck
> >> in the fstab file loaded from the initrd file.
> >>
> >> I think it was a simple  update-initramfs -u  that got me going,
> >> but (a) check your manpages etc. and (b) if EFI really is involved
> >> check whether the boot loader requires any file signing etc... I'm
> >> afraid I've only used EFI on Itanium and there only superficially.
> >
> > The EFI directory is empty. These arm semi-clones have virtually no
> > identifiable bios.
>
> But they do have a loader of some sort, pulling in the kernel, dtd,
> and initrd.
>
> > But I did just now get it fixed, my syntax for route add was fubar,
> > it should have been:
> >
> > root@rock64:/etc/network# cat make-missing-gateway.sh
> > route add default gw 192.168.71.1 dev eth0
> >
> > I was missing the default and dev options. routes manpage sucks.
>
> Yes, and route (and ifconfig etc.) is obsolete. But still sometimes
> useful.

And will probably continue to be usefull as long as the man pages for ip 
and friends continue to suck dead toads thru soda straws.  Or something 
is changed to totally disable the old standby's. At which point we'll 
all have to learn how to use them, but this list and its collective 
knowledge will become the man pages for ip and kin that should have been 
written in the first place. Keyword is examples, few to non-existent.

> In practice, "default" substitutes for "-net x.y.z.t" and so on. Nice,
> uniform syntax :-(
>
> > This was the answer to the question I asked several times in this
> > thread and which was universally ignored by 99% of the responders.
> >
> > Thanks Mark. Perhaps this fix will be usefull to others.
>
> But the major thing you were asking was why your interfaces file was
> being ignored. You might still have that one lurking.

Of that I'm also sure, but thats the same exact interfaces file contents 
I've been using since wheezy was getting stable. The only thing changed 
was the ipv4 address for that machine. But I can at least make it work 
now.

Thanks Mark.

-- 
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>


Reply to: