[Server-devel] XS 0.5 Second Attempt at eth1

Anna aschoolf at gmail.com
Thu Dec 4 18:41:38 EST 2008


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  ]

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.laptop.org/pipermail/server-devel/attachments/20081204/feeec242/attachment.htm 


More information about the Server-devel mailing list