Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-17-2003, 10:28 PM   #1
LQ Newbie
Registered: Jun 2003
Posts: 2

Rep: Reputation: 0
UNIX command to identify a system's IP address

Im a newbie. I have two questions. I installed Red hat 9.0 a few days ago. I thought I set it up to install the text mode but when it rebooted, it rebooted to graphics mode and I need to know how to change it back to text mode.

Also I need to know the command that will tell me the IP address of the machine it's running on. I turned DHCP on when I turned it on but don't know how to identify the address of the machine so I can remote boot into it.

Any help would be appreciated
Old 06-17-2003, 10:42 PM   #2
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
as root if you edit the file /etc/inittab you will see a line that says:
the 5 is telling it to boot you directly to X..
if you change the 5 to a 3 to look like:
you will boot directly to the console...instead of the X Windows...
as for finding the ip address and assuming your connection to the internet is using eth0, you will issue the following:
/sbin/ifconfig eth0
Old 06-18-2003, 02:23 AM   #3
LQ Newbie
Registered: Jun 2003
Posts: 2

Original Poster
Rep: Reputation: 0
many many thanks. im going to try it now
Old 06-18-2003, 03:09 AM   #4
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
You don't have to specify eth0
/sbin/ifconfig will list all connections

Old 06-18-2003, 01:40 PM   #5
Registered: Apr 2003
Location: Juneau, Alaska
Posts: 250

Rep: Reputation: 32
If your internet connection uses dial-up or pppoe the IP number will show up on the ppp0 interface in the output from "/sbin/ifconfig -a"
Old 06-18-2003, 03:02 PM   #6
Registered: May 2003
Posts: 256

Rep: Reputation: 30
netconfig, ifconfig, dhcpd
Old 06-18-2003, 03:04 PM   #7
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How The Unix OS translate the shell command flavor Programming 4 10-25-2005 01:02 PM
Command and Unix help thinkgeek Programming 3 07-05-2005 02:24 AM
Is exp an Unix command? gopikrish Linux - Newbie 4 12-13-2004 02:19 AM
What command can identify processes running on ports? hello321_1999 Linux - Newbie 2 11-23-2004 06:01 AM
unix command to linux command leonidas Linux - General 1 09-10-2004 01:40 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:15 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration