On Fri, 6 Jan 2006, Hugo Vanwoerkom wrote:
Joachim Fahnenmüller wrote:Hi Hugo, On Fri, Jan 06, 2006 at 12:44:34PM -0600, Hugo Vanwoerkom wrote:Hi, Debian's search tool is down. Anybody know where ifconfig gets the inet addr? ... ppp0 Link encap:Point-to-Point Protocolinet addr:200.57.201.194 P-t-P:200.57.219.18 Mask:255.255.255.255...What sort of interface is it, and how do you bring it up? E. G. if it is a modemconnection to an ISP, the IP address is probably given by the ISP RegardsI did not phrase that question correctly. I mean, where in the /proc or /sym directories is the IP address stored. From someplace there ifconfig gets it. Indeed initially it is provided by the ISP.
A (very) quick look at the ifconfig source in net-tools suggests that it calls glibc for the information. In particular, it looks like it depends on interfaces in /usr/include/net and /usr/include/netinet, among other places. - Aaron -- Aaron Hall : I do quarrel with logic that says, "Stupid people ahall@vitaphone.net : are associated with X, therefore X is stupid." : Stupid people are associated with everything. : -- Larry Wall