Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Jun 2008 11:39:28 +0200 (CEST)
From:      "Gelsema, P \(Patrick\) - FreeBSD" <freebsd@superhero.nl>
To:        "Michael Toth" <freebsd.mtoth@queldor.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: NFE setting manually to 1000baseT and half duplex
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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<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"
>>
> _______________________________________________
> 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?49343.82.95.198.17.1212917968.squirrel>