Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Display IP adresss at login screen (Ubuntu 14.04) Post 302950084 by Aia on Monday 20th of July 2015 07:04:10 PM
Old 07-20-2015
You need an init start up file that would create a /etc/issue with the resulting ip address being given by the dhcp server, each time the system boots up.

Since you are in Ubuntu you can use hostname -I to obtain the currently actives ip addresses in your system.

You can test by just manually appending the IP 192.168.1.149 to /etc/issue and login in again.
Question:
How do you login?
Terminal Console?
SSH session?

Last edited by Aia; 07-20-2015 at 08:16 PM..
This User Gave Thanks to Aia For This Post:
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

controlling screen display

How can I control the screen output when trying to read a large file onto the screen x number of lines at a time. I'm trying to use this is a bourne shell script. I want to display 10 lines of a file, pause the screen so that a user can read the file, and then display the next 10 lines of the file,... (6 Replies)
Discussion started by: jrdnoland1
6 Replies

2. Shell Programming and Scripting

file display on screen on pg at time

hi can some body please help me...i'm been sitting here trying to figure how to do this..but still don't understand. Like each type of *.src (if any) in the given directory will be displayed on the screen one page at a time.... can someone explain how to do this..plz (1 Reply)
Discussion started by: zip_zip
1 Replies

3. Shell Programming and Scripting

screen display help

Hello All, I have a file that is formatted like this 1234556 1234567 1234588 1123888 1999999 1010101 1919191 1919191.... for a total of 26000 + lines how do I get a script to read lets say 50 lines at a time and display the output to the screen in column format around 5 or 6... (2 Replies)
Discussion started by: zilla30066
2 Replies

4. AIX

CDE running but not display on screen

Runing p550Q via HMC I'd like to start using graphic interface CDE: lslpp -l | grep X11.Dt* X11.Dt.ToolTalk -- AIX CDE ToolTalk Support X11.Dt.bitmaps -- AIX CDE Bitmaps X11.Dt.helpmin -- AIX CDE Minimum Help Files X11.Dt.helprun -- AIX CDE Runtime Help X11.Dt.lib -- AIX CDE... (0 Replies)
Discussion started by: silves
0 Replies

5. AIX

Increasing screen display size

Hi, How can i increase the size of my display on AIX 5.3.What i mean is e.g if i do and ps -ef i would get some like: /data/app/oracle/product/10.2 /usr/bin/ksh /usr/local/bin/s i want it to show the whole thing on the screen without cutting it,because there is still space on the screen... (0 Replies)
Discussion started by: sellafrica1
0 Replies

6. UNIX for Dummies Questions & Answers

Ubuntu Hardy: How to span windows over more than 1 screen?

Hi, Ive 3 screens, 2 nvidia graphiccards and all works fine with the nvidia binary driver and xinerama. I can maximize all windows an one screen, but now i need to span it over all 3 screens. Any ideas? thanks in advance. (3 Replies)
Discussion started by: mcW
3 Replies

7. Ubuntu

Virtual Box Screen Display

Hi, Anyone can help me on how to return back to normal size not the full size of my virtual box screen display and also display the menu bar from the top. Thanks in Advance. (4 Replies)
Discussion started by: dba_macau
4 Replies

8. Ubuntu

Ubuntu server login screen

Hi, Im running ubuntu server 8.04 LTS, but I want to change the initial login screen message. How can I do this? Which files do I need to change for this? So just to be clear when I reboot the server the login text which is then displayed thats what I want to change not the text that is... (5 Replies)
Discussion started by: jld
5 Replies

9. Shell Programming and Scripting

Display a menu on bottom right of screen

Hi, I have a menu of around 10 lines with options. I want to display it in bottom right corner of screen for better display. I can do it with clear screen. But I don't want to use it, because it will clear the existing text. After one choice from menu is executed, the menu should just place... (3 Replies)
Discussion started by: som.nitk
3 Replies

10. UNIX for Advanced & Expert Users

How to display the files on screen

I connect via vnc to a linux computer. after a logout, I cannot see the files on the screen (although i can see the screensaver). I can open a terminal and see the files etc. How can i see the files on the screen again? (5 Replies)
Discussion started by: FelipeAd
5 Replies
MINGETTY(8)                                                  Linux Programmer's Manual                                                 MINGETTY(8)

NAME
mingetty - minimal getty for consoles SYNOPSIS
mingetty [--noclear] [--nonewline] [--noissue] [--nohangup] [--nohostname] [--long-hostname] [--loginprog=/bin/login] [--nice=10] [--delay=5] [--chdir=/home] [--chroot=/chroot] [--autologin username] [--loginpause] tty DESCRIPTION
mingetty is a minimal getty for use on virtual consoles. Unlike agetty(8), mingetty is not suitable for serial lines. I recommend using mgetty(8) for this purpose. OPTIONS
--noclear Do not clear the screen before prompting for the login name (the screen is normally cleared). --nonewline Do not print a newline before writing out /etc/issue. --noissue Do not output /etc/issue. --nohangup Do not call vhangup() to disable writing to this tty by other applications. --nohostname Do not print the hostname before the login prompt. --long-hostname By default the hostname is only printed until the first dot. With this option enabled, the full text from gethostname() is shown. --loginprog /bin/login Change the login app. --nice 10 Change the priority by calling nice(). --delay 5 Sleep this many seconds after startup of mingetty. --chdir /home Change into this directory before calling the login prog. --chroot /chroot Call chroot() with this directory name. --autologin username Log the specified user automatically in without asking for a login name and password. Check the -f option from /bin/login for this. --loginpause Wait for any key before dropping to the login prompt. Can be combined with --autologin to save memory by lazily spawning shells. ISSUE ESCAPES
mingetty recognizes the following escapes sequences which might be embedded in the /etc/issue file: d insert current day (localtime), l insert line on which mingetty is running, m inserts machine architecture (uname -m), inserts machine's network node hostname (uname -n), o inserts domain name, inserts operating system release (uname -r), insert current time (localtime), s inserts operating system name, u resp. U the current number of users which are currently logged in. U inserts "n users", where as u only inserts "n". v inserts operating system version (uname -v). EXAMPLE
"Linux eos i386 #1 Tue Mar 19 21:54:09 MET 1996" was produced by putting "s m v" into /etc/issue. FILES
/etc/issue, /var/run/utmp. SEE ALSO
mgetty(8), agetty(8). AUTHOR
Copyright (C) 1996 Florian La Roche <laroche@redhat.com>. Man-page written by David Frey <David.Frey@eos.lugs.ch> and Florian La Roche. Debian-Local 6 Apr 1996 MINGETTY(8)
All times are GMT -4. The time now is 02:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy