Re: [Server-devel] Static Ip settings
On Mon, Aug 11, 2008 at 10:38 PM, James Cameron [EMAIL PROTECTED] wrote: On Mon, Jul 28, 2008 at 08:19:30AM -0700, Tom Mitchell wrote: The comment about Debian version reminds me to ask about man and info pages. Is there a set of man pages that matches the packages for various XO installations? Since XO disk space is small I expect an online or school server cache These are deleted from the build after the RPMs are installed but before the final images are made. For specific manual pages one might reinstall the RPM involved, but a general capture of the whole documentation tree isn't available. An idea I had was to build an RPM of the documentation being deleted during the build, and providing this for download. I've not investigated how to do that. Thanks -- Documentation that matches the package set as delivered will be needed. I have not looked for the build scripts... Is there a pointer? -- T o m M i t c h e l l mitch-at-niftyegg-dot-com ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Static Ip settings
On Mon, Aug 11, 2008 at 11:10:13PM -0700, Tom Mitchell wrote: I have not looked for the build scripts... Is there a pointer? http://dev.laptop.org/git?p=users/mstone/puritan;f=install_hacks.py;hb=devel_jffs2 line 161. # kill caches and documentation (needs to be done after we finish reading the rpm db) for dir in ('var/lib/rpm', 'var/lib/yum', 'var/cache/yum', 'usr/share/doc', 'usr/share/man', 'usr/share/info', 'usr/kerberos/man'): lout(['/bin/rm', '-r', '-f', join(root, dir)]) -- James Cameronmailto:[EMAIL PROTECTED] http://quozl.netrek.org/ ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Static Ip settings
On Tue, Aug 12, 2008 at 04:50:20PM +1000, James Cameron wrote: On Mon, Aug 11, 2008 at 11:10:13PM -0700, Tom Mitchell wrote: I have not looked for the build scripts... Is there a pointer? http://dev.laptop.org/git?p=users/mstone/puritan;f=install_hacks.py;hb=devel_jffs2 line 161. # kill caches and documentation (needs to be done after we finish reading the rpm db) for dir in ('var/lib/rpm', 'var/lib/yum', 'var/cache/yum', 'usr/share/doc', 'usr/share/man', 'usr/share/info', 'usr/kerberos/man'): lout(['/bin/rm', '-r', '-f', join(root, dir)]) -- James Cameronmailto:[EMAIL PROTECTED] http://quozl.netrek.org/ Thank you Removing the man and info pages is an obvious and necessary step to keep within the tight space limits of the XO.In a not too urgent future .. I would like to see the rm become a mv so they can be captured and packaged for something like a school server or slurped into some laptop.org web location for reference by teachers, users and those doing community support. Is this worth a low priority tracking ticket or some such...? Regards, mitch -- T o m M i t c h e l l Got a great hat... now what. ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Static Ip settings
The comment about Debian version reminds me to ask about man and info pages. Is there a set of man pages that matches the packages for various XO installations? Since XO disk space is small I expect an online or school server cache On Sat, Jul 26, 2008 at 5:08 PM, James Cameron [EMAIL PROTECTED] wrote: On Sun, Jul 27, 2008 at 09:40:04AM +1100, David Leeming wrote: Thanks James, I think this was a case of a typo and fixation with the error staring me in the face!! Sometimes one should look for the obvious!!! ;-) I used the Debian version of ipcalc in my reply. Should you need it, another variant of ipcalc is on the XO, as part of the initscripts package, but it has different syntax ... $ ipcalc --netmask 202.0.158.96/29 NETMASK=255.255.255.248 -- James Cameronmailto:[EMAIL PROTECTED] http://quozl.netrek.org/ ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel -- T o m M i t c h e l l mitch-at-niftyegg-dot-com ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Static Ip settings
Thanks James, I think this was a case of a typo and fixation with the error staring me in the face!! Sometimes one should look for the obvious!!! David Leeming OLPC Coordinator, SPC and Technical Advisor, People First Network Honiara, Solomon Islands -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James Cameron Sent: Saturday, 26 July 2008 10:53 a.m. To: David Leeming Cc: server-devel@lists.laptop.org Subject: Re: [Server-devel] Static Ip settings G'day David, Destination host unreachable suggests either incorrect netmask, a route missing on the XS, causing it to use another interface it has, or a reply from the gateway over ICMP refusing to forward the packets. Based on the data you sent, I think the network mask is the cause, especially given that you had incomplete ARP. You wrote: I have changed the /etc/sysconfig/network-scripts/ifcfg-eh0 to DEVICE=eth0 ONBOOT=yes BOOTPROTO=static IPADDR=202.0.158.99 NETWORK=202.0.158.96 NETMASK=202.0.158.248 GATEWAY=202.0.158.97 The NETMASK should be 255.255.255.248 according to a calculator ... $ ipcalc 202.0.158.96/29 Address: 202.0.158.96 11001010..1000.01100 000 Netmask: 255.255.255.248 = 29 ...1 000 Wildcard: 0.0.0.7 ...0 111 = Network: 202.0.158.96/29 11001010..1000.01100 000 HostMin: 202.0.158.97 11001010..1000.01100 001 HostMax: 202.0.158.10211001010..1000.01100 110 Broadcast: 202.0.158.10311001010..1000.01100 111 Hosts/Net: 6 Class C Try changing that and taking the interface down and up, ifdown eth0 ifup eth0 Or to temporarily test on the active system ... ifconfig eth0 netmask 255.255.255.248 -- James Cameronmailto:[EMAIL PROTECTED] http://quozl.netrek.org/ ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] Static Ip settings
On Sun, Jul 27, 2008 at 09:40:04AM +1100, David Leeming wrote: Thanks James, I think this was a case of a typo and fixation with the error staring me in the face!! Sometimes one should look for the obvious!!! ;-) I used the Debian version of ipcalc in my reply. Should you need it, another variant of ipcalc is on the XO, as part of the initscripts package, but it has different syntax ... $ ipcalc --netmask 202.0.158.96/29 NETMASK=255.255.255.248 -- James Cameronmailto:[EMAIL PROTECTED] http://quozl.netrek.org/ ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
[Server-devel] Static Ip settings
I am a little new to Linux at this level, please can the list advise me regarding changing the network settings for static IP. I'm also not a wizard on general networking. I am in the field in the Solomon Islands, in the middle of single-class deployments in 3 primary schools. I have a demo XS on a laptop with a prototype AA. It works great and adds a really useful dimension for the teachers and education officials, not to mention the teachers and students. I have loaded it with a variety of demo contents in different formats, within a simple html framework. In a couple of weeks we will be delivering servers for each school and starting to work on content from the curriculum dept and other sources. However, the immediate task at the current school is to connect the XS to a VSAT that the school has been enjoying here, a pilot one as part of a regional program called Pacific Rural Internet Connectivity System (RICS). The modem does not have DHCP, and I have no broadband router with me and want to get it working on static IP so I can demo the Internet access for XOs via the XS. The VSAT is on network is 202.0.158.96/29 Gateway = 202.0.158.97 Usable IPs 202.0.158.99 - 202.0.158.103 I have changed the /etc/sysconfig/network-scripts/ifcfg-eh0 to DEVICE=eth0 ONBOOT=yes BOOTPROTO=static IPADDR=202.0.158.99 NETWORK=202.0.158.96 NETMASK=202.0.158.248 GATEWAY=202.0.158.97 And added the DNS to the /etc/resolv.conf file nameserver = (IP of the DNS servers out on the Internet) I can ping the IP addr i.e. 202.0.158.99 but any other address replies Destination host unreachable arp gives 202.0.158.97 (incomplete) Ifconfig eth0 looks OK, it has found the hardware address and shows Broadcast up (but not running) What more can I do to diagnose? David Leeming Solomon Islands, South Pacific ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel