LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 07-24-2003, 09:02 PM   #1
zaphanol
Member
 
Registered: Jul 2003
Location: Central Illinois, USA
Distribution: Red Hat Linux 9
Posts: 92

Rep: Reputation: 15
Exclamation Finding Local network IP address.


How can I find my "Local" IP address in Linux? Not "Public" IP address but my computer's IP address on my home network.

Thanks,

ZAPHANOL
Red Hat 9 User
 
Old 07-24-2003, 09:46 PM   #2
cnjohnson
Member
 
Registered: Nov 2002
Location: Nashville
Distribution: FreeBSD, Linux, OS-X
Posts: 544

Rep: Reputation: 30
su to root user and run ifconfig.

Cheers--
Charles
 
Old 07-24-2003, 10:16 PM   #3
Sunyard
LQ Newbie
 
Registered: May 2003
Location: american
Posts: 10

Rep: Reputation: 0
pls enter this command :
#ifconfig
 
Old 07-24-2003, 11:09 PM   #4
zaphanol
Member
 
Registered: Jul 2003
Location: Central Illinois, USA
Distribution: Red Hat Linux 9
Posts: 92

Original Poster
Rep: Reputation: 15
none of those worked...

zaphanol
Red Hat 9 User
 
Old 07-25-2003, 06:46 AM   #5
cwolf
Member
 
Registered: Mar 2003
Location: Switzerland
Distribution: Sun Solaris 7/8/9, Fedora Core 3
Posts: 63

Rep: Reputation: 15
Try
PHP Code:
fgrep `hostname` /etc/hosts 


And why does ifconfig not work? What does it say?
 
Old 07-25-2003, 08:41 AM   #6
DKY
Member
 
Registered: Jul 2003
Posts: 60

Rep: Reputation: 15
I tried to run ifconfig in my redhat, and got
bash: ifconfig: command not found
 
Old 07-25-2003, 08:59 AM   #7
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 46
well, it is /sbin/ifconfig
 
Old 07-25-2003, 08:59 AM   #8
mrhyde
Member
 
Registered: Jul 2003
Location: Europe
Posts: 198

Rep: Reputation: 30
At the command line type " redhat-config-network " this GUI will present you with your network parameters. Also you could read the configuration files in /etc/sysconfig/network-scripts.
 
Old 07-25-2003, 09:00 AM   #9
DKY
Member
 
Registered: Jul 2003
Posts: 60

Rep: Reputation: 15
/sbin/ifconfig

that works....thank you
 
Old 07-25-2003, 11:41 AM   #10
zaphanol
Member
 
Registered: Jul 2003
Location: Central Illinois, USA
Distribution: Red Hat Linux 9
Posts: 92

Original Poster
Rep: Reputation: 15
/sbin/ifconfig yes that works! Thanks guys.
 
  


Reply


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
Problem with an external DHCP server giving address on my local department network atl02wrx Linux - Networking 2 07-12-2005 05:50 AM
why does FTP server send local network address in passive mode? edesmarais Linux - Newbie 11 03-16-2005 12:33 AM
finding network address apocolipse Slackware 2 11-22-2004 10:49 PM
finding local IP address flynnhandley Linux - Software 2 10-08-2003 04:08 AM
finding local fily system on a network sadiboyz Linux - Software 1 08-10-2003 10:14 PM


All times are GMT -5. The time now is 07:28 AM.

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