[Server-devel] XS server struggles

2011-06-18 Thread Tom Daly
G'Day  all,

I am trying to setup up an XS server to support a deployment we have of XO 
1.5's in Timor Leste.
I have setup a USB boot and have worked through David Leeming's XS installation 
instructions and I appear to have a working XS server, I can ping and access 
the yum repos via eth0  (I used xsau-testing for my update).

I am not using a wireless access point, I was figuring I could just use the 
wireless of the small netbook to communicate with the XOs (although I note that 
the wireless port of the XS server has no IP allocated).  Is this a bad 
assumption ?

- is there something I should be reading about how get the XOs using the XS
- I want to be able to use the XS mainly for software distribution, so as to 
avoid the folks in Timor having to insert a flash drive into each XO ..is this 
possible if so how and what do I read to find out how to do this ?

thanks for any pointers/help

regards
Tom Daly 

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


Re: [Server-devel] XS server struggles

2011-06-18 Thread Jerry Vonau
On Sat, 2011-06-18 at 18:34 +0930, Tom Daly wrote:
 G'Day  all,
 
 I am trying to setup up an XS server to support a deployment we 
 have of XO 1.5's in Timor Leste. I have setup a USB boot and have 
 worked through David Leeming's XS installation instructions and 
 I appear to have a working XS server, I can ping and access the 
 yum repos via eth0 (I used xsau-testing for my update).
 
 I am not using a wireless access point, I was figuring I could 
 just use the wireless of the small netbook to communicate with the
 XOs (although I note that the wireless port of the XS server has 
 no IP allocated).  Is this a bad assumption ?
 

Well, kind of, I don't have a quick how-to on how to do that, and not
all wifi card can act as an AP. Your in uncharted waters here but you
would need to have in your wifi card's ifcfg-device file:

DEVICE=device  edit this to be the same as ifcfg-device
ONBOOT=yes
TYPE=Wireless
MODE=ad-hoc
CHANNEL=1change to suit
ESSID=school-mesh-0  change to suit
MASTER=lanbond0
SLAVE=yes
NM_CONTROLLED=no
HOTPLUG=yes

This will place your wifi device as a slave of lanbond0 and should be
bonded to it, picking up the ip info from it.

 - is there something I should be reading about how get the XOs using the XS
The XS model assumes 2 network cards, not nic card and one wifi. 

 - I want to be able to use the XS mainly for software distribution, so as to 
 avoid the folks in 
 Timor having to insert a flash drive into each XO ..is this possible if so 
 how and what do I read 
 to find out how to do this ?
 
Once the XO's can use the XS's dhcp server everything should just work.

 thanks for any pointers/help
 
 regards
 Tom Daly 
 

Good luck,

Jerry


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


Re: [Server-devel] Hibrid configuration for the XS-server|XS inside a network

2011-04-04 Thread Alvar Maciel
On Sun, Apr 3, 2011 at 4:46 PM, Rodolfo D. Arce S. rodolfo.arc...@gmail.com
 wrote:

 Here's some usefull data from Paraguay Educa

 http://wiki.paraguayeduca.org/index.php/Servidor

 Thanks, it's really usefull this information
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Hibrid configuration for the XS-server|XS inside a network

2011-04-04 Thread Alvar Maciel
On Sun, Apr 3, 2011 at 7:14 PM, Martin Langhoff
martin.langh...@gmail.comwrote:

 On Sun, Apr 3, 2011 at 11:23 AM, Alvar Maciel al...@tuquito.org.ar
 wrote:
  My name is Alvar Maciel, I'm from Argentina and in our school we are
 trying
  to use the moodle of the XS-Server.

 Hi Alvar!

 Jerry Vonau has done some very good work on this track. I don't
 recommend at all a VM.

 Instead, install a vanilla F9, and then pick the packages you need
 from our XS rpm repo
 http://xs-dev.laptop.org/xsrepos/testing/olpc/9/i386/

 Thanks I will try :D
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Hibrid configuration for the XS-server|XS inside a network

2011-04-04 Thread Reuben K. Caron
Alvar,

You could also:

-Install on VM with one NIC
-When installation is complete run xs-swapnics.
-The one NIC should be assigned an IP on your network.
-Add a record in your DNS server pointing to the XS IP address on your  
network.

Regards,

Reuben

On Apr 3, 2011, at 6:14 PM, Martin Langhoff wrote:

 On Sun, Apr 3, 2011 at 11:23 AM, Alvar Maciel al...@tuquito.org.ar  
 wrote:
 My name is Alvar Maciel, I'm from Argentina and in our school we  
 are trying
 to use the moodle of the XS-Server.

 Hi Alvar!

 Jerry Vonau has done some very good work on this track. I don't
 recommend at all a VM.

 Instead, install a vanilla F9, and then pick the packages you need
 from our XS rpm repo
 http://xs-dev.laptop.org/xsrepos/testing/olpc/9/i386/

 You'll probably need some bits from the xs-config package.

 I am trying to make this kind of setup easier in the next XS release
 -- unfortunately it's pretty hard with the current XS :-/

 Again, Jerry's work on that track is very helpful -



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


[Server-devel] Hibrid configuration for the XS-server|XS inside a network

2011-04-03 Thread Alvar Maciel
Hi,
My name is Alvar Maciel, I'm from Argentina and in our school we are trying
to use the moodle of the XS-Server.
In our school we have a Debian server that provides DHCP, DNS Service and
file sharing via Samba. In our case we want to use gnome with some courses
and sugar with other courses (we run sugar on Tuquito distribution
http://wiki.sugarlabs.org/go/Community/Distributions/tuquito).
To try I instal on a Virtual Machine XS-server. But I need some advises to
continue the implementation.
Can I run only the moodle from the XS to have the *presencebycourse service*
?
how can I do this?
Another problem that I have is the addres taked by eth0, the interface takes
an addres from outside the pool of mi DHCP (we use 192.168.1.0 an the
interface show 10.0.2.15) and wen i change the
*/etc/sysconfig/network-scripts/ifcfg-eth0-local
*and run* /etc/init.d/network restart  *appears a fi unexpected on line 32
in ifcg-eth0.
Can you help me with this
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Hibrid configuration for the XS-server|XS inside a network

2011-04-03 Thread Rodolfo D. Arce S.
Here's some usefull data from Paraguay Educa

http://wiki.paraguayeduca.org/index.php/Servidor

you can skip the stuff about puppet because that was for administrative purpose

cheers.. R

2011/4/3 Alvar Maciel al...@tuquito.org.ar:
 Hi,
 My name is Alvar Maciel, I'm from Argentina and in our school we are trying
 to use the moodle of the XS-Server.
 In our school we have a Debian server that provides DHCP, DNS Service and
 file sharing via Samba. In our case we want to use gnome with some courses
 and sugar with other courses (we run sugar on Tuquito distribution
 http://wiki.sugarlabs.org/go/Community/Distributions/tuquito).
 To try I instal on a Virtual Machine XS-server. But I need some advises to
 continue the implementation.
 Can I run only the moodle from the XS to have the presencebycourse service?
 how can I do this?
 Another problem that I have is the addres taked by eth0, the interface takes
 an addres from outside the pool of mi DHCP (we use 192.168.1.0 an the
 interface show 10.0.2.15) and wen i change the
 /etc/sysconfig/network-scripts/ifcfg-eth0-local and run /etc/init.d/network
 restart  appears a fi unexpected on line 32 in ifcg-eth0.
 Can you help me with this

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





-- 
Rodolfo D. Arce S.
web: rodolfoarce.com
twitter: @rodolfoarces
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Hibrid configuration for the XS-server|XS inside a network

2011-04-03 Thread Martin Langhoff
On Sun, Apr 3, 2011 at 11:23 AM, Alvar Maciel al...@tuquito.org.ar wrote:
 My name is Alvar Maciel, I'm from Argentina and in our school we are trying
 to use the moodle of the XS-Server.

Hi Alvar!

Jerry Vonau has done some very good work on this track. I don't
recommend at all a VM.

Instead, install a vanilla F9, and then pick the packages you need
from our XS rpm repo
http://xs-dev.laptop.org/xsrepos/testing/olpc/9/i386/

You'll probably need some bits from the xs-config package.

I am trying to make this kind of setup easier in the next XS release
-- unfortunately it's pretty hard with the current XS :-/

Again, Jerry's work on that track is very helpful -



m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- Software Architect - OLPC
 - 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] Accessing a XS server from the WAN

2010-04-24 Thread samy boutayeb
Hi,
OLPC France has managed to install 2 XS Servers.
The first machine will be shipped to our deployment in Nosy Komba
(Madagascar). As for the second machine, it should be used for testing
and training purposes.

How do we manage to access to this server from the outside?

This training server is installed on a netbook (acer aspire one) with
one physical ethernet interface (eth0). 
A second wired link is provided by an usb-to-lan adapter (interface
lanbond0).

Actually, the moodle server is accessed from another PC (non XO) via
this lanbond0 interface.

As I am not a network expert, I didn't manage to access from the public
interface (provided by the eth0 interface) from inside the LAN. Another
issue is that the server keep invisible to an XO (even if IP addresses
are assigned to the wireless interfaces mshbond0, mshbond1 and mshbond2,
with 172.18.10.1, 172.18.12.1 and 172.18.14.1).

Comments appreciated

regards,
samy

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


Re: [Server-devel] Accessing a XS server from the WAN

2010-04-24 Thread Martin Langhoff
On Sat, Apr 24, 2010 at 6:18 AM, samy boutayeb s.bouta...@free.fr wrote:
 OLPC France has managed to install 2 XS Servers.\

Cool!

 How do we manage to access to this server from the outside?

You can change the configuration of ssh to listen on the eth0 (WAN)
address. Create a non-root user account, and setup pubkey
authentication. Use that account to login, and then su to root.

If the IP address is dynamic, you can use a service like dyndns.
Install the appropriate script to run on cron or on ifup-post (dyndns
website has the documentation...)

This assumes your XS has a public IP address, and there are no
firewalls preventing access to port 22. IME, it is very likely that
your XS hasn't got a public IP address -- instead your ISP will have
it behind a NAT box.

In the case where the XS is behind a NAT box, you'll need to ssh out
from the XS to an intermediary server, having that outbound ssh
connection configured to setup a reverse ssh tunnel. The xs-callhome
script (included in the XS install) is a good example, but is
currently broken.

 As I am not a network expert

You might need a network expert then :-( right now this is not easy to
do. It's on my to-do list to make this easier, but that list is long
long long...

 Another
 issue is that the server keep invisible to an XO

Explain that problem in more detail. From any XO, once you are
associated to the right AP, you must be able to `ping schoolserver`.

 (even if IP addresses
 are assigned to the wireless interfaces mshbond0, mshbond1 and mshbond2,
 with 172.18.10.1, 172.18.12.1 and 172.18.14.1).

DO NOT DO THAT.

Do not change _any_ network settings on the XS, except for the eth0
configuration toget connected to the Internet. This setup isvery
specific, and we cannot really help if you change it.

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


Re: [Server-devel] Web Caching for Areas with Intermittent Internet - WWWOFFLE installation Guide on 0.6 XS Server

2010-04-12 Thread Martin Langhoff
Hi Andra

Fantastic! Thanks! Couple questions:

 - Can we remove the need to set proxy on every XO by either...
   - using a transparent proxy, same as we do with SQUID (maybe make a
TURN_ON_WWWOFFLE script)?
   - serving a proxy autoconfig file via dhcp/apache?

 - Is it viable to automate the go online / go offline with a
cronjob that pings a public host ( ping -c1 google) every 5 minutes?
Or...

 - If there's a daemon managing the connetion (case of pppd), use the
down and up hooks? This would only work if the daemon catches the
link is lost situation reliably.

 - Made a rough copy/paste to
http://wiki.laptop.org/go/XS_Techniques_and_Configuration#WWWOFFLE_for_unreliable_internet_connections
-- please review :-)

cheers,



m


On Wed, Apr 7, 2010 at 11:46 PM, Andra DuPont andradup...@gmail.com wrote:
 Squid apparently is not well suited to serve up cached pages when no
 internet access is
 available. It was recommended that I use WWWOFFLE for this situation. Here
 is the
 process I used to get it installed and running on my 0.6 XS server:
 - Make sure that squid is turned off
 /etc/sysconfig/olpc-scripts/TURN_SQUID_OFF
 service iptables restart
 - Create a directory for downloads (optional) and download  and install the
 wwwoffle file
 mkdir /downloads
 cd /downloads
 wget http://dl.atrpms.net/all/wwwoffle-2.8b-2.0.1.el5.i386.rpm
 yum --nogpgcheck localinstall /downloads/wwwoffle-2.8b-2.0.1.el5.i386.rpm
 - When the installation finishes you need edit the wwwoffle.conf file to
 configure it for the XS
ed /etc/wwwoffle.conf
 - Change the line  http-port =     8080 to  http-port =     3128 using
 the
   search / and change c commands as follows:
 /http-port   /     (search till you get to the line  http-port =     8080)
 c
  http-port =    3128
 ^c       (control-c stops the changing)
 - In a similar manner search for and change the following in the LocalHost
 section:
  localhost to YourDomain.org        (In my case this is asilong.org)
 - Add a line in the LocalNet section to get:
 LocalNet
 {
  *.YourDomain.org                   (In my case this is *.asilong.org)
 - Add a line in the AllowConnectedHosts section to get:
 AllowedConnectedHosts
 {
  172.18.96.*       (Add any other AP IP groups as needed)
 - Write the changes w to save them and quit the editor q
 w
 q
 - Start the wwwoffle daemon
 wwwoffled -c /etc/wwwoffle.conf
 wwwoffle -online     (For when your internet connection is online)
 wwwoffle -offline     (For when your internet connection is offline)
 - Turn your XO proxy settings on using Browse and going to the URL
 about:config
 - filter the word proxy and double-click to adjust the settings to:
 network.proxy.http (172.18.0.1)
 network.proxy.http_port (3128)
 network.proxy.type (1)
 Teachers can now download pages of interest and then students can access
 them
 quickly, even if the server has no internet connection simply by putting
 wwwoffle -offline.
 Give this a try if your internet service is intermittent, or you are paying
 by the GB for
 your data download.
 Andy





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





-- 
 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] ssh connection to XS Server

2010-03-30 Thread David Mul
Hi,

my name is David Mul and I'm working with David Leeming on the OLPC project
in Papua New Guinea. I was trying to login to the XS server using terminal
activity on the XO through ssh but it kept giving me this message
Permission denied (publickey).
Is there a solution to this problem.

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


Re: [Server-devel] ssh connection to XS Server

2010-03-30 Thread John Watlington

On Mar 30, 2010, at 2:10 AM, David Mul wrote:

 Hi,
 
 my name is David Mul and I'm working with David Leeming on the OLPC project 
 in Papua New Guinea. I was trying to login to the XS server using terminal 
 activity on the XO through ssh but it kept giving me this message Permission 
 denied (publickey).
 Is there a solution to this problem.

As what user on the XS ?

Quick answer might be to edit /etc/ssh/sshd_config to change to 
PasswordAuthentication yes

Cheers,
wad

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


[Server-devel] Configuring XS Server to work in an existing network

2010-01-28 Thread Ian Cunningham
Hi from the Red Centre

I work for the Northern Territory Education Department in Alice Springs, 
Central Australia.
We have been trialling the XO laptops with our primary schools in an existing 
network infrastructure, where the main school server (Windows) supplies the 
dhcp, file sharing, printing and web proxy services.

The XS server works fine in a scenario where there is only one classroom and 
the wireless access points are connected to the eth1 interface of the XS server.
The problem arises when there are multiple classrooms connected by optical 
fibre and  there is the requirement to use only one XS server for the school.

What I would like to be able to do is register an XO to an XS server, via an 
access point connected to the school network.
The XO receiving its ip address from the Windows server and registering with 
the XS server which has a fixed ip address.

I realise that this is a deviation from the OLPC server development path, but 
hope that someone may have already been down this path.

Any assistance with a solution to this challenge will be greatly appreciated.

Cheers

Ian


---
Ian Paul Cunningham
Project Officer
Northern Territory
Department of Education and Training
---



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


Re: [Server-devel] [Sugar-devel] DB module for moodle in XS server serously coool and needed addittion

2009-09-08 Thread Martin Langhoff
On Sat, Sep 5, 2009 at 2:56 AM, David Van Asschedvanass...@gmail.com wrote:
 To create a easy reference for linux commands, the best way was to use the
 Moodle database module. You can create quite elaborate databases which are
 then easily edited and added to by users.

http://moodle.org/mod/forum/discuss.php?d=132152 :-)


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


Re: [Server-devel] XS server testing

2009-05-29 Thread Daniel Drake
2009/5/28  tkk...@nurturingasia.com:
 At the moment we are concern about the wireless support. A message below from 
 a volunter:

 --
 Yesterday in TK's office, I experienced that registration takes only 2 second 
 for one XO, so I guess the bandwidth requirement for registratoin process is 
 very minimal.

Yes, the registration is a simple process that does not use much bandwidth.

 In my viewpoint, the most important question in the Sat. stress test is 
 whether we should use 1 AP or 3 AP. If it is feasible to register 50 PC via 
 one AP simultaneously, then we are safe. Because it means that we can 
 register 150 XO in chanenls 1, 6,11 simultaneously in SiChuan school. Then we 
 can finish registering 450 XO in 3 rounds. What do you think?

Given that registration is a light process and that it would actually
be quite a logistical challenge to get 50 people to click Register
in exactly the same moment, I guess your concerns are more about
general prolonged usage of the network, rather than specifically the 1
second that is needed to register a laptop.

You may have problems getting 50 people connected to the same access
point (the step *before* registration). Some access points that I
tested would crash after accepting the 31st user. Some are OK though.
But in any situation, 50 is probably the maximum you'd want to put on
1 access point.

You may want to focus on channels 6 and 11, because out of the box
XOs which have not yet connected to an access point will start meshing
on channel 1, this may saturate the spectrum with a sufficient number
of laptops.

I do not think you need rounds of registration. With sufficient
access points, you should be able to get 450 users online
concurrently. Having insufficient access points will be a problem
because the XOs automatically connect to familiar networks, so it will
be logistically difficult to get the first round of children to
disconnect to allow for the second round.

And as for post-registration... As far as I can tell, the XS has not
seen much field use with such a large number of users concurrently
signed on ejabberd, so your feedback will be very useful. We have
schools of similar size here in the Paraguayan deployment, but not
everyone has been taught about registration and collaboration yet, so
we're only at about 100 users online at any one time. (and actually
ejabberd is not coping very well with that, see my emails about
ejabberd CPU usage)

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


Re: [Server-devel] XS server testing

2009-05-29 Thread tkkang
Thanks for the great reply and enlightenment. It is timely as we are just 
rounding up people for tommorrow. I will pass the message to the team and see 
how we approach it.

Will have a long domain name:  schoolserver.schoolname.example.org

I hope this is OK.


-Original Message-
From: Daniel Drake [mailto:d...@laptop.org]
Sent: Friday, May 29, 2009 10:03 PM
To: tkk...@nurturingasia.com
Cc: 'Martin Langhoff', 'Reuben K. Caron', 'XS Devel'
Subject: Re: [Server-devel] XS server testing

2009/5/28  tkk...@nurturingasia.com:
 At the moment we are concern about the wireless support. A message below 
 from a volunter:

 --
 Yesterday in TK's office, I experienced that registration takes only 2 
 second for one XO, so I guess the bandwidth requirement for registratoin 
 process is very minimal.

Yes, the registration is a simple process that does not use much bandwidth.

 In my viewpoint, the most important question in the Sat. stress test is 
 whether we should use 1 AP or 3 AP. If it is feasible to register 50 PC via 
 one AP simultaneously, then we are safe. Because it means that we can 
 register 150 XO in chanenls 1, 6,11 simultaneously in SiChuan school. Then 
 we can finish registering 450 XO in 3 rounds. What do you think?

Given that registration is a light process and that it would actually
be quite a logistical challenge to get 50 people to click Register
in exactly the same moment, I guess your concerns are more about
general prolonged usage of the network, rather than specifically the 1
second that is needed to register a laptop.

You may have problems getting 50 people connected to the same access
point (the step *before* registration). Some access points that I
tested would crash after accepting the 31st user. Some are OK though.
But in any situation, 50 is probably the maximum you'd want to put on
1 access point.

You may want to focus on channels 6 and 11, because out of the box
XOs which have not yet connected to an access point will start meshing
on channel 1, this may saturate the spectrum with a sufficient number
of laptops.

I do not think you need rounds of registration. With sufficient
access points, you should be able to get 450 users online
concurrently. Having insufficient access points will be a problem
because the XOs automatically connect to familiar networks, so it will
be logistically difficult to get the first round of children to
disconnect to allow for the second round.

And as for post-registration... As far as I can tell, the XS has not
seen much field use with such a large number of users concurrently
signed on ejabberd, so your feedback will be very useful. We have
schools of similar size here in the Paraguayan deployment, but not
everyone has been taught about registration and collaboration yet, so
we're only at about 100 users online at any one time. (and actually
ejabberd is not coping very well with that, see my emails about
ejabberd CPU usage)

