<br><br><div class="gmail_quote">On Thu, Dec 4, 2008 at 5:26 PM, Jerry Vonau <span dir="ltr"><<a href="mailto:jvonau@shaw.ca">jvonau@shaw.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div class="Wj3C7c"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
</blockquote></div></div>
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:<br>
ETHTOOL_OPTS= speed <10/100/1000> duplex <half/full> autoneg off<br>
<br>
and restart the network.<br><font color="#888888">
<br>
Jerry</font></blockquote><div><br>I edited /etc/sysconfig/network-scripts/ifcfg-eth1 with that at the bottom:<br><br> # OLPC School server<br># This file configures the ethernet port connected to local machines (LAN)<br>
###<br>### NOTE: This file will be _replaced_ in xs-config updates<br>###<br>DEVICE=eth1<br>. /etc/sysconfig/xs_network_config<br><br>if [ "foo$XS_LANBOND0_IPADDR" != "foo" ]; then<br> ONBOOT=yes<br>
TYPE=Ethernet<br> MASTER=lanbond0<br> SLAVE=yes<br> NM_CONTROLLED=no<br>fi<br>ETHTOOL_OPTS= speed <10/100/1000> duplex <half/full> autoneg off<br><br>But when I restart the network, it throws out this:<br>
<br>Bringing up interface lanbond0: ifcfg-eth1: line 16: 10/100/1000: No such file or directory<br>ifcfg-eth1: line 16: 10/100/1000: No such file or directory<br>ifcfg-eth1: line 16: 10/100/1000: No such file or directory<br>
ifcfg-eth1: line 16: 10/100/1000: No such file or directory<br>ifcfg-eth1: line 16: 10/100/1000: No such file or directory<br>RTNETLINK answers: File exists<br> [ OK ]<br>
<br>It looks like autonegotiation is still on:<br><br>[root@schoolserver1 ~]# ethtool eth1<br>Settings for eth1:<br> Supported ports: [ TP ]<br> Supported link modes: 10baseT/Half 10baseT/Full <br> 100baseT/Half 100baseT/Full <br>
1000baseT/Full <br> Supports auto-negotiation: Yes<br> Advertised link modes: 10baseT/Half 10baseT/Full <br> 100baseT/Half 100baseT/Full <br> 1000baseT/Full <br>
Advertised auto-negotiation: Yes<br> Speed: Unknown! (65535)<br> Duplex: Unknown! (255)<br> Port: Twisted Pair<br> PHYAD: 0<br> Transceiver: internal<br> Auto-negotiation: on<br> Supports Wake-on: umbg<br>
Wake-on: g<br> Current message level: 0x00000007 (7)<br> Link detected: no<br><br><br></div></div>