Date: Wed, 27 Mar 2002 13:37:30 -0800 (PST) From: Julian Elischer <julian@elischer.org> To: Gavin Atkinson <gavin@ury.york.ac.uk> Cc: freebsd-net@freebsd.org Subject: Re: How to detect link on unconfigered interface? Message-ID: <Pine.BSF.4.21.0203271337040.47944-100000@InterJet.elischer.org> In-Reply-To: <Pine.BSF.4.33.0203272056190.6118-200000@ury.york.ac.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
you can bring it 'up' without giving it an IP address e.g. ifconfig ed0 up On Wed, 27 Mar 2002, Gavin Atkinson wrote: > > Hi, > > I have a problem I have so far been unsuccessful in solving. I want to > detect if a particular network interface has a link, before this interface > has an IP address configured. > > From looking at the source to ifconfig, which successfully does this, the > attached code should work, but doesn't. Can anyone help me please? > > Thanks, > > Gvain > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0203271337040.47944-100000>