[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ifconfig data



On Thu, 19 Feb 2009 13:48:12 +0000
Aneurin Price <aneurin.price@gmail.com> wrote:

> On Thu, Feb 19, 2009 at 11:43 AM, Hugo Vanwoerkom
> <hvw59601@care2.com> wrote:
> > Hi,
> >
> > Ifconfig says:
> >
> > ...
> > ppp0      Link encap:Point-to-Point Protocol
> >          inet addr:200.57.201.43  P-t-P:200.57.219.18
> > Mask:255.255.255.255 ...
> >
> > I want that inet addr (200.57.201.43) in a program and I prefer
> > not to run the ifconfig command from it and grep it.
> >
> > Does anyone know where else in the system that information
> > resides?
> >
> > I installed the net-tools source and looking at ifconfig.c it's
> > not immediately obvious.
> >
> 
> Why don't you want to grep the output of ifconfig?
> 

At your command prompt, do

$ apt-cache search dyndns

You'll get a list of 6 possible packages that may suit your needs.

-- 
Raquel
http://www.byraquel.com
============================================================
Diversity is not for the squeamish. It means making (and taking) a
space at the table that includes people you don't like, don't agree
with, or who you think are just plain wrong.

  --Alexander John Goodrum


Reply to: