From owner-freebsd-current Sat Sep 28 18:42:44 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A520137B407 for ; Sat, 28 Sep 2002 18:42:40 -0700 (PDT) Received: from hun.org (hun.org [216.190.27.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id 48D2243E65 for ; Sat, 28 Sep 2002 18:42:40 -0700 (PDT) (envelope-from attila@hun.org) Received: by hun.org (Postfix, from userid 1001) id 92BC0664EF; Sun, 29 Sep 2002 01:42:39 +0000 (GMT) Date: Sun, 29 Sep 2002 01:42:39 +0000 (GMT) Message-Id: <20020929014239.f4ZZ1295@hun.org> From: attila! X-Mailer: AttilaMail with XEmacs & Postfix on FreeBSD 5.0-CURRENT X-Ballistic: N 37.218497 W 113.614979 X-Address: 31 N 700 E, St George UT 84770-3028 X-No-Archive: yes In-Reply-To: <3D955FF7.8090905@gmx.net> To: Michael Class Cc: FreeBSD 5.0-CURRENT Subject: Re: xl networking not working any more! Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; name="text" Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I had the same problem with a build from 0000 GMT on 28 Sep which appeared to be up, but would not access the DNS server or anything by name --had been working fine prior to then. I backtracked to 0000 GMT 27 Sep and cvsup'd the 1200 GMT 28 Sep version which is working correctly again (buildworld also compiled completely without failures). I've also had trouble with setting the default route in rc.network --and making it stick-- so I wrote a sub for rc.local which takes care of all of it -- note that I run dhcpd rather than the client and that the ntpd configuration files are in a non-standard location. YMMV ----- /etc/rc.conf (partial) ----- lcl_network_enable="YES" lcl_default_gateway="10.0.0.24" lcl_natd_program="/sbin/natd" lcl_natd_interface="xl0" lcl_dhcpd_program="/usr/local/sbin/dhcpd" lcl_dhcpd_flags="" lcl_ntpd_program="/usr/sbin/ntpd" lcl_ntpd_flags="-g -p /var/run/ntpd.pid -c /etc/ntpd/ntpd.conf -f /etc/ntpd/ntpd.drift" ----- /etc/rc.local (partial) ----- case ${lcl_network_enable} in [Yy][Ee][Ss]) (${lcl_natd_program} -n ${lcl_natd_interface}) \ && echo ' natd started' route add default ${lcl_default_gateway} sysctl net.inet.ip.forwarding=1 sysctl net.inet.ip.sourceroute=1 sysctl net.inet.ip.accept_sourceroute=1 ${lcl_dhcpd_program} ${lcl_dhcpd_flags} (${lcl_ntpd_program} ${lcl_ntpd_flags}) \ && echo ' ntpd started' j1=`date` j2=`echo -n $j1 | awk '{ printf "network loaded: %s, %02s %s %s %s UCT", $1, $3, $2, $6,$ echo $j2 >> /var/log/rchk.log ;; esac Sent: Sat, 28 Sep 2002 09:53:27 +0200 > Hello, > > after the recent changes in if_xl.c (from rev. 1.106 to 1.107) my 3COM > 3C905B interface card does not work any more. > > It is still recognized and the interface comes up, but the media is not > detected any more: > > ifconfig xl0 (with if_xl.c rev. 1.107): > xl0: flags=8943 mtu 1500 > options=3 > inet 172.16.81.200 netmask 0xffffff00 broadcast 172.16.81.255 > inet6 fe80::210:5aff:fed7:dd9c%xl0 prefixlen 64 scopeid 0x1 > ether 00:10:5a:d7:dd:9c > media: Ethernet 100baseTX > status: no carrier > > ifconfig xl0 (with if_xl.c rev. 1.106): > xl0: flags=8943 mtu 1500 > options=3 > inet 172.16.81.200 netmask 0xffffff00 broadcast 172.16.81.255 > inet6 fe80::210:5aff:fed7:dd9c%xl0 prefixlen 64 scopeid 0x1 > ether 00:10:5a:d7:dd:9c > media: Ethernet autoselect (100baseTX ) > status: active > > pciconf -l | fgrep xl0 > xl0@pci0:9:0: class=0x020000 card=0x905510b7 chip=0x905510b7 rev=0x30 > hdr=0x00 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message