Re: [Server-devel] eth1 problems

2009-10-26 Thread Jerry Vonau
On Mon, 2009-10-26 at 08:48 -0700, Alex Kleider wrote:
 Jerry (and others,)
 
 Forgive me for not being clear enough: (I mentioned eth1 picking up an
 IP under another OS only to demonstrate that the hardware seems
 good.) 
 
 The XS configuration is pretty standard: I have the Internet connected
 via eth0 as you mention. The second interface card (which I've been
 calling eth1) is connected to a WAP (which on another computer running
 XS has been demonstrated to do its job of establishing connectivity
 with XOs.) The problem is that eth1 is not  used to connect to
 lanbond0.
 
 Your suggestion that I run ip addr gives us an explanation:
 
 eth1 is NOT LISTED. Instead that card is listed as eth2.
 So I think the challenge now is to either have it seen as eth1
 or to get the landbond0 connection to connect to eth2 instead of
 eth1.ip addr reveals no entry for eth1, eth0 has an IP address on my
 network as expected, the card that I've been referring to as eth1 is
 listed as eth2!
 3: eth2 .state DOWN qlen 1000
 link/ether 00:26:5a:05:ac:31
  

Ok, that is a easy fix, as root
service network stop 
then edit: 
/etc/udev/rules.d/70-persistent-net.rules

if there is a line that has eth1 in it, delete that line, and change the
line that has eth2 to be eth1. 

save and reboot to have the changes take effect.

That should fix you up,

Jerry









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


Re: [Server-devel] eth1 problems

2009-10-26 Thread Alex Kleider
That took care of things. Thank you very much, Jerry.

On Mon, Oct 26, 2009 at 9:14 AM, Jerry Vonau jvo...@shaw.ca wrote:

 On Mon, 2009-10-26 at 08:48 -0700, Alex Kleider wrote:
  Jerry (and others,)
 
  Forgive me for not being clear enough: (I mentioned eth1 picking up an
  IP under another OS only to demonstrate that the hardware seems
  good.)
 
  The XS configuration is pretty standard: I have the Internet connected
  via eth0 as you mention. The second interface card (which I've been
  calling eth1) is connected to a WAP (which on another computer running
  XS has been demonstrated to do its job of establishing connectivity
  with XOs.) The problem is that eth1 is not  used to connect to
  lanbond0.
 
  Your suggestion that I run ip addr gives us an explanation:
 
  eth1 is NOT LISTED. Instead that card is listed as eth2.
  So I think the challenge now is to either have it seen as eth1
  or to get the landbond0 connection to connect to eth2 instead of
  eth1.ip addr reveals no entry for eth1, eth0 has an IP address on my
  network as expected, the card that I've been referring to as eth1 is
  listed as eth2!
  3: eth2 .state DOWN qlen 1000
  link/ether 00:26:5a:05:ac:31
 

 Ok, that is a easy fix, as root
 service network stop
 then edit:
 /etc/udev/rules.d/70-persistent-net.rules

 if there is a line that has eth1 in it, delete that line, and change the
 line that has eth2 to be eth1.

 save and reboot to have the changes take effect.

 That should fix you up,

 Jerry










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


Re: [Server-devel] Early F11 XS build

2009-10-26 Thread Jerry Vonau
On Mon, 2009-10-26 at 10:52 +0100, Martin Langhoff wrote:
 On Mon, Oct 26, 2009 at 1:17 AM, Jerry Vonau jvo...@shaw.ca wrote:
  Is this with anaconda or with your XO image? I've booted F11's anaconda
  that was released on the dvd in my prior testing.
 
 XO image - I'll try tomorrow with the kernel you report as working -
 and if that works report a bug against the (newer) one I ended up
 getting.
 
  No, you just need files from /isolinux  /images on the dvd or disc1...
  Doesn't mkusbinstall work anymore?
 
 Frankly I didn't try it with the XS iso, but assumed it'd be the same
 as with the F11 DVD. Will try.
 
 Earlier, when preparing the installer for my build machine (which has
 no DVD/CD reader), mkusbinstall (running on a F9 host) did not work
 for me with the F11 DVD, and I found some instructions that fixed it,
 by downloading the netboot iso and placing it in /images.
 
What error did anaconda throw up? Got a link to those instructions? 
I needed to run an update.img to get the installer to see my install
when I was upgrading my workstation, can't recall if that problem
extended to the usb install method.  


 Maybe there was PEBKAC and/or just a better fix (hints?). I just hope
 the instructions for our end users can be simple :-)
 
I'm re-testing now, but I'm on a F11 host... 
Ok, see two issue, I forgot that the behaviour of method= changed
between F9  F11. We now need to make use of stage2= in place of
method=(method is going away, anyway). Second is we are assuming with
sed that there is a ks= in the line we're replacing.   

  confusing anaconda over method/repo/stage2. Edit the sed replacement
  line replacing method= with repo=, the inner workings are slightly
  different between F9 and F11.
 
 thanks! - I'll fix that :-)
 
Working up a patch


 cheers,
 
 
 
 m

Jerry

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


[Server-devel] Backup and Recovery

2009-10-26 Thread Caroline Meeks
Backup is now working for us but when I try to recover files by clicking on
them in Moodle they are not showing up in Sugar with the right file type to
be used again.  They show up as File Activity + Backup and I can't open
them.  http://screencast.com/t/Pn2w8IoKy


 How is this supposed to work?

For XOs can you download files and use them again on a new XO?

Thanks,
Caroline



