Where is network configuration "hidden" on Ubuntu 16.04?

Dan Streetman dan.streetman at canonical.com
Mon Oct 8 22:47:58 UTC 2018


On Sun, Oct 7, 2018 at 9:16 PM Mark Constable <markc at renta.net> wrote:
>
> On 08/10/18 10:57, Little Girl wrote:
> >> Where else can I look for the remnnts of the "5" configuration which
> >> are being applied at boot and preventing parts of the file-based
> >> configuration from working?  I even decompressed a copy of
> >> initrd.img... and found nothing.
> > [...]
> > If nothing else, hopefully this message will draw attention to your
> > original message and maybe someone with a more appropriate solution
> > will join in.
>
> I find this alias useful to search or query various config settings...
>
> alias q='find -type f -print0 | xargs -0 grep '
>
> then "cd /etc" (most often) and ie; "q 12.34.56.78" the IP being set

you can do that a lot easier with just:

$ grep -r 12.34.56.78 /etc

> from the previous 5 machine on the 2 machine. Change the IP for any
> unique info related to the other machine and you may locate the
> remnants of old config files. /var/lib/ is another place to look.
>
> --
> ubuntu-server mailing list
> ubuntu-server at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-server
> More info: https://wiki.ubuntu.com/ServerTeam



More information about the ubuntu-server mailing list