From owner-freebsd-current Mon Jul 17 11:30:26 2000 Delivered-To: freebsd-current@freebsd.org Received: from mass.osd.bsdi.com (adsl-63-202-177-51.dsl.snfc21.pacbell.net [63.202.177.51]) by hub.freebsd.org (Postfix) with ESMTP id 886D337BC86 for ; Mon, 17 Jul 2000 11:30:16 -0700 (PDT) (envelope-from msmith@mass.osd.bsdi.com) Received: from mass.osd.bsdi.com (localhost [127.0.0.1]) by mass.osd.bsdi.com (8.9.3/8.9.3) with ESMTP id LAA10683; Mon, 17 Jul 2000 11:39:08 -0700 (PDT) (envelope-from msmith@mass.osd.bsdi.com) Message-Id: <200007171839.LAA10683@mass.osd.bsdi.com> X-Mailer: exmh version 2.1.1 10/15/1999 To: Tony Johnson Cc: "'current@freebsd.org'" Subject: Re: nic cards In-reply-to: Your message of "Mon, 17 Jul 2000 12:08:45 CDT." <01BFEFE7.C21FC8D0.gjohnson@gs.verio.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 17 Jul 2000 11:39:08 -0700 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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