Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jul 2000 11:39:08 -0700
From:      Mike Smith <msmith@freebsd.org>
To:        Tony Johnson <gjohnson@gs.verio.net>
Cc:        "'current@freebsd.org'" <current@freebsd.org>
Subject:   Re: nic cards 
Message-ID:  <200007171839.LAA10683@mass.osd.bsdi.com>
In-Reply-To: Your message of "Mon, 17 Jul 2000 12:08:45 CDT." <01BFEFE7.C21FC8D0.gjohnson@gs.verio.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
> One thing that I just noticed on the python mailing list is a portable way 
> of retrieving an ip addy.  Why not start using eth0 (unfortunately as they 
> do in Linuxland) eth1 ... For nic cards instead of fxp0 for an intel, 
> etc...
> 
> The fxp0 way is too hardware and implementation dependant.

'ethX' is also too 'specific'.  Use 'ifconfig -l' to get a list of 
network interfaces, at which point you don't care what they're called...

-- 
... every activity meets with opposition, everyone who acts has his
rivals and unfortunately opponents also.  But not because people want
to be opponents, rather because the tasks and relationships force
people to take different points of view.  [Dr. Fritz Todt]




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200007171839.LAA10683>