Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Sep 2002 01:42:39 +0000 (GMT)
From:      attila! <attila@hun.org>
To:        Michael Class <michael_class@gmx.net>
Cc:        FreeBSD 5.0-CURRENT <current@freebsd.org>
Subject:   Re: xl networking not working any more!
Message-ID:  <20020929014239.f4ZZ1295@hun.org>
In-Reply-To: <3D955FF7.8090905@gmx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
    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<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
> options=3<rxcsum,txcsum>
> 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 <hw-loopback>
> status: no carrier
>
> ifconfig xl0 (with if_xl.c rev. 1.106):
> xl0: flags=8943<UP,BROADCAST,RUNNING,PROMISC,SIMPLEX,MULTICAST> mtu 1500
> options=3<rxcsum,txcsum>
> 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 <full-duplex>)
> 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




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