Console-conf and ip address

Michael Hudson-Doyle michael.hudson at canonical.com
Sun Sep 25 21:38:13 UTC 2016


On 24 September 2016 at 07:44, Michael Vogt <michael.vogt at canonical.com>
wrote:

> On Fri, Sep 23, 2016 at 09:12:19PM +0200, Michael Vogt wrote:
> > On Fri, Sep 23, 2016 at 07:37:41PM +0100, Victor Palau wrote:
> > > So I guess is not possible to display the ip on the login console
> prompt?
> >
> > This is possible.
> >
> > I uploaded a new ubuntu-core-config package that will show the IP on
> > tty1 before the login prompt. Should be in the next edge image.
>
> Just to clarify, this is a very simple change I pushed, all the points
> that Steve raised are valid. The general case is hard. I still hope
> this change is useful.


I guess your change just puts \4 in /etc/issue? I was going to suggest
that...

Cheers,
mwh


> Cheers,
>  Michael
>
>
> > > On 23 Sep 2016 18:34, "Oliver Grawert" <ogra at ubuntu.com> wrote:
> > >
> > > > hi,
> > > > On Sa, 2016-09-24 at 01:28 +0800, Shuduo Sang wrote:
> > > > I use to use "nmap -sn 192.168.0.1/24" to find the IP address of my
> > > > > Pi box since it always change with my router after reflash new
> image.
> > > > >
> > > > this is sadly one of the drawbacks of the new netplan tool ...
> > > > it sends the machine ID alongside with the MAC address to the dhcp
> > > > server when obtaining the IP for the first time ... since on a
> freshly
> > > > flashed board this ID is newly generated it kind of forcefully
> changes
> > > > the IP with every re-flash.
> > > >
> > > > ciao
> > > >         oli
> > > > --
> > > > Devices mailing list
> > > > Devices at lists.snapcraft.io
> > > > Modify settings or unsubscribe at: https://lists.snapcraft.io/
> > > > mailman/listinfo/devices
> > > >
> > > >
> >
> > > --
> > > Devices mailing list
> > > Devices at lists.snapcraft.io
> > > Modify settings or unsubscribe at: https://lists.snapcraft.io/
> mailman/listinfo/devices
> >
> >
> > --
> > Devices mailing list
> > Devices at lists.snapcraft.io
> > Modify settings or unsubscribe at: https://lists.snapcraft.io/
> mailman/listinfo/devices
>
> --
> Devices mailing list
> Devices at lists.snapcraft.io
> Modify settings or unsubscribe at: https://lists.snapcraft.io/
> mailman/listinfo/devices
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.snapcraft.io/archives/devices/attachments/20160926/01e99c18/attachment.html>


More information about the Devices mailing list