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

Re: need sd card backup on r-pi-3b



On Sunday 24 September 2017 14:08:25 Gene Heskett wrote:

> On Sunday 24 September 2017 13:43:20 Mark Morgan Lloyd wrote:
> > On 24/09/17 16:30, Gene Heskett wrote:
> > > On Sunday 24 September 2017 11:59:57 Alan Corey wrote:
> > >> But what's the purpose of having the gateway fields in interfaces
> > >> if not to to be reliant on the routing table?
> > >>
> > >> But it's worth a shot, something like
> > >> route add default gw 192.168.71.1
> > >
> > > That was it!
> > >
> > > Now I've used apt to update 5 packages, and its now installing
> > > synaptic and all its 2nd and 3rd cousins. 112 megs worth. I did
> > > ask it to install xfce, but it couldn't find it. I'll try lxde
> > > next, but its entirely too simple. With xfce I can set up 4
> > > workspaces/windows and the survive a reboot. You can add them in
> > > lxde, but they don't survive a reboot.
> > >
> > > Anyway, progress, sorta. I am going to put that command in
> > > rc.local just for S&G. Oh, oh, I had to create that file, does not
> > > bode well. But we'll find out I guess.
> >
> > Is there something in the /etc/network/interfaces file which is
> > preempting what's in your .d directory?
> >
No, just the default source interfaces.d command

> > I wouldn't put the manual route command in rc.local, I'd put it in
> > the network interface definition as in
> >
> > allow-hotplug eth0
> > iface eth0 inet static
> >    address 172.27.200.5/24
> >    post-up route add default gw 172.27.200.1 dev eth0 metric 0
> >    pre-down route del default gw 172.27.200.1 dev eth0
>
> Printed to carry out to it, rc.local didn't work at all.  I'll try this 
next
>
> Thanks.
>
Didn't work, with my addresses, it gave me an empty route -n report. Back 
to doing it by hand after a reboot.
Now trying to get X11 started. X server not in path. :(

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: