Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Jun 2008 18:49:44 -0400
From:      Michael Toth <freebsd.mtoth@queldor.net>
To:        "Gelsema, P \(Patrick\) - FreeBSD" <freebsd@superhero.nl>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: NFE setting manually to 1000baseT and half duplex
Message-ID:  <484B1088.6030905@queldor.net>
In-Reply-To: <56297.82.95.198.17.1212870050.squirrel@webmail.superhero.nl>
References:  <56297.82.95.198.17.1212870050.squirrel@webmail.superhero.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi, 
 You should be doing
# ifconfig nfe0 10.202.77.110 media 1000baseTX    <--- note the 'X'

   


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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
>         options=8<VLAN_MTU>
>         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 <full-duplex>)
>         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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
>         options=8<VLAN_MTU>
>         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 <full-duplex>)
>         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"
>   



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