From owner-freebsd-questions@FreeBSD.ORG Sun Jun 8 09:39:31 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3DCB91065675 for ; Sun, 8 Jun 2008 09:39:31 +0000 (UTC) (envelope-from freebsd@superhero.nl) Received: from superhero.nl (wolverine.superhero.nl [77.73.16.20]) by mx1.freebsd.org (Postfix) with ESMTP id 92BEF8FC24 for ; Sun, 8 Jun 2008 09:39:30 +0000 (UTC) (envelope-from freebsd@superhero.nl) Received: (qmail 68348 invoked by uid 80); 8 Jun 2008 09:39:28 -0000 Received: from 82.95.198.17 (SquirrelMail authenticated user gelsemap) by webmail.superhero.nl with HTTP; Sun, 8 Jun 2008 11:39:28 +0200 (CEST) Message-ID: <49343.82.95.198.17.1212917968.squirrel@webmail.superhero.nl> In-Reply-To: <484B1088.6030905@queldor.net> References: <56297.82.95.198.17.1212870050.squirrel@webmail.superhero.nl> <484B1088.6030905@queldor.net> Date: Sun, 8 Jun 2008 11:39:28 +0200 (CEST) From: "Gelsema, P \(Patrick\) - FreeBSD" To: "Michael Toth" User-Agent: SquirrelMail/1.4.13 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-questions@freebsd.org Subject: Re: NFE setting manually to 1000baseT and half duplex X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jun 2008 09:39:31 -0000 On Sun, June 8, 2008 00:49, Michael Toth wrote: > Hi, > You should be doing > # ifconfig nfe0 10.202.77.110 media 1000baseTX <--- note the 'X' > > Thanks, tried this but same error. hulk# ifconfig nfe0 10.202.77.110 media 1000baseTX ifconfig: SIOCSIFMEDIA (media): Device not configured hulk$ man nfe The nfe driver supports the following media types: autoselect Enable autoselection of the media type and options. 10baseT/UTP Set 10Mbps operation. 100baseTX Set 100Mbps (Fast Ethernet) operation. 1000baseT Set 1000Mbps (Gigabit Ethernet) operation (recent models only). The nfe driver supports the following media options: half-duplex Force half duplex operation. full-duplex Force full duplex operation. Also for some strange reason I lost a couple of ip aliases and my default route whilst trying to change the media and mediaopt. I start to wonder if the combination 1000baseT and half duplex is possible. However setting the NIC manually to 1000baseT doesnt work either. IF set to autoselect it does negotiate to 1000baseT as I can see on the switch. Thanks Patrick > > > Gelsema, P (Patrick) - FreeBSD wrote: >> Hi List, >> >> I am using the nfe driver on Freebsd 7.0R and I am unable to change the >> NIC driver manually to 1000baseT with half-duplex. I believe I am not >> getting the max out of my network connection and want to see if changing >> the duplex will help. >> >> hulk# ifconfig nfe0 10.202.77.110 media 100baseTX >> hulk# ifconfig nfe0 >> nfe0: flags=8843 metric 0 mtu >> 1500 >> options=8 >> ether 00:18:f3:9f:f1:b4 >> inet6 fe80::218:f3ff:fe9f:f1b4%nfe0 prefixlen 64 scopeid 0x2 >> inet 10.202.77.113 netmask 0xffffff00 broadcast 10.202.77.255 >> inet 10.202.77.114 netmask 0xffffff00 broadcast 10.202.77.255 >> inet 10.202.77.76 netmask 0xffffff00 broadcast 10.202.77.255 >> inet 192.168.0.10 netmask 0xffffff00 broadcast 192.168.0.255 >> inet 192.168.1.10 netmask 0xffffff00 broadcast 192.168.1.255 >> inet 10.202.77.110 netmask 0xff000000 broadcast 10.255.255.255 >> media: Ethernet 100baseTX (1000baseTX ) >> status: active >> >> Why between () the 1000baseTX? Is that the actual speed? The maximum >> speed? >> >> hulk# ifconfig nfe0 10.202.77.110 media 1000baseT >> ifconfig: SIOCSIFMEDIA (media): Device not configured >> >> man nfe says this is possible. >> >> hulk# ifconfig nfe0 10.202.77.110 media autoselect >> hulk# ifconfig nfe0 >> nfe0: flags=8843 metric 0 mtu >> 1500 >> options=8 >> ether 00:18:f3:9f:f1:b4 >> inet6 fe80::218:f3ff:fe9f:f1b4%nfe0 prefixlen 64 scopeid 0x2 >> inet 10.202.77.114 netmask 0xffffff00 broadcast 10.202.77.255 >> inet 10.202.77.76 netmask 0xffffff00 broadcast 10.202.77.255 >> inet 192.168.0.10 netmask 0xffffff00 broadcast 192.168.0.255 >> inet 192.168.1.10 netmask 0xffffff00 broadcast 192.168.1.255 >> inet 10.202.77.110 netmask 0xff000000 broadcast 10.255.255.255 >> media: Ethernet autoselect (1000baseTX ) >> status: active >> >> hulk# ifconfig nfe0 mediaopt half-duplex >> No errors but cant see if it works. >> >> Question is, why cant I just do the following; >> hulk# ifconfig nfe0 media 1000baseT mediaopt half-duplex >> >> pciconf -lv >> nfe0@pci0:0:7:0: class=0x068000 card=0x82341043 chip=0x03ef10de >> rev=0xa2 hdr=0x00 >> vendor = 'Nvidia Corp' >> device = 'MCP61 Ethernet' >> class = bridge >> >> hulk# uname -a >> FreeBSD hulk.superhero.nl 7.0-RELEASE FreeBSD 7.0-RELEASE #1: Sun Feb 24 >> 14:37:26 CET 2008 >> admin@hulk.superhero.nl:/usr/obj/usr/src/sys/GENERIC >> amd64 >> hulk# >> >> Thanks and regards, >> >> Patrick >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" >