-- 
Caroline Meeks
Solution Grove
carol...@solutiongrove.com

617-500-3488 - Office
505-213-3268 - Fax
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Early F11 XS build

2009-10-26 Thread Jerry Vonau
On Mon, 2009-10-26 at 12:42 -0500, Jerry Vonau wrote:
 On Mon, 2009-10-26 at 10:52 +0100, Martin Langhoff wrote:
snip
 
  Maybe there was PEBKAC and/or just a better fix (hints?). I just hope
  the instructions for our end users can be simple :-)
  
 I'm re-testing now, but I'm on a F11 host... 
 Ok, see two issue, I forgot that the behaviour of method= changed
 between F9  F11. We now need to make use of stage2= in place of
 method=(method is going away, anyway). Second is we are assuming with
 sed that there is a ks= in the line we're replacing.   
 
   confusing anaconda over method/repo/stage2. Edit the sed replacement
   line replacing method= with repo=, the inner workings are slightly
   different between F9 and F11.
  
  thanks! - I'll fix that :-)
  
 Working up a patch
 
I had been working on the F12 version for a bit, the F11 is a backport
of F12. 

http://members.shaw.ca/jvonau/pub/mkusbinstall-F11
http://members.shaw.ca/jvonau/pub/mkusbinstall-F12

My XO-1 boots using version 0.7.0 iso as the source for mkusbinstall.
The ks file is going to need a bit of work to be useful with an XO-1's
mmc card. Now to get it to boot on XO-1.5...
  
Jerry


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


Re: [Server-devel] unregister soas

2009-10-26 Thread David Leeming
I don't have access to the XO used as admin in 0.5.2 before upgrading. I
want to restore Moodle and all the ejabberd data to fresh install status
and then start again. Is thispossible? I suppose I can just reinstall 0.6
fresh. But if there's a way let me know. 

David Leeming
Solomon Islands Rural Link 
http://www.leeming-consulting.com


-Original Message-
From: server-devel-boun...@lists.laptop.org
[mailto:server-devel-boun...@lists.laptop.org] On Behalf Of Martin Langhoff
Sent: Sunday, 18 October 2009 10:01 p.m.
To: Devon Connolly
Cc: server-devel@lists.laptop.org
Subject: Re: [Server-devel] unregister soas

On Sun, Oct 18, 2009 at 1:13 AM, Devon Connolly dev...@gmail.com wrote:
 # su - postgres
 # psql
 # \connect moodle-xs
 # DELETE FROM mdl_user;

That will definitely mess up Moodle. Login as admin and delete the
acct from the UI.

But to re-register an XO, you _do not need to do any of the XS
deletion proposed in this thread_. Just remove the config file on the
XO side and it's done.

cheers,


m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- 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



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


Re: [Server-devel] unregister soas

2009-10-26 Thread Jerry Vonau
On Tue, 2009-10-27 at 12:30 +1100, David Leeming wrote:
 I don't have access to the XO used as admin in 0.5.2 before upgrading. I
 want to restore Moodle and all the ejabberd data to fresh install status
 and then start again. Is thispossible? I suppose I can just reinstall 0.6
 fresh. But if there's a way let me know. 
 
Might want to rpm -e moodle-xs rpm -e ejabberd-xs then re-install
the rpms by hand. If you have the cd burned,
cd /mnt-as-needed/Packages, then
rpm -ivh moodle-xs* rpm -ivh ejabberd-xs*
should put you back to square one with those packages. 
If you have the just the iso mount it loopback.

Jerry
 


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


Re: [Server-devel] Early F11 XS build

2009-10-26 Thread Jerry Vonau
On Mon, 2009-10-26 at 16:40 -0500, Jerry Vonau wrote:
 On Mon, 2009-10-26 at 12:42 -0500, Jerry Vonau wrote:
  On Mon, 2009-10-26 at 10:52 +0100, Martin Langhoff wrote:
 snip
  
   Maybe there was PEBKAC and/or just a better fix (hints?). I just hope
   the instructions for our end users can be simple :-)
   
  I'm re-testing now, but I'm on a F11 host... 
  Ok, see two issue, I forgot that the behaviour of method= changed
  between F9  F11. We now need to make use of stage2= in place of
  method=(method is going away, anyway). Second is we are assuming with
  sed that there is a ks= in the line we're replacing.   
  
confusing anaconda over method/repo/stage2. Edit the sed replacement
line replacing method= with repo=, the inner workings are slightly
different between F9 and F11.
   
   thanks! - I'll fix that :-)
   
  Working up a patch
  
 I had been working on the F12 version for a bit, the F11 is a backport
 of F12. 
 
 http://members.shaw.ca/jvonau/pub/mkusbinstall-F11
 http://members.shaw.ca/jvonau/pub/mkusbinstall-F12
 
 My XO-1 boots using version 0.7.0 iso as the source for mkusbinstall.
 The ks file is going to need a bit of work to be useful with an XO-1's
 mmc card. Now to get it to boot on XO-1.5...
  

The XO-1 ran anaconda to the end in GUI mode (needed the ks.cfg made by
anaconda for the partitioning info), to run in text you have to supply
all the kickstart data (gathered above). Just need to tweek the
kickstart file a bit. Note the @xs-server bit, that works perfect.
http://members.shaw.ca/jvonau/pub/anaconda-ks.cfg
I'll work up a kickstart file that uses text, and adds the olpc.fth file
in %post with the info I gathered. 
 
To bad I only have one SD card, got to wipe the install to play with
os33. :(

Jerry 


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