From owner-freebsd-questions Mon Oct 7 3:25:27 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7995D37B401 for ; Mon, 7 Oct 2002 03:25:25 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3AAB643E4A for ; Mon, 7 Oct 2002 03:25:24 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) by smtp.infracaninophile.co.uk (8.12.6/8.12.6) with ESMTP id g97APMVc005985; Mon, 7 Oct 2002 11:25:22 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost) by happy-idiot-talk.infracaninophile.co.uk (8.12.6/8.12.6/Submit) id g97APHqe005984; Mon, 7 Oct 2002 11:25:17 +0100 (BST) Date: Mon, 7 Oct 2002 11:25:17 +0100 From: Matthew Seaman To: Michele Costabile Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Network problem (stall after a few packets) Message-ID: <20021007102517.GC4922@happy-idiot-talk.infracaninophi> Mail-Followup-To: Matthew Seaman , Michele Costabile , freebsd-questions@FreeBSD.ORG References: <3DA14556.2020401@zucchetti.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3DA14556.2020401@zucchetti.com> User-Agent: Mutt/1.5.1i X-Spam-Status: No, hits=-13.4 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01, USER_AGENT,USER_AGENT_MUTT version=2.41 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Oct 07, 2002 at 10:27:02AM +0200, Michele Costabile wrote: > I have installed FreeBSD 4.6.2 on a system with a Realtek RTL8139 > network card and I see a strange behaviour: I connect to the network, > and get my IP with DHCP, but when I start a connection, e.g. I open lynx > or a X browser, I download a few chilobytes and then the network stalls. This sounds as if it might be a problem with autonegotiation of the media settings between your NIC and your switch. (There's a very good reason why those RealTek chipsets are universally despised amongst people that develop ethernet drivers...) Try forcing the card to use whatever settings are appropriate -- the rl(4) has details of what media settings it understands. It's easy to force those settings via ifconfig(8) if you aren't using DHCP --- you might want to beg, borrow or steal yourself a static IP number at least for a while so you can run some tests. However, I think that the following snippet inserted into /etc/dhclient.conf should override any media settings obtained from the DHCP server or any autonegotiated settings. Untested, use at own risk, slippery when wet. See dhclient.conf(5) for the gory details. interface "rl0" { media "media 100baseTX mediaopt full-duplex"; } > I am not sure if I enabled IPv6 (how can i tell?). FreeBSD comes IPv6 capable --- generally to enable it for use on an IPv6 network, you start by ifconfig'ing the interface with an inet6 address. If you aren't interested in IPv6, then you can simply pretend it doesn't exist, and the machine will work perfectly well with the IPv4 settings you give it. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message