[Server-devel] XS 0.5 Second Attempt at eth1

Jerry Vonau jvonau at shaw.ca
Thu Dec 4 18:46:48 EST 2008


Anna wrote:
> On Thu, Dec 4, 2008 at 5:26 PM, Jerry Vonau <jvonau at shaw.ca> wrote:
> 
>>>  auto-negotiation appears to be failing, setting the card to a down state.
>> Ok think we need to set the speed of the card by hand, via ifcfg-eth1 file,
>> could you add:
>> ETHTOOL_OPTS= speed <10/100/1000> duplex <half/full> autoneg off
>>
>> and restart the network.
>>
>> Jerry
> 
> 
> I edited /etc/sysconfig/network-scripts/ifcfg-eth1 with that at the bottom:
> 
>  #  OLPC School server
> #  This file configures the ethernet port connected to local machines (LAN)
> ###
> ### NOTE: This file will be _replaced_ in xs-config updates
> ###
> DEVICE=eth1
> . /etc/sysconfig/xs_network_config
> 
> if [ "foo$XS_LANBOND0_IPADDR" != "foo" ]; then
>    ONBOOT=yes
>    TYPE=Ethernet
>    MASTER=lanbond0
>    SLAVE=yes
>    NM_CONTROLLED=no
> fi
> ETHTOOL_OPTS= speed <10/100/1000> duplex <half/full> autoneg off
> 
> But when I restart the network, it throws out this:
> 
> Bringing up interface lanbond0:  ifcfg-eth1: line 16: 10/100/1000: No such
> file or directory
> ifcfg-eth1: line 16: 10/100/1000: No such file or directory
> ifcfg-eth1: line 16: 10/100/1000: No such file or directory
> ifcfg-eth1: line 16: 10/100/1000: No such file or directory
> ifcfg-eth1: line 16: 10/100/1000: No such file or directory
> RTNETLINK answers: File exists
>                                                            [  OK  ]
> 

hehe, sorry. please select from the choices of what is in the <>.
Jerry

> It looks like autonegotiation is still on:
> 
> [root at schoolserver1 ~]# ethtool eth1
> Settings for eth1:
>     Supported ports: [ TP ]
>     Supported link modes:   10baseT/Half 10baseT/Full
>                             100baseT/Half 100baseT/Full
>                             1000baseT/Full
>     Supports auto-negotiation: Yes
>     Advertised link modes:  10baseT/Half 10baseT/Full
>                             100baseT/Half 100baseT/Full
>                             1000baseT/Full
>     Advertised auto-negotiation: Yes
>     Speed: Unknown! (65535)
>     Duplex: Unknown! (255)
>     Port: Twisted Pair
>     PHYAD: 0
>     Transceiver: internal
>     Auto-negotiation: on
>     Supports Wake-on: umbg
>     Wake-on: g
>     Current message level: 0x00000007 (7)
>     Link detected: no
> 



More information about the Server-devel mailing list