Date: Thu, 5 Dec 1996 13:14:07 -0500 From: "Steve Sims" <SimsS@IBM.Net> To: "Andrzej Bialecki" <abial@korin.warman.org.pl>, <freebsd-hackers@FreeBSD.org> Subject: Re: if_de.c && autosense disabling Message-ID: <199612051815.SAA64582@smtp-gw01.ny.us.ibm.net>
next in thread | raw e-mail | index | archive | help
Gee, I dunno - mine works great!
>From /etc/sysconfig:
[...]
network_interfaces="lo0 de0"
ifconfig_lo0="inet localhost"
ifconfig_de0="inet 1.2.3.4 -link2 netmask 0xfffffff8"
[...]
The '-link2' flag keeps everything in line for me.
...sjs...
----------
> From: Andrzej Bialecki <abial@korin.warman.org.pl>
> To: freebsd-hackers@FreeBSD.org
> Subject: if_de.c && autosense disabling
> Date: Thursday, December 05, 1996 4:36 AM
>
> Hi!
>
> I recently installed an SMC EtherPower card in my machine (2.2-ALPHA,
> P5 133MHz, 64MB RAM, AHA2940U & Fujitsu 2.4G, MB Soyo Triton HX).
>
> I noticed certain behavior of the if_de driver, which is rather annoying.
> I use 10baseT cable, and during bootup it gets recognized ("autosensed")
> properly. When I physically disconnected the cable from the card (I had to
> plug it into another wall socket, on the same hub), the driver began
> switching to other types of media (AUI, then BNC).
> Unfortunately, when I reconnected the UTP cable, nothing happened, i.e.
> the driver was still stuck to the BNC port. And I still didn't see the
> net, of course.
>
> So, perhaps it would be good to add some flag (via ifconfig??? via -c
> during bootup???) or a compile option to if_de.c to tell the driver that I
> don't need any autosensing nor switching to other media - I just want my
> plain vanilla UTP (AUI/BNC/other :-), that's all.
>
> I saw such an option in Linux driver, and recompiling the driver with this
> option worked just fine.
>
> Is this a good idea, or a bad one? Or, maybe I'm missing something.
>
> BTW, as a side effect to this, switching to other media flushed my routing
> table so it was totally empty! so after I reconnected UTP cable, I had to
> make ifconfig down/up to reset the driver to initial state, and still
> nothing worked. So then I had to make 'route add default....' and so on.
> Otherwise I could only reboot to make it work. It seems the whole process
> is too big a penalty for pulling out the cable for just a moment.
>
> Andy,
>
> +-------------------------------------------------------------------------+
> Andrzej Bialecki <abial@warman.org.pl> _) _) _)_) _)_)_) _) _)
> --------------------------------------- _)_) _) _) _) _)_) _)_)
> Research and Academic Network in Poland _) _)_) _)_)_)_) _) _) _)
> Bartycka 18, 00-716 Warsaw, Poland _) _) _) _) _)_)_) _) _)
> +-------------------------------------------------------------------------+
>
>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612051815.SAA64582>
