From owner-freebsd-hackers Thu Dec 5 10:15:49 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id KAA21679 for hackers-outgoing; Thu, 5 Dec 1996 10:15:49 -0800 (PST) Received: from smtp-gw01.ny.us.ibm.net (smtp-gw01.ny.us.ibm.net [165.87.194.252]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id KAA21672 for ; Thu, 5 Dec 1996 10:15:44 -0800 (PST) Received: (from uucp@localhost) by smtp-gw01.ny.us.ibm.net (8.6.9/8.6.9) id SAA64582; Thu, 5 Dec 1996 18:15:09 GMT Message-Id: <199612051815.SAA64582@smtp-gw01.ny.us.ibm.net> Received: from slip166-72-229-80.va.us.ibm.net(166.72.229.80) by smtp-gw01.ny.us.ibm.net via smap (V1.3mjr) id smaYvwC92; Thu Dec 5 18:14:59 1996 Reply-To: From: "Steve Sims" To: "Andrzej Bialecki" , Subject: Re: if_de.c && autosense disabling Date: Thu, 5 Dec 1996 13:14:07 -0500 X-MSMail-Priority: Normal X-Priority: 3 X-Mailer: Microsoft Internet Mail 4.70.1155 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk 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 > 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 _) _) _)_) _)_)_) _) _) > --------------------------------------- _)_) _) _) _) _)_) _)_) > Research and Academic Network in Poland _) _)_) _)_)_)_) _) _) _) > Bartycka 18, 00-716 Warsaw, Poland _) _) _) _) _)_)_) _) _) > +-------------------------------------------------------------------------+ > >