Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 May 1998 22:52:50 +0200 (MEST)
From:      hans@artcom.de (Hans Huebner)
To:        hsu@clinet.fi
Cc:        freebsd-bugs@FreeBSD.ORG
Subject:   Re: kern/6623: non-root user can crash system if disconnected de card present
Message-ID:  <m0ya4zi-000011C@mail.artcom.de>
In-Reply-To: <x27m3ou0ug.fsf@katiska.clinet.fi>
References:  <199805131619.LAA03995@home.dragondata.com.newsgate.clinet.fi>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <x27m3ou0ug.fsf@katiska.clinet.fi> you write:

>toasty@home.dragondata.com writes:
>> Also... Why after a card decides theres a cable problem will it not detect
>> the cable being put back in until you do a 'ifconfig de0 down'. (as soon a
>> syou type that, it suddenly sees the cable again) These are netgear 10/100
>> cards...

>> de0: <Digital 21140A Fast Ethernet> rev 0x22 int a irq 19 on pci0.17.0
>> de0: 21140A [10-100Mb/s] pass 2.2

>metoo with SMC variant of 21140A card.

The workaround is to explicitly set the desired ethernet connection
in /etc/rc.conf as in

ifconfig_de0="inet 10.1.1.2  netmask 255.255.255.0 media 10BaseT/UTP"

See "man 4 de" for possible options to the media specification.

Regards,
-Hans

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



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