Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-24-2003, 09:02 PM
|
#1
|
Member
Registered: Jul 2003
Location: Central Illinois, USA
Distribution: Red Hat Linux 9
Posts: 92
Rep:
|
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
|
|
|
07-24-2003, 09:46 PM
|
#2
|
Member
Registered: Nov 2002
Location: Nashville
Distribution: FreeBSD, Linux, OS-X
Posts: 544
Rep:
|
su to root user and run ifconfig.
Cheers--
Charles
|
|
|
07-24-2003, 10:16 PM
|
#3
|
LQ Newbie
Registered: May 2003
Location: american
Posts: 10
Rep:
|
pls enter this command :
#ifconfig
|
|
|
07-24-2003, 11:09 PM
|
#4
|
Member
Registered: Jul 2003
Location: Central Illinois, USA
Distribution: Red Hat Linux 9
Posts: 92
Original Poster
Rep:
|
none of those worked...
zaphanol
Red Hat 9 User
|
|
|
07-25-2003, 06:46 AM
|
#5
|
Member
Registered: Mar 2003
Location: Switzerland
Distribution: Sun Solaris 7/8/9, Fedora Core 3
Posts: 63
Rep:
|
Try
PHP Code:
fgrep `hostname` /etc/hosts
And why does ifconfig not work? What does it say?
|
|
|
07-25-2003, 08:41 AM
|
#6
|
Member
Registered: Jul 2003
Posts: 60
Rep:
|
I tried to run ifconfig in my redhat, and got
bash: ifconfig: command not found
|
|
|
07-25-2003, 08:59 AM
|
#7
|
Senior Member
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791
Rep:
|
well, it is /sbin/ifconfig
|
|
|
07-25-2003, 08:59 AM
|
#8
|
Member
Registered: Jul 2003
Location: Europe
Posts: 198
Rep:
|
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.
|
|
|
07-25-2003, 09:00 AM
|
#9
|
Member
Registered: Jul 2003
Posts: 60
Rep:
|
/sbin/ifconfig
that works....thank you
|
|
|
07-25-2003, 11:41 AM
|
#10
|
Member
Registered: Jul 2003
Location: Central Illinois, USA
Distribution: Red Hat Linux 9
Posts: 92
Original Poster
Rep:
|
/sbin/ifconfig yes that works! Thanks guys.
|
|
|
All times are GMT -5. The time now is 02:32 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|