LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 06-18-2007, 08:22 AM   #1
aeby
Member
 
Registered: Mar 2007
Posts: 109

Rep: Reputation: 15
gentoo - ipaddress


Hi,
Please can anyoone tell me which file ifconfig reads to get the ipadress, or in which file is ipaddress stored.

In RedHat it is stored on /etc/sysconfig/network-scripts/ifcfg-etho
i need to know which file it is on genttoo

Thnks in advance
 
Old 06-18-2007, 08:28 AM   #2
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
ifconfig actually reads kernel memory..

However, rc-update adds a link to /etc/init.d/net.eth~ (which is a link to /etc/int.d/net.lo)

The config data is saved in /etc/conf.d/net
 
  


Reply



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
IPaddress packet xeon123 Linux - Networking 1 03-25-2007 07:01 PM
getting the location through the ipaddress deepclutch Linux - Networking 2 02-11-2007 01:10 AM
ipaddress ....in my program... hegdeshashi Programming 5 07-06-2006 12:11 PM
can't ssh into loopback ipaddress markw8500 Linux - General 3 12-29-2005 06:31 PM
ipaddress and hostname groverrajiv Linux - Networking 1 04-24-2004 08:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:59 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration