Re: [Server-devel] Can't get XS to do nameserver/resolv.conf properly, unable to access URLs

2008-06-30 Thread Tony Pearson
Martin,
I got the name serving (DNS client) working.  Basically I had to grep my 
entire /etc for instances of "random.xs.laptop.org" and change that to the 
correct value for our ISP provider.  It seems that "service network 
restart" doesn't re-read the updated /etc/resolv.conf, and so rebooting is 
required.  One key change is creating /etc/sysconfig/olpc_net_config file. 
 This file indicates that the system has already been booted before and 
not to over-write any IP configurations that are generated on the first 
boot with DHCP values for eth0.  We have static IP, and specified 
BOOTPROTO=STATIC, but the XS image keeps over-writing what I had done 
previously, only to find out it did this because "olpc_net_config" never 
gets created.  By manually creating, it stopcs these other actviities.

Thanks





Tony Pearson
Senior Storage Consultant, IBM System Storage?
Telephone: +1 520-799-4309 |  tie 321-4309 |  Cell: +1 520 990-8669
email: [EMAIL PROTECTED] |  GSA: http://tucgsa.ibm.com/~tpearson
Blog: http://www.ibm.com/developerworks/blogs/page/InsideSystemStorage
AKA: 990tony Paravane, eightbar specialist 


<>___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Can't get XS to do nameserver/resolv.conf properly, unable to access URLs

2008-06-29 Thread Martin Langhoff
2008/6/29 Tony Pearson <[EMAIL PROTECTED]>:
> On the second partition, I have XS-163 level, installed from CD of the
> downloaded ISO using the unattended-batch anaconda kickstart file.  I have
> copied over the "resolv.conf" that is working on thefirst partition over to
> the second, but I am unable to resolve any names, unable to ping, elinks or
> yum install any packages.
>
> The static IP addresses match between the two, they are using the same
> ethernet port, on eth0, same MAC address, same IRQ interrupt number.  I am
> able to ping numeric values, but not names.

Odd. If your /etc/resolv.conf matches, and you can ping the dnsservers
listed there, you should be sorted - at least for resolution. Try
using the 'dig' command perhaps.

> I took tarballs of each /etc directory, and ran a "diff" against them.  "<"

That list does not look right - it shows a lot of files that aren't
really different. We have plenty of custom files, but not *that* many
;-)

cheers,



m
-- 
 [EMAIL PROTECTED]
 [EMAIL PROTECTED] -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel