depicus

changing the digital world one bit at a time...

Blants (noun) the rants of a blogger

Ubuntu show IP address at login screen

August 31, 2013 by The Man

Sometimes it’s handy to know the ip address of an Ubuntu box before you log in, great for VMs

First open /etc/rc.local

sudo nano /etc/rc.local

then add this line

and you should get something like this

Screen Shot 2013-08-31 at 01.02.52