Re: Script/NICs

From: Oliver Fromme <olli(at)lurza.secnetix.de>
Date: Mon, 9 Aug 2004 16:05:17 +0200 (CEST)

Oliver Lietz <de-bsd-questions(at)oliverlietz.de> wrote:
>
> Am Montag, 9. August 2004 12:40 schrieb Bernd Walter:
> [...]
>
> > > Geht das nicht über die symbolischen Namen (net1, net2, ...) für die
> > > Devices in /dev/net/?
> >
> > Ich weiß nicht was du da siehst, aber bei mir gibt es kein net1:
> > [232]cicely12> ls -al /dev/net
> > total 1
> > dr-xr-xr-x 2 root wheel 512 Jul 26 02:52 .
> > dr-xr-xr-x 5 root wheel 512 Jul 26 02:52 ..
> > crw------- 1 root wheel 253, 1 Jul 26 02:51 fxp0
> > crw------- 1 root wheel 253, 2 Jul 26 02:51 lo0
>
> # ls -al /dev/net*

Gibt's leider in -stable nicht.

>
> > Letzlich muss aber immer noch der User gefragt werden, da das erste
> > Ethernet ja ein onboard sein kann, welches broken ist und eine
> > Erweiterungskarte konfiguriert werden soll.
>
> Dann geht es natürlich nicht mehr (einfach) automatisch.

Man könnte nachgucken, welche Interfaces einen Link haben.
Wo schon gar kein Kabel drinsteckt, will der Benutzer es
vermutlich nicht konfiguriert haben. ;-)

Gruß
   Olli

-- 
Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München
Any opinions expressed in this message may be personal to the author
and may not necessarily reflect the opinions of secnetix in any way.
C++: "an octopus made by nailing extra legs onto a dog"
        -- Steve Taylor, 1998
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Mon 09 Aug 2004 - 16:05:55 CEST

search this site