Daniel



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


Re: [Server-devel] XS server testing

2009-05-29 Thread Martin Langhoff
On Fri, May 29, 2009 at 3:35 AM,  tkk...@nurturingasia.com wrote:
 I did a new installation with the XS 0.6 alpha and tested various 
 registration with the both Chinese  English XOs (5 XOs) with complicated 
 names, etc... All seems to work OK and stuff get displayed well in the backup 
 in the Moodle.

 Hope to see if we could get more information on the performance with more 
 testing on Saturday.

Cool.

 At the moment we are concern about the wireless support. A message below from 
 a volunter:

 --
 Yesterday in TK's office, I experienced that registration takes only 2 second 
 for one XO, so I guess the bandwidth requirement for registratoin process is 
 very minimal.

Probably takes even less than 100ms. It's a trivial xmlrpc message.

 In my viewpoint, the most important question in the Sat. stress test is 
 whether we should use 1 AP or 3 AP. If it is feasible to register 50 PC via 
 one AP simultaneously, then we are safe. Because it means that we can 
 register 150 XO in chanenls 1, 6,11 simultaneously in SiChuan school. Then we 
 can finish registering 450 XO in 3 rounds. What do you think?

Ummm ummm... the registration is a one-time thing so I haven't
optimised it. I'm sure you'll find it's fast enough :-)

The number of APs however, is very important for performance in the
school, while in use.

I'm sure you can register 150 XOs on one AP if you go switching them
off as you are done, for example, but that's not a very useful metric.
The important thing is what happens when students want to use the XOs.
And there the main factors are the RF properties of the location and
the quality of the APs.

And the patience of your users :-) but I suspect that past ~40 XOs per
AP the network will become unusable.

hope that help!




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


Re: [Server-devel] XS server testing

2009-05-29 Thread Martin Langhoff
On Fri, May 29, 2009 at 4:03 PM, Daniel Drake d...@laptop.org wrote:
 You may have problems getting 50 people connected to the same access
 point (the step *before* registration). Some access points that I
 tested would crash after accepting the 31st user. Some are OK though.
 But in any situation, 50 is probably the maximum you'd want to put on
 1 access point.

+1

 You may want to focus on channels 6 and 11, because out of the box
 XOs which have not yet connected to an access point will start meshing
 on channel 1, this may saturate the spectrum with a sufficient number
 of laptops.

Good hint! Hadn't thought of that.

 I do not think you need rounds of registration. With sufficient

Actually, if you _use_ separate rounds or times for registration, the
recent versions of moodle-xs (the custom moodle we ship) make it
easier to enrol users in the same course if they've registered in
clusters. The listing of users to pick when enrolling in a course
shows them ordered by registration time, and displays reg time too.

 And as for post-registration... As far as I can tell, the XS has not
 seen much field use with such a large number of users concurrently

True. Early users get new software... and more attention from me
(soon, I promise ;-)).



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


Re: [Server-devel] XS Server support for Chinese XOs

2009-05-12 Thread Martin Langhoff
Hi T.K.Kang,

I am CC'ing the server-devel list. Please make sure you CC the list in
your replies. Please do subscribe to the list too. We are having the
same discussion about Nepali characters in the list -- you'll miss out
if you're not on the list :-)

On Mon, May 11, 2009 at 5:09 PM,  tkk...@nurturingasia.com wrote:
 Managed to do some testing over the weekend with with a newly flash Chinese 
 XO. Display of Chinese character works O.K. in browser and in the Journal.

Good...

 1. When browsing XS with 172.18.0.1/ds-restore the activities do not display 
 chinese characters on the chinese XO

Hmmm. Can you send me a sample datastore, in a tar.gz file?

 2. However selected activities download display O.K. in chinese on the 
 journal of XO
 3. Moodle account not created despite user name in English (but I had a space 
 in the name - e.g Henry law)

Tested, and cannot reproduce the problem. User accounts with a space
in their names were created correctly in the server, access to backups
was normal.

 2. If we decided in deployment to use user name like student-001 - 
 student-450)  for registration, it is advisable to later change this with 
 his/her name real (chinese) after registration?

That should not be needed. The bug is probably somewhere else, let's
diagnose it so I can fix it :-)

 3. How can I clean the whole database of the XS to start afresh?

There are several DBs involved :-/ -- at this stage I'd recommend a reinstall.



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


Re: [Server-devel] XS server

2008-10-23 Thread Martin Langhoff
2008/10/23 Henry Vélez Molina [EMAIL PROTECTED]:
 Verifying from the Terminal activity, we note that doing the ping
 schoolserver , he print ous: uknown host.

 We believe that the problem is the Access Point.

I agree! That sounds like the AP is acting like a gateway (and that's
not what you want). Configure it to be a plain AP - it should set to
_no_ routing, no NAT, no DHCP, no DNS.

 As for the Activity Server and Server Activation
 Is it possible to deploy at the moment?

If you cna wait a few days for  the final release of 0.5, then yes.

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
[EMAIL PROTECTED]
http://lists.laptop.org/listinfo/server-devel


Re: XS server

2008-10-23 Thread Henry Vélez Molina

 If you cna wait a few days for  the final release of 0.5, then yes.

ok

Thanks






___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


XS server

2008-10-22 Thread Henry Vélez Molina
Hello everybody.

We have been doing tests with the XS-server, to know if it is properly
configured.
We have some difficulties and some doubts.
From any PC or XO can access the administration panel ejbabberd, but if you
try to make the automatic registered since the XO, tells us that he has not
found the server.
Verifying from the Terminal activity, we note that doing the ping
schoolserver , he print ous: uknown host.


 We believe that the problem is the Access Point. But oddly enough, through
the Web  we can access the administration panel of ejabberd's XS and that
the XO can not access it automatically. Running ifconfig (XO) and ipconfig
(Windows) received notice that the ip is the administrative panel of the
Access Point and not the Server. Perhaps this is the reason why the XO is
not registered automatically.
When connected through the LAN XS with a standard PC, ipconfig prints the ip
of the server and the DNS correct. If we use a client jabberd, you can
create accounts and use the services of the server automatically.

 Our AP is:

*Model 4401 AP+4 Wireless-G Access Point/Router/4-port
Switch/Repeater/Ethernet-to-Wireless
Bridgehttp://www.zoom.com/graphics/datasheets/networking/0998_4401_AP4.pdf
*** = http://www.zoom.com/products/glan_overview.html

We would like to know that comercial Access Point , has been tested with the
XS and you known they work.
Do we need something else to set?

 As for the Activity Server and Server Activation
Is it possible to deploy at the moment?

 thank you for your help.

 Greetings
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Upgrading XO from a XS server

2008-10-20 Thread Philippe Clérié
I see there is a page (http://wiki.laptop.org/go/Upgrade_Server) 
describing a way to make an upgrade server. But it uses a debian 
system not an XS server. And the software is not _released_ yet. 

Is it safe enough to use in actual deployment?

Check me if I'm wrong but it looks like there are really two 
_official/supported_ ways to upgrade: via internet or via a usb drive.


-- 

Philippe

--
The trouble with common sense is that it is so uncommon.
Anonymous


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Upgrading XO from a XS server

2008-10-20 Thread Michael Stone
On Mon, Oct 20, 2008 at 12:45:49PM -0500, Philippe Clérié wrote:
I see there is a page (http://wiki.laptop.org/go/Upgrade_Server) 
describing a way to make an upgrade server. But it uses a debian 
system not an XS server. And the software is not _released_ yet. 

Is it safe enough to use in actual deployment?

Yes; the software has been (relatively) happily deployed on
update.laptop.org for a year. I don't know how easy it is to install,
but once installed, it seems to run fairly smoothly.

The other thing you might want to be aware of is 'xs-rsync'. Ask Martin
on server-devel@ for more details.

Michael
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Server-devel] Fwd: XS server addons

2008-08-06 Thread Martin Langhoff
On Wed, Aug 6, 2008 at 5:51 PM, David Van Assche [EMAIL PROTECTED] wrote:
 I fail to see how an update will kill it. Shorewall works
 independently from iptables allowing its rules to work along side
 it... All the config files are in /etc/shorewall, which Im sure
 xs-config wont touch...

xs-config is loading its own fw configuration, which will evolve to
include quite a few rules that overlap with the shorewall rules. I'm
not sure which one gets loaded first. It will be a matter of time
until it blows up.

To keep this converstation constructive I need you to think deeply
about these things long term. For example, in the face of my earlier
email, some of the questions facing you are:

 - what will happen when the stock config of the xs brings in a set of
iptables rules that define conflicting rules for the same packet?
 - what if we get custom chains conflicting names? what if the default
policies don't match?
 - do we even know which one gets loaded first? reloaded? torn down?

I can add subtler ones like: will shorewall adapt to adding/removing
interfaces the same way as the network_config scripts do?.

 For instance, these modules will not affect xs-config as far as I can
 tell:

Odd interactions with local configurations I am recommending you don't
do are... well... not supported. I can - and will - help you lots as
long as you are heading in a direction that makes sense with where the
XS is going. For bespoke configurations, well, I can only say:
minimise them or fear the upgrade.

So given that you cannot predict what configs will interact badly with
future updates and what configs will just be overwritten, my
recommendations are

 - change the least possible
 - keep the config files you change under version control
 - plan each upgrade carefully - test it first on a complete clone of
the XS (a hd clone, with all the real data) to see what breaks, and be
prepared to apply the fixes

Every service you get ahead of time from the main XS development track
is something you will need to understand *in depth* to be able to get
in sync with when the XS implements it. For example, you are talking
about a custom config of moodle - fantastic. However when the XS does
include moodle, it will probably overwrite your Moodle installation --
hint: don't put it in var/www/moodle, don't call the database moodle
or xsmoodle :-) -- and have things configured *very* differently. It
will be significant work to understand and migrate your data from your
early moodle to the xs moodle - work I cannot help you with.

On the other hand, you could decide that you'll reinstall everything
once the XS images are more featureful. In that case, *go wild* :-)

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


Re: [Server-devel] XS server addons

2008-08-05 Thread Martin Langhoff
On Tue, Aug 5, 2008 at 9:38 PM, David Van Assche [EMAIL PROTECTED] wrote:
 1 - I'll incorporate them into xs-config :-)
 2 - don't have to hack the network startup scripts to remove the part
 that reloads rules
 3 - you don't have to redo the in step 2 hack with every upgrade - as
 xs-config updates will nuke your changes

 The main reason for shorewall is traffic shaping... its the only

Get SW to spit out a nice traffic shaping ruleset, clean it up, and we
can see if it can be merged into network_config

 Anyway, shorewall is already a done deal for us and works wonderfully...

Reread my notes above - an XS update will probably kill it, and you
won't be around to help fix it. It's not that SW is not good - I've
used it myself quite happily - but that it is not a sustainable move.

 Would u care to elaborate on how to do this

I've outlined two options. Pick one, yum install the packages and read
the man pages :-)

Also note that openldap is very brittle when it comes to unexpeted
poweroffs and stuff like that. It gets its BDB DB in a tangle even
when running normally - a simple ldapsearch pattern | sed |
ldapmodify script can corrupt the DB.

Bad juju with openldap. Very bad.


 5. Install Webmin for overall (internal) gui manipulation of the server...

 Ugh! Not recommended and xs-config in its current incarnation is
 lilkely to just make a mess of it all. I am not too proud of
 xs-config, and Webmin is too horrible for words.

 Its a matter of opinion...

It is a lot more serious than that David. I can almost guarantee
xs-config and webmin will interact disastrously.

Not just webmin (though I worked with its internal code circa 1999
and... ), but anything that wants to change the config files. Any
changes to config files that xs-config controls will bring grief, my
worry with Webmin is that it makes it easy to change a lot of stuff
that xs-config will later re-change. And I am sure modern Webmin will
try and be smart about it - with a good chance of making things worse.
Unless it has developed mind-reading abilities, the result will be
ka-boom.

It's not just Webmin: any administration program, web-based or not -
is *not* recommended on a XS. And by that I mean the next yum update
very likely leave the machine in non-working state.

xs-config is a bit nasty ATM, but even if we make it better, it wil
_never_ interact well with a webmin-type app. Sorry. Life is hard like
that.

 need... I have no idea what xs-config is... but I'll gladly take a
 look...

It is what configured everything in the XS.

Dragons. There. Yes, right there. Nah, I'm not kidding.

 6. Install various server monitoring tools

 Install whatever tickles your fancy but do install sysstat and make
 sure it's logging. If you need help, or can provide load stats, it
 will be the sysstat logs that we'll want to look at.

 yeah, I think we've settled for Nagios... seems to be allround for
 what we need... Ill make sure to sysstat and post the logs...

Yup, nagios is ok. Cacti too. And BB if you want. As long as you get
sysstat in there, we're _sorted_.

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
[EMAIL PROTECTED]
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Bubba 2 as XS server?

2008-07-16 Thread Rafael Enrique Ortiz Guerrero
It seems very nice, but i don't know how many  XO's could be linked to the
bubba server, I mean how many XO could this server administrate ?.

On Wed, Jul 16, 2008 at 4:43 PM, [EMAIL PROTECTED] wrote:

 Excito announced the new Bubba Two (excito.com), which could be a
 possible XS
 server candidate (333Mhz PowerPC processor, 7-12 Watts, compact size, 2
 ethernet
 ports, expandable storage, 2 usb, debian based.

 For more info, see http://linuxdevices.com/news/NS3110315320.html

 Bests,

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




-- 
Rafael Enrique Ortiz Guerrero
One Laptop Per Child
[EMAIL PROTECTED]
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel