If it's taking gw as an address something's in the wrong field.

Sent from my Motorola XT1527

On Fri, Jul 13, 2018, 9:29 AM Gene Heskett <ghesk...@shentel.net> wrote:

> On Friday 13 July 2018 05:11:29 John Paul Adrian Glaubitz wrote:
>
> > On 07/13/2018 11:02 AM, Christian Knoke wrote:
> > > Gene Heskett schrieb am 13. Jul um 03:53 Uhr:
> > >> On Thursday 12 July 2018 23:36:13 Christopher Barry wrote:
> > >>> follow the below 5 steps for help solving this.
> > >>>
> > >>> [...]
> > >>> for f in $(find /etc/network -type f); do
> > >>>     [[ -f ${f} && "$(file "${f}")" =~ text ]] && {
> > >>>   out cat "${f}"
> > >>>     }
> > >>> done
> > >>> [...]
> > >>
> > >> using bash to run it does make a lengthy file, but also reports in
> > >> the terminal:
> > >> check-ifaces: line 22: file: command not found
> > >
> > > Please install the "file" package and run again.
> >
> > Or, alternatively: Set up systemd-networkd and systemd-resolved and
> > don't waste endless amounts of time and energy to get this mess fixed
> > which is bash-script-based network initialization.
> >
> > > https://wiki.archlinux.org/index.php/systemd-networkd
>
> This looks like a lot of work, and again would require some systemd stuff
> to be installed. But we're back to square one in that without a working
> gateway, I cannot access the net to download and install the stuff.
>
> I finally got the eth0 address changed but had to reboot:
>
> eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
>         inet 192.168.71.11  netmask 255.255.255.0  broadcast
> 192.168.71.255
>         ether 3e:1b:98:17:e3:8c  txqueuelen 1000  (Ethernet)
>         RX packets 758  bytes 102329 (99.9 KiB)
>         RX errors 0  dropped 0  overruns 0  frame 0
>         TX packets 1031  bytes 82076 (80.1 KiB)
>         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
>         device interrupt 40
>
>  but that did not get me a gateway in the route -n report
> this is the current /e/n/interfaces file
>
> doing this:
> root@rock64: route add gw 192.168.71.1 eth0
> gw: No address associated with name
>
> And I have a login shell I cannot copy to paste from. ikill it, open a
> new tab on konsole and it works again.
>
> Is there anything wrong with the route statement I used?
> >
> Thanks Adrian.
>
> --
> 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 via email to