[Server-devel] XS 0.5 Second Attempt at eth1

Reuben K. Caron reuben at laptop.org
Thu Dec 4 10:14:02 EST 2008


I too am having problems with DHCP (and ejabberd) on XS 0.5.

Let me detail my steps

Appended upgradeany- ran default install
Restarted
NICs were swapped.
Ran xs-swapnics

Check var/log/messages found (snipet):

Dec  4 09:36:58 schoolserver1 dhcpd: Listening on
LPF/lanbond0/00:00:00:00:00:00/172.18.96.0/19
Dec  4 09:36:58 schoolserver1 dhcpd: Sending on  
LPF/lanbond0/00:00:00:00:00:00/172.18.96.0/19
----

Dec  4 09:06:24 schoolserver1 dhcpd: No subnet declaration for lanbond0
(172.18.96.1).
Dec  4 09:06:24 schoolserver1 dhcpd: ** Ignoring requests on lanbond0. 
If this is not what
Dec  4 09:06:24 schoolserver1 dhcpd:    you want, please write a subnet
declaration
Dec  4 09:06:24 schoolserver1 dhcpd:    in your dhcpd.conf file for the
network segment
Dec  4 09:06:24 schoolserver1 dhcpd:    to which interface lanbond0 is
attached. **

Reviewed dhcpd-xs.conf file: It did not have a declaration for 172.18.96.*

I reviewed /etc/sysconfig/olpc-scripts/dhcpd.conf.1 - It did not match
dhcpd-xs.conf

I ran ./network-config 1
I ran ./domain-config xs4.org (i know it isn't xs4 but I'm maintaining
domain for posterity)

Rebooted.

dhcpd-xs.conf now has the declaration for 172.18.96

DHCP is started but still does not hand out an IP.

Below are ethtool outputs:

[root at schoolserver1 log]# ethtool eth1
Settings for eth1:
    Supported ports: [ TP ]
    Supported link modes:   10baseT/Half 10baseT/Full
                            100baseT/Half 100baseT/Full
                            1000baseT/Half 1000baseT/Full
    Supports auto-negotiation: Yes
    Advertised link modes:  10baseT/Half 10baseT/Full
                            100baseT/Half 100baseT/Full
                            1000baseT/Half 1000baseT/Full
    Advertised auto-negotiation: Yes
    Speed: 100Mb/s
    Duplex: Full
    Port: Twisted Pair
    PHYAD: 1
    Transceiver: internal
    Auto-negotiation: on
    Supports Wake-on: g
    Wake-on: d
    Current message level: 0x000000ff (255)
    Link detected: yes
[root at schoolserver1 log]# ethtool eth0
Settings for eth0:
    Supported ports: [ TP MII ]
    Supported link modes:   10baseT/Half 10baseT/Full
                            100baseT/Half 100baseT/Full
    Supports auto-negotiation: Yes
    Advertised link modes:  10baseT/Half 10baseT/Full
                            100baseT/Half 100baseT/Full
    Advertised auto-negotiation: Yes
    Speed: 100Mb/s
    Duplex: Full
    Port: MII
    PHYAD: 1
    Transceiver: internal
    Auto-negotiation: on
    Supports Wake-on: pumbg
    Wake-on: d
    Current message level: 0x00000001 (1)
    Link detected: yes




Martin Langhoff wrote:
> 2008/12/3 Anna <aschoolf at gmail.com>:
>   
>> Has anyone gotten eth1 on XS 0.5 working?
>>     
>
> I have, at least on 4 different bits of hw, but I worked on it too
> much to be a good tester of it. Others have installed successfully.
>
> One thing that 0.5 has is that it almost always picks the ordering of
> the NICs _in reverse_ of what 0.4 did. So perhaps your NIC identities
> are reversed? You can test changing the ethernet cables around or use
> xs-swapnics (and then reboot).
>
> Other than that, I'm a bit lost. Can you get any output from calling
> ethtool eth1 ? What's the physical hw? It's also possible (though
> unlikely) that F9 has bad drivers for your specific hw...
>
> cheers,
>
>
>
> m
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.laptop.org/pipermail/server-devel/attachments/20081204/ed151f79/attachment.htm 


More information about the Server-devel mailing list