Re: [Server-devel] Server rec for Kasiisi (Brian Ghidinelli)

2012-07-25 Thread Reuben K. Caron

On Jul 25, 2012, at 4:30 PM, Brian Ghidinelli wrote:

> 
> On 7/25/2012 8:18 AM, Tony Anderson wrote:
>> The MSI has one ethernet port so that connection to the internet (WAN)
>> will require a usb-ethernet adapter. Also, it is not possible to make a
>> headless install on the MSI so that a monitor (vgb) and a keyboard (usb)
>> will be needed to install XS.
> 
> Tony, thanks for the suggestions and feedback.  This is what I wound up 
> selecting based on Rueben's input:
> 
> http://www.logicsupply.com/products/ag150
> 
> Spec'd with 2GB ram and 500gb drive with expedited test+build and shipping so 
> it would arrive to me before I leave for Uganda it was $597.  Not awesome but 
> time was of the essence.
> 
> One question - the AG150 has a single Ethernet port as well; why do you need 
> an extra adapter?

Get a USB ethernet adapter.

>  Does the XS play the role of NAT/router to the Internet as well?

Yup :-)

http://wiki.laptop.org/go/XS_Installing_Software#Network_configuration

> 
> I did not spec wireless in the device but there is still time to add one 
> (Intel 1030, 6205 or 6230 PCIe cards).  Should I?

No - Get the USB ethernet adapter. 

Reuben

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


Re: [Server-devel] Server rec for Kasiisi

2012-07-24 Thread Reuben K. Caron

On Jul 24, 2012, at 2:26 PM, Brian Ghidinelli wrote:

> 
> On 7/24/2012 10:02 AM, Reuben K. Caron wrote:
>> Which hardware notes are you referring to?
> 
> Thanks for the suggestions, the environmental reqs I saw here:
> 
> http://wiki.laptop.org/go/XS_Server_Hardware#Environmental

Yeah - I believe those are ideal scenarios. Not sure if it's ever been reached 
for an XS, definitely for the XO. 

Reuben

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


Re: [Server-devel] Server rec for Kasiisi

2012-07-24 Thread Reuben K. Caron

On Jul 23, 2012, at 4:28 PM, Brian Ghidinelli wrote:

> 
> Minimum HD size,

500GB

> RAM,

2GB

> SSD or SATA,

Sata is cheaper

> power?  In Uganda they appear to have 240v/50hz.  Many of these say they are 
> 12v DC powered and may come with a brick, but there's no indication if the 
> wall wart will handle that power.

I'm pretty sure the bricks will handle 240v/50hz but you can call or email to 
confirm

> 
> http://www.logicsupply.com/products/ms_9a19
> http://www.logicsupply.com/products/ms_9a25
> 
> These looked relatively inexpensive but the hardware notes indicate they 
> should run up to 50C and most of these say 36-40C temps?

Which hardware notes are you referring to?

> 
> Advice on the minimum requirements?
> 
> 
> Brian
> 
> 
> 
> On 7/23/2012 10:51 AM, Reuben K. Caron wrote:
>> Brian,
>> 
>> I believe they have 200-300 XOs which any standard spec'd server should 
>> handle. I'm happy to look at any quote.
>> 
>> Reuben
>> 
>> On Jul 23, 2012, at 1:47 PM, Brian Ghidinelli wrote:
>> 
>>> 
>>> Thanks for the fast reply Reuben - the folks on the ground were unable to 
>>> get me anything other than a serial number from the existing box.  I assume 
>>> 4 years later that the models are different anyways.  For their deployment 
>>> size, which of those models would be the best fit?
>>> 
>>> I believe they are on regular power now rather than generators but don't 
>>> know if that makes a difference.
>>> 
>>> 
>>> Brian
>>> 
>>> 
>>> On 7/23/2012 10:32 AM, Reuben K. Caron wrote:
>>>> Brian,
>>>> 
>>>> The server was purchased from here:
>>>> 
>>>> http://www.logicsupply.com/categories/fanless_systems
>>>> 
>>>> Let us know how we can help before and once you get there.
>>>> 
>>>> 
>>>> Regards,
>>>> 
>>>> Reuben
>> 
> 
> -- 
> http://about.me/ghidinelli

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


Re: [Server-devel] Server rec for Kasiisi

2012-07-23 Thread Reuben K. Caron
Brian,

I believe they have 200-300 XOs which any standard spec'd server should handle. 
I'm happy to look at any quote. 

Reuben

On Jul 23, 2012, at 1:47 PM, Brian Ghidinelli wrote:

> 
> Thanks for the fast reply Reuben - the folks on the ground were unable to get 
> me anything other than a serial number from the existing box.  I assume 4 
> years later that the models are different anyways.  For their deployment 
> size, which of those models would be the best fit?
> 
> I believe they are on regular power now rather than generators but don't know 
> if that makes a difference.
> 
> 
> Brian
> 
> 
> On 7/23/2012 10:32 AM, Reuben K. Caron wrote:
>> Brian,
>> 
>> The server was purchased from here:
>> 
>> http://www.logicsupply.com/categories/fanless_systems
>> 
>> Let us know how we can help before and once you get there.
>> 
>> 
>> Regards,
>> 
>> Reuben

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


Re: [Server-devel] Server rec for Kasiisi

2012-07-23 Thread Reuben K. Caron
Brian,

The server was purchased from here:

http://www.logicsupply.com/categories/fanless_systems

Let us know how we can help before and once you get there.


Regards,

Reuben

On Jul 23, 2012, at 1:25 PM, Brian Ghidinelli wrote:

> 
> Hi all,
> 
> I'm leaving for Uganda next Monday and will be volunteering for a couple of 
> days at Kasiisi.  Apparently nobody knows the password to their server and it 
> has stopped functioning as they expect it to.  They have about 200 laptops.
> 
> They would like me to bring a new server with me which I am happy to do (or 
> tell them what to order) but I don't feel comfortable sizing or specing it.  
> I'm also not sure where to acquire it.  I'm hoping someone can provide some 
> direction on short notice?  It would especially great if I could acquire the 
> hardware and get XS installed before I leave but time is short.
> 
> Anyone available for a consult on this?  I'm located in the SF Bay Area if it 
> makes a difference.
> 
> Thanks!
> 
> 
> Brian
> 
> -- 
> http://about.me/ghidinelli
> ___
> 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] Antitheft system failure

2012-07-10 Thread Reuben K. Caron

On Jul 10, 2012, at 11:43 AM, Elias Jacobo Castillo wrote:

> Hi Reuben, This are the answers ..
>  
> Questions:
>  
> -Which OS are you using? This is for XO 1.5, correct?
>  
> R. Yes, we are using..
>  
> -Have you been able to get an unactivated XO to connect to the XS and accept 
> a lease from the initial XO Activation screen?
>  
> R. No we can’t get this XOs activated through the XS Server.

Do you see the leases on the XS in /library/xs-activation/leases?

>  
> -Do you see any output in /var/log/messages when the XO is attempting to 
> connect to the wireless?
>  
> R. Yes, almost all the XOs get the connection, the car/log/messages shows the 
> XOs trying to connect and get connected..

Can you send the log?

Also, have you reviewed the links? Do you have questions?

Regards,

Reuben

>  
>  
> De: Reuben K. Caron [mailto:reu...@laptop.org] 
> Enviado el: lunes, 09 de julio de 2012 01:31 p.m.
> Para: Edward Lopez
> CC: server-devel; Elias Jacobo Castillo
> Asunto: Re: [Server-devel] Antitheft system failure
>  
> Edward, Elias,
>  
> Let's look at this in phases:
>  
> -1: The XO has no lease and needs a lease to run. So using either method (a. 
> Standard Leases) or (b. Delegated Leases) you  preload the XS with leases.
> -2: You turn the XO and it the SD card, USB, and Open Wifi for a lease.
> -3. It finds an open AP connected to the XS which contains a valid lease and 
> is transferred to the XO over the wireless.
> -4. Now the XO can run until the lease runs out. During this time two things 
> can happen. The lease can be auto-updated through method (b) or the lease can 
> expire and the XO will have to request a new lease from the server again in 
> the same fashion as #3. 
> -5. Now if you follow method (b) you will be able to mark the laptop stolen. 
> The problem you are seeing is that you have not implemented method (b); 
> therefore the XO does not "trust" the stolen message that it received from 
> the server.
>  
> Method (a): 
>  
> http://wiki.laptop.org/go/XS-activation#Loading_activation_data
>  
> Method (b):
>  
> http://wiki.laptop.org/go/XS-activation#Delegated_leases
> http://wiki.laptop.org/go/Antitheft_HowTo 
> -You already have master keys generated
> -All of the tools needed are preinstalled on an XS. 
>  
> Questions:
>  
> -Which OS are you using? This is for XO 1.5, correct?
> -Have you been able to get an unactivated XO to connect to the XS and accept 
> a lease from the initial XO Activation screen?
> -Do you see any output in /var/log/messages when the XO is attempting to 
> connect to the wireless?
>  
> Regards,
>  
> Reuben
>  
>  
> On Jul 9, 2012, at 3:04 PM, Edward Lopez wrote:
> 
> 
> We have a small deployment of servers (ver 0.7), that we are planning to do 
> soon, but we have problems with the antitheft system: in a small test lab 
> have 18 XOs just 6 appears included at the antitheft list in the Moodle and 
> even with the registered XOs we tested the “stolen” option and noting 
> happens. We had tested with a default server  with an open AP connected at 
> eth1 and still the same
>  
> Your help will be appreciated
>  
> Edward López
> Educatrachachos
>  
> NOTIFICACION DE CONFIDENCIALIDAD
> La información aquí transmitida sólo es enviada para la persona o entidad a 
> que se dirige y puede contener material confidencial y/o privilegiado. Está 
> prohibida cualquier revisión, retransmisión, diseminación u otro uso, o la 
> toma de cualquier acción con base en esta información por personas o 
> entidades que no sea el destinatario a quien va dirigida. Si usted recibió 
> este mensaje por error, por favor avise al remitente y anule el material 
> adjunto de cualquier computadora. Cualquier opinión expresada en este mensaje 
> proviene del remitente, excepto cuando el mensaje establezca lo contrario y 
> el remitente este autorizado para establecer que dichas opiniones provienen 
> de SEFIN.
> 
> Disclaimer:
> The information transmitted is intended only for the person or entity to 
> which it is addressed and may contain confidential and/or privileged 
> material. Any review, retransmission, dissemination or other use of, or 
> partaking of any action in reliance upon, this information by persons or 
> entities other than the intended recipient is prohibited. If you received 
> this in error, please contact the sender and delete the material from any 
> computer.
> ___
> Server-devel mailing list
> Server-devel@lists.laptop.org
> http://lists.laptop.org/listinfo/server-devel
>  
> 
> NOTIFICACION DE CONFIDENCIALIDAD
> La información aquí transmitida sólo es en

Re: [Server-devel] Antitheft system failure

2012-07-09 Thread Reuben K. Caron
Edward, Elias,

Let's look at this in phases:

-1: The XO has no lease and needs a lease to run. So using either method (a. 
Standard Leases) or (b. Delegated Leases) you  preload the XS with leases.
-2: You turn the XO and it the SD card, USB, and Open Wifi for a lease.
-3. It finds an open AP connected to the XS which contains a valid lease and is 
transferred to the XO over the wireless.
-4. Now the XO can run until the lease runs out. During this time two things 
can happen. The lease can be auto-updated through method (b) or the lease can 
expire and the XO will have to request a new lease from the server again in the 
same fashion as #3. 
-5. Now if you follow method (b) you will be able to mark the laptop stolen. 
The problem you are seeing is that you have not implemented method (b); 
therefore the XO does not "trust" the stolen message that it received from the 
server.

Method (a): 

http://wiki.laptop.org/go/XS-activation#Loading_activation_data

Method (b):

http://wiki.laptop.org/go/XS-activation#Delegated_leases
http://wiki.laptop.org/go/Antitheft_HowTo 
-You already have master keys generated
-All of the tools needed are preinstalled on an XS. 

Questions:

-Which OS are you using? This is for XO 1.5, correct?
-Have you been able to get an unactivated XO to connect to the XS and accept a 
lease from the initial XO Activation screen?
-Do you see any output in /var/log/messages when the XO is attempting to 
connect to the wireless?

Regards,

Reuben


On Jul 9, 2012, at 3:04 PM, Edward Lopez wrote:

> We have a small deployment of servers (ver 0.7), that we are planning to do 
> soon, but we have problems with the antitheft system: in a small test lab 
> have 18 XOs just 6 appears included at the antitheft list in the Moodle and 
> even with the registered XOs we tested the “stolen” option and noting 
> happens. We had tested with a default server  with an open AP connected at 
> eth1 and still the same
>  
> Your help will be appreciated
>  
> Edward López
> Educatrachachos
> 
> NOTIFICACION DE CONFIDENCIALIDAD
> La información aquí transmitida sólo es enviada para la persona o entidad a 
> que se dirige y puede contener material confidencial y/o privilegiado. Está 
> prohibida cualquier revisión, retransmisión, diseminación u otro uso, o la 
> toma de cualquier acción con base en esta información por personas o 
> entidades que no sea el destinatario a quien va dirigida. Si usted recibió 
> este mensaje por error, por favor avise al remitente y anule el material 
> adjunto de cualquier computadora. Cualquier opinión expresada en este mensaje 
> proviene del remitente, excepto cuando el mensaje establezca lo contrario y 
> el remitente este autorizado para establecer que dichas opiniones provienen 
> de SEFIN.
> 
> Disclaimer:
> The information transmitted is intended only for the person or entity to 
> which it is addressed and may contain confidential and/or privileged 
> material. Any review, retransmission, dissemination or other use of, or 
> partaking of any action in reliance upon, this information by persons or 
> entities other than the intended recipient is prohibited. If you received 
> this in error, please contact the sender and delete the material from any 
> computer.
> ___
> 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] A virtual machine for Pathagar

2012-06-27 Thread Reuben K. Caron

On Jun 26, 2012, at 11:27 PM, Sameer Verma wrote:

> A virtual machine with Pathagar Book Server preloaded and ready to
> use. If you've wondered what this thing is like, try it out!
> 
> http://olpcsf.org/node/60

Nice work! Do you have one setup on a public IP that we could explore?

How well does this integrate with Sugar, i.e. Get-Books and Read?

Regards,

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


Re: [Server-devel] DNS/DHCP configuration questions/issues

2012-05-24 Thread Reuben K. Caron

On May 24, 2012, at 11:40 AM, Kévin Raymond wrote:

> On Thu, May 24, 2012 at 5:21 PM, Reuben K. Caron  wrote:
>> Kevin, Xavier,
>> 
>> On May 24, 2012, at 5:00 AM, Kévin Raymond wrote:
>> 
>>>> It's only a DNS issue now between dhcpd/named and the xos.
>>> 
>>> As we were not able to get the right dhcpd/bind configuration,
>>> we just dropped it, and used dnsmasq instead.
>>> 
>>> dnsmasq is really easy to configure, and provide DNS and dhcp capabilities.
>>> It's only matter of one single file.
>>> 
>>> After some sleep and final settings, we would publish our configuration.
>> 
>> Did you ever try removing this line from your dhcpd-xs.conf?
>> 
>>>> DHCPDARGS=wlan0
>> 
> 
> Yep.
> But as explained before, the dhcp server was sending the ip address,
> we only get an issue with the DNS (not set on the client
> automatically).
> Moreover, the options should be defined in the subnet, not global as
> done in the original file.
> Still no luck.

Interesting. We've heard and I've seen no other issues previously with this 
configuration.

> Hopefully it's only matter of one file and 5 or 6 lines with dnsmasq.

Glad you got it sorted.

> 
>> Regards,
>> 
>> Reuben
> 
> 
> 
> -- 
> Kévin Raymond
> (shaiton)
> GPG-Key: A5BCB3A2

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


Re: [Server-devel] DNS/DHCP configuration questions/issues

2012-05-24 Thread Reuben K. Caron
Kevin, Xavier,

On May 24, 2012, at 5:00 AM, Kévin Raymond wrote:

>> It's only a DNS issue now between dhcpd/named and the xos.
> 
> As we were not able to get the right dhcpd/bind configuration,
> we just dropped it, and used dnsmasq instead.
> 
> dnsmasq is really easy to configure, and provide DNS and dhcp capabilities.
> It's only matter of one single file.
> 
> After some sleep and final settings, we would publish our configuration.

Did you ever try removing this line from your dhcpd-xs.conf?

>> DHCPDARGS=wlan0

Regards,

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


Re: [Server-devel] DNS/DHCP configuration questions/issues

2012-05-22 Thread Reuben K. Caron

On May 22, 2012, at 8:45 PM, Xavier Carcelle wrote:

> Dear XS fellows,
> 
> We are currently configuring the XS server for the deployment in
> Madagascar and have some issues on the DNS/DHCP.
> Could you resume the main part of the DNS/DHCP config on the XS (using
> 2 interfaces : eth0 for WAN uplink, wlan0 for LAN wifi delivering IPs,
> DNS to XOs)
> =>We dont seem to have the domain and nameserver propagated to the
> /etc/resolv.conf of the XOs
> =>Our /etc/dhcp-xs.conf is :
> 
> 
> #
> # School server 1 DHCP Server Configuration file.
> #
> ddns-update-style interim;
> #ignore client-updates;
> 
> option domain-name "nosykomba.org";
> option domain-name-servers  172.18.96.1;
> option ntp-servers  172.18.96.1;



> DHCPDARGS=wlan0

^ I think this is both incorrect and unnecessary.

For correctness it should be DHCPDARGS="wlan0";

But as long as wlan0 is assigned to the 172.18.96.0 network then you do not 
need to limit the configuration to an interface.

What are you using for a configuration: 

-WAN - eth0 - XS - eth1 - switch - AP - XO?
-WAN - etho - XS - wlan1(1)- XO? In which case, what are you using to share the 
wlan connection?

When the XO does connect, what does it receive for an IP address?




> 
> subnet 172.18.96.0 netmask 255.255.224.0 {
>option routers  172.18.96.1;
>option subnet-mask  255.255.224.0;
>option broadcast-address172.18.127.255;
># this is the whole range we have available - 8K addresses
># range   172.18.96.2 172.18.127.254;
># instead, we'll save 510 addresses for later.
>range   172.18.96.2 172.18.125.254;
># the other /24s:
># -> 172.18.126.0/24 for static IP addresses
>#for printers, AP management consoles, etc.
># -> 172.18.127.0/24 for temporary addresses for
>#XO activation
> 
># As this subnet is wired or wifi a/b/g, these lease
>#times are on the long side
>default-lease-time  10800;
>max-lease-time  21600;
> }
> 
> 
> Our best regards,
> 
> Xavier Carcelle.
> ___
> 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] Problemas con servidor xs

2012-04-04 Thread Reuben K. Caron
Fernando,

What you have done is a great test to show that the XS is correctly setup and 
working.

Now we have to make some changes. There are a couple ways to do this but I'll 
suggest one:

-Disable DHCP on XS
-Enable DHCP on 2wire
-Configure eth0 IP address on XS: 192.168.1.253 
-Configure on eth0 GATEWAY = 192.168.1.254
-Configure DHCP server on 2wire to point to 192.168.1.253 for DNS

The goal is for the XO to receive the following ip configuration:

IP address 192.168.1.1-252 (check by runinng ifconfig)
Gateway: 192.168.1.254 (check by running route and look at default gateway)
DNS Server: 192.168.1.253 (check by running cat /etc/resolv.conf)

Please let us know.

Regards,

Reuben


On Apr 3, 2012, at 10:06 PM, Fernando Paz wrote:

> I installed XS 0.7 with default settings and...
> 
> After installation i did this:
> 
> # xs-setup escuela
> 
> 
> 
> 
> # reboot
> 
> 
> 
> 
> # xs-setup-network  --> to activate standard network 
> 
> 
> 
> 
> # reboot
> 
> 1. Deactivated DHCP in router
> 
> 2. Default configuration in XS:
> 
> more ifcfg-eth0
> 
> Device = eth0
> IPADDR1 = 172.18.96.1
> NETMASK = 255.255.224.0 
> 
> # The actrd initramfs tries to connect to the server 172.18.0.1 to request
> # activation 
> 
> IPADDR2= 172.18.0.1
> NETMASK2= 255.255.255.0
> IPV6 INIT = YES
> 
> 
> Works registration of XOs and schoolserver domain, but i can't connect to 
> internet 
> 
> I have to add IP (172.18.96.1) from server XS in DNS on 2wire or ? 
>  
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 2012/3/28 Reuben K. Caron 
> Fernando,
> 
> So from a TCP/IP standpoint everything appears to be functioning correctly. 
> If I am missing something that you believe is not functioning from the TCP/IP 
> layers please point them out. 
> 
> You now have two issues:
> 
> -DHCP clients (XOs) are getting the wrong DNS configuration. To resolve this:
> --On the 2wire, configure the DNS server to point to 192.168.1.253 (See 
> attached, I believe it is the correct screenshot form your link. The picture 
> shows a red box. The DNS configuration is two boxes above this)
> 
> -The DNS server on the XS 0.6 will not answer DNS queries to 192.168.1.253. 
> To resolve this:
> --Change the configurations files of named, httpd, and ejabberd to bind their 
> services to 192.168.1.253, or
> --Install and Use XS 0.7 -- which resolves this issue by binding services to 
> all available addresses (recommended)
> 
> Please discuss with the team and let me know more questions.
> 
> Regards,
> 
> Reuben
> 
> 
> 
> On Mar 27, 2012, at 11:33 PM, Fernando Paz wrote:
> 
>> Hi Reuben.
>> 
>> 
>> 
>> On the XS I did this:
>> 
>>  
>> 1. Copy eth0-local.example to network-scripts
>> 
>> -   cp 
>> /usr/share/doc/xs-config-0.6.0.16.g3c1e949/ifcfg-eth0-local.example 
>> /etc/sysconfig/network-scripts/ifcfg-eth0-local
>> 
>>  
>> IPADDR = 192.168.1.253 à If I leave this line can I delete the one that is 
>> under or should I leave it
>> 
>> IPV6ADDR = 2001:4830:2446:ff00: :2/64
>> 
>> NETMASK = 255.255.255.0
>> 
>> #NETWORK = 18.85.46.0
>> 
>> #BROADCAST = 18.85.46.255
>> 
>> GATEWAY = 192.168.1.254
>> 
>>  
>> 2. ifup eth0
>> 
>> 3. Setting the server domain name:
>> 
>> /etc/sysconfig/olpc-scripts/domain_config nombreescuela(schoolname)
>> 
>> 4. reboot
>> 
>>  
>> DHCP activated in server:
>> 
>>  
>> 
>> Ping schoolserver =
>> 
>> PING schoolserver.nombreescuela (172.18.0.1) 56(84) bytes of data
>> 
>> 64 bytes from 172.18.0.1 ……
>> 
>> 64 bytes from 172.18.0.1 ……
>> 
>> 64 bytes from 172.18.0.1 ……
>> 
>> --- Schoolserver.nombreescuela ping stadistics –
>> 
>> 3 packets transmitted, 3 received, 0 % loss, time 2000ms
>> 
>>  
>> 
>> Ping 192.168.1.254 =
>> 
>> 
>> 
>> --- 192.168.1.254 ping stadistics –
>> 
>> 3 packets transmitted, 3 received, 0 % loss, time 2003ms
>> 
>>  
>> Ping google.com =
>> 
>> 
>> 
>> --- --- google.com ping stadistics –
>> 
>> 3 packets transmitted, 3 received, 0 % loss, time 2029ms
>> 
>>  
>> 
>> On the XO:
>> 
>>  
>> 
>> Ping 192.168.1.254 =
>> 
>> --- --- 192.168.1.254 ping stadistics –
>> 
>> 3 packets transmitted, 3 received, 0% packet loss, time 2003ms
>> 
>>  
>> 
>> Ping 1

Re: [Server-devel] oatslite under RHEL/CentOS x86_64

2012-03-27 Thread Reuben K. Caron
Does this effect xs-activation installed on XS 0.7?

On Mar 27, 2012, at 12:32 PM, Martin Langhoff wrote:

> We just had some fun debugging of oatslite on CentOS 6.2 x86_64. A
> quick note of warning in case someone else is mad or foolish enough to
> try it too :-)
> 
> The short version of it is: bitfrost is currently broken on 64 bits.
> 
> This is what an XS based on CentOS x86_64 needs to run oatslite:
> 
>  - latest bitfrost.i686 (from an XO repo)
>  - python.i686
>  - an extracted python2.6 binary from python.i686 -- I used
> rpmdev-extract and installed the binary as /usr/bin/python2.6-i686
> 
> Using python2.6-i686, oatslite now signs the messages correctly.
> 
> The root cause seems to be a problem in the Pyrex bindings to
> libtomcrypt / TomsFastMath. Maybe ctypes would be better here.
> 
> cheers,
> 
> 
> 
> 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


Re: [Server-devel] Setting for Machine to Automatically Reboot

2011-11-15 Thread Reuben K. Caron
Brian,

Check it out here:

http://support.dell.com/support/edocs/systems/opgx240/en/ug/advfeat.htm#1101708

Regards,

Reuben

On Nov 15, 2011, at 10:03 AM, John Watlington wrote:

> 
> Every BIOS that I've looked at has one, but they also
> have custom UIs.
> 
> You need to halt the boot on that particular computer
> (press delete, or F1 ? I'm not familiar w. Dells) and wade
> through the BIOS menus looking for it.
> 
> Cheers,
> wad
> 
> On Nov 15, 2011, at 9:58 AM, HALL,Brian C wrote:
> 
>> 
>> Good Day,
>> 
>> Iam using a dell optiplex gx 240 as my OLPC school server(XS). In a 
>> particular school we are rolling it out to, powercuts tend to occur 
>> regularly. Do you know of a BIOS setting that enables the server to 
>> automatically boot when the power comes back on? This would be much better 
>> instead of us having to go down to the school to turn on the machine manually
>> 
>> 
>> 
>> 
>> 
>> Thanks In advance,
>> 
>> Brian Hall
>> 
>> ___
>> 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 mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] What rpm packages would you include for the XS?

2011-04-08 Thread Reuben K. Caron


On Apr 8, 2011, at 5:56 PM, Martin Langhoff  wrote:

> On Fri, Apr 8, 2011 at 12:24 PM, Jerry Vonau  wrote:
>> I have put together a running F11 based XS-server package. This soon to
> 
> Nice.
> 
>> What would you like to see on the install iso that you would find
>> useful?
> 
> Puppet
> wwwoffle
> opendns "client"

Nocat integrated with xo registrations

> 
> 
> 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


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   
> 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


Re: [Server-devel] Dansguardian on XS

2011-04-04 Thread Reuben K. Caron

German,

You are at a point where you must define your own public DNS server.  
Hosted at your own public IP address. On the following site we show  
the technique. The configuration is not exactly the same but similar:


http://wiki.laptop.org/go/OS_Builder/Adding_OpenDNS_Configuration#Configure_your_public_DNS_server

Basically, DNS queries would be: XO->XS->PUBLIC FOUNDATION DNS SERVER- 
>OpenDNS


As your deployment grows this will also allow you to more easily scale  
your XS installations as they can be preconfigured to point to your  
managed DNS server, instead of trying to find the public IP address at  
each site.


I hope this helps.

Regards,

Reuben

On Apr 4, 2011, at 9:43 AM, German Ruiz wrote:

En 3 escuelas acá e Nicaragua tienen conexión a internet por un  
modem 3G (Huawei 3G E968 Wireless Gateway), cuando me conecto a  
internet, y quiero registrar la IP pública en openDNS, siempre me  
sale que la IP es 190.212.80.224 ó 190.212.80.225, de igual manera  
cuando me conecto desde mi laptop con un modem ZTE MF626 siempre me  
asigna una de estas 2 IP al momento de navegar, supongo que esto es  
por el proveedor de Internet que es Claro que está utilizando una  
proxy para estas conexiónes.


Para probar registre estas IP en openDNS y apliqué los forwarders  
{208.67.222.222; 208.67.220.220;}; en el archivo /etc/named- 
xs.conf.in, esperé unos 10 minutos y probé si estaba filtrando en  
contenido en la escuela, lo cual no hacía, 5 minutos después, recibí  
email de usuarios que aparentemente estaban siendo afectadas por el  
filtro, (facebook, youtube, etc...). Por lo que descarte la opción  
de openDNS para estas escuelas, e instalé squidguard a como hacen en  
Paraguay.


Que está impidiendo que openDNS funcione en estas conexiones???

Saludos


El 4 de abril de 2011 04:57, Martin Langhoff > escribió:

Hola Germán,

cuentanos como es la instalacion del modem 3G -- porqué no funciona el
uso de OpenDNS?

un abrazo,


martin

2011/4/1 German Ruiz :
> Muchas Gracias Rodolfo
> Lo he instalado en un XS acá en Nicaragua, por lo general nosotros  
usamos
> openDNS, pero en esta escuela se me hizo imposible, ya que ellos  
cuentan con

> un modem 3G.
> Al parecer el filtro está funcionando...
> Gracias
>
> 2011/4/1 Rodolfo D. Arce S. 
>>
>> We used squidguard in the Paraguay deployment
>>
>> http://wiki.paraguayeduca.org/index.php/Squidguard
>>
>> Is in spanish, but the commands are selfexplanatory. Perhaps it can
>> help, i'll try and translate to english soon
>>
>> Cheers.. R
>>
>> 2011/3/31, German Ruiz :
>> > Hi
>> >
>> > Is there any documentation to install Dansguardian on XS 0.6???
>> >
>> > Any wiki or something???
>> >
>> > Thanks...
>> >
>> > --
>> > German R S
>> >
>>
>>
>> --
>> *Rodolfo D. Arce S.*
>> web: rodolfoarce.com
>> twitter: @rodolfoarces 
>
>
>
> --
> German R S
>
>
>
> ___
> Devel mailing list
> de...@lists.laptop.org
> http://lists.laptop.org/listinfo/devel
>
>



--
 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



--
German R S


___
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] Help buying server for XS

2011-03-28 Thread Reuben K. Caron
Guillermo,

Thank you for the repsonse. You have good user density and RF allocation.

One thing was not clear: Yes or No, the APs need external controller?
Regards,

Reuben
On Sun, Mar 27, 2011 at 11:28 PM, Guillermo Narvaez wrote:

> Reuben,
>
> The limitations of this equipment are 60 client per AP, we are using 50 or
> 55 clients per equipment. This is a dedicated equipment so it need an
> external controller.
>
> With the frequency issue, the APs of the same school are set in 1, 5, 9 and
> 11 channels.
>
>
> cheers.
>  Guillermo Narvaez
>
> Servidores Escuela
> Implementación OLPC | Programa Joaquin Victor Gonzalez
> La Rioja - Argentina
>
>
>
>  On Thu, Mar 24, 2011 at 4:35 PM, Reuben K. Caron wrote:
>
>> Guillermo,
>>
>> It would be also interesting to know what kind of user density you plan
>> for when deploying these APs, e.g. 50 XOs to 1 AP.
>>
>> Are these APs independent or run by a controller?
>>
>> What software are you using to perform your site surveys and RF heat maps?
>>
>> Regards,
>>
>> Reuben
>>
>>  On Mar 19, 2011, at 6:53 PM, Guillermo Narvaez wrote:
>>
>>  Hola Omar
>>
>> En nuestra implementacion usamos* IBM System X3200 M3* y no hemos tenido
>> problemas de rendimiento; lo que si deberias tener en cuenta es la capacidad
>> de almacenamiento del XS para los backup de las XO. Si van a usar todas las
>> features del XS te recomendaria como minimo 1TB de almacenamiento.
>> Con respecto a los AP seria muy util y practico usar AP que soporten PoE.
>> Nosotros usamos la version anterior de *3Com A-WA2110 Single Radio
>> 802.11a/b/g Access Point (JD446B)*
>>
>> Saludos!
>>
>>
>>
>> Guillermo Narvaez
>>
>> Servidores Escuela
>> Implementación OLPC | Programa Joaquin Victor Gonzalez
>> La Rioja - Argentina
>>
>>
>>
>>
>> 2011/3/18 Omar Andrés Zapata Mesa 
>> >
>> > Hi all.
>> > I need buy a server for a school in colombia, and I have 2000 students
>> in the school to implement olpc project and install XS
>> > My question is,  which server to buy for this number of students and
>>  which  wireless access points?
>> > Thanks!
>> > --
>> > Omar Andres Zapata Mesa
>> > Head Developer Phenomenology of Fundamental Interactions Group (Gfif)
>> > http://gfif.udea.edu.co
>> > Division of computer science Gfif Developers (Gfif Dev)
>> > http://gfifdev.udea.edu.co
>> > Systems Engineering Student
>> > Universidad de Antioquia At Medellin - Colombia
>> > Usuario Linux  #490962
>> >
>> > ___
>> > 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 mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Help buying server for XS

2011-03-24 Thread Reuben K. Caron

Guillermo,

It would be also interesting to know what kind of user density you  
plan for when deploying these APs, e.g. 50 XOs to 1 AP.


Are these APs independent or run by a controller?

What software are you using to perform your site surveys and RF heat  
maps?


Regards,

Reuben

On Mar 19, 2011, at 6:53 PM, Guillermo Narvaez wrote:


Hola Omar

En nuestra implementacion usamos IBM System X3200 M3 y no hemos  
tenido problemas de rendimiento; lo que si deberias tener en cuenta  
es la capacidad de almacenamiento del XS para los backup de las XO.  
Si van a usar todas las features del XS te recomendaria como minimo  
1TB de almacenamiento.
Con respecto a los AP seria muy util y practico usar AP que soporten  
PoE. Nosotros usamos la version anterior de 3Com A-WA2110 Single  
Radio 802.11a/b/g Access Point (JD446B)


Saludos!



Guillermo Narvaez

Servidores Escuela
Implementación OLPC | Programa Joaquin Victor Gonzalez
La Rioja - Argentina




2011/3/18 Omar Andrés Zapata Mesa 
>
> Hi all.
> I need buy a server for a school in colombia, and I have 2000  
students in the school to implement olpc project and install XS
> My question is,  which server to buy for this number of students  
and  which  wireless access points?

> Thanks!
> --
> Omar Andres Zapata Mesa
> Head Developer Phenomenology of Fundamental Interactions Group  
(Gfif)

> http://gfif.udea.edu.co
> Division of computer science Gfif Developers (Gfif Dev)
> http://gfifdev.udea.edu.co
> Systems Engineering Student
> Universidad de Antioquia At Medellin - Colombia
> Usuario Linux  #490962
>
> ___
> 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 mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Samoa Deployment - planned hardware for 30 July 2010

2010-07-27 Thread Reuben K. Caron

On Jul 27, 2010, at 12:45 PM, Martin Langhoff wrote:

>> 1 EEE Box EB1012 - 2GB ram, 250GB hard disk, dual core 1.6GHz Atom  
>> 330
>> 2 Ubiquity Networks NanoStation2 802.11b/g 400mW Outdoor AP/Bridge
>> 1 Switch
>
> Very nice gear -- the EEE Box is fanless, and the NanoStation2 looks
> reasonably safe for outdoors. Will be very interested in hearing about
> your results with that gear.

I believe the EEE Box EB1012 should have a processor fan. If you open  
it up please let us know.

Thanks,

Reuben

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


Re: [Server-devel] USB2VGA adapters on XO-1.5 (and XO-1 with F11 images)

2010-07-16 Thread Reuben K. Caron

Martin,

Esteban found that xorg-x11-drv-sisvga is not available but xorg-x11- 
drv-sisusb is available. Using xorg-x11-drv-sisusb worked fine.


Reuben


Begin forwarded message:


Message: 2
Date: Fri, 9 Jul 2010 17:18:47 -0400
From: Martin Langhoff 
Subject: Re: USB2VGA adapters on XO-1.5 (and XO-1 with F11 images)
To: OLPC Devel 
Cc: Sridhar Dhanapalan , san...@laptop.org,
Keith Wilbern , rsm...@laptop.org
Message-ID:

Content-Type: text/plain; charset="iso-8859-1"

On Thu, Jul 8, 2010 at 1:14 PM, Martin Langhoff
 wrote:
For monitors/projectors that can handle something close to 1200x900  
--
1152x864, you can use Xinerama instead. Here is an xorg.conf that  
does

exactly that:


The Xinerama approach turned out to be a winner in terms of
performance and !bugginess.

Turns out that with a bit of elbow grease we can make it work on
1024x768 which is what most projectors support.

- yum install xorg-x11-drv-sisvga xorg-x11-server-Xephyr

- Grab the files from http://dev.laptop.org/~martin/usbvga/xinerama/
  olpc-configure goes to /etc/init.d/ , make it executable
  olpc-session goes to /usr/bin/ , make it executable
  xorg-xo1.5-dcon-extmon.conf goes to /etc/X11/

- Plug the USB2VGA device

- Reboot & Enjoy

Limitations and notes:

?- Needs to be "switched on" at X startup time. olpc-configure checks
at boot time if sisusbvga is loaded and changes the xorg.conf symlink
if needed. My patch also fixes a longstanding old bug where the
xorg.conf was 'set' in the first boot.

?- The desktop is a little bit smaller. On the XO, the desktop
appears in the top-left corner -- on the external monitor / projector
it fills up the screen perfectly.

 - Icons can appear slightly pixellated. I think this technique may
expose a bug in Sugar and in some activities (ie: TurtleArt) that keep
a copy of rendered SVGs as bitmaps.

?- Performance is acceptable. (We are saturating the USB 2 bandwidth
with the amount of pixels and the bitdepth).

- The Sugar cursor is back!

- Video works! No Xv however, so it's not particularly fast.

Patch to olpc-utils is attached -- I haven't tested the spec changes.

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] problema con Instalacion XS

2010-05-01 Thread Reuben K. Caron
Kevin,

When installing in text mode which option do you choose:

-Upgrade/Install using text mode
-Install using Kickstart. Then you do you press tab and add text to the end of 
the line to request the text based installer?

As noted here:

http://wiki.laptop.org/go/XS_Installing_Software#Installing_the_Software

Reuben

On Apr 30, 2010, at 7:14 PM, Kevin Mauricio Benavides Castro wrote:

> Hi samy 
> 
> bueno al parecer  funciona bien segun tu solucion la cual me saco del algunos 
> problemas con algunos server pero este error me aparece cuando hago la 
> instalacion por modo text mode.
> 
> 
> 
> El 30 de abril de 2010 08:51, samy boutayeb  escribió:
> Hola Kevin, Martin,
> 
> Encontré el mensaje de error que Kevin senala. Este "hang up" occurrio
> durante las primeras fases del processo de arranque.
> Existe una solucion que consiste en anadir "enforcing=0" en la linea de
> grub (cf. http://www.crypt.gen.nz/selinux/disable_selinux.html ).
> 
> Esto dicho, el error con SELinux resulta de una opcion incorrecta
> durante la installacion de XS. La opcion correcta es "Install using
> kickstart" (como lo recomienda la documentacion en
> http://wiki.laptop.org/go/XS_Installing_Software ).
> 
> Cf. la pantalla :
> http://olpc-france.org/wiki/index.php?title=Fichier:XS-Server_01.png
> 
> Con esta opcion, el servidor se inicializa correctamente y el error
> SELinux desaparece.
> 
> Espero que os ayude,
> saludos desde francia
> samy
> 
> 
> 
> Le vendredi 30 avril 2010 à 10:21 -0400, Martin Langhoff a écrit :
> > Hola Kevin,
> >
> > muy extraño el mensaje. Yo trabajo con varias máquinas de prueba, y al
> > dos son Dell (Latitude D380 y PowerEdge SC440).
> >
> > Cuando tienes algún error así, es una buena idea presionar ctrl-alt-F1
> > / F2 / F3 que te lleva a varias consolas desde donde puedes ver más
> > info sobre qué está pasando, y eventualmente copiar la info a un disco
> > para tener el log completo de anaconda de qué pasó.
> >
> > En qué paso sucede ésto?
> >
> >
> > martin
> >
> > 2010/4/27 Kevin Mauricio Benavides Castro :
> > > Hola a todos
> > >
> > > he notado que en algunas computadoras de escritorio especialmente con las
> > > DELL
> > >
> > > esta vez trate de instalar el XS en una DELL y el mensaje que aparece es
> > >
> > >
> > >
> > > SELinux: Could not open police file <=
> > > /etc/selinux/targeted/policy/policy/policy.23: No such file or directory
> > > Unable to load SELinux policy (No such file or directory). Halting now.
> > >
> > >
> > > y lo mas extraño es que cuando le doy la instalación normal no cargar en
> > > entorno gráfico del XS para la instalación
> > >
> > > --
> > > Abrazoss..
> > >
> > > Kevin Mauricio Benavides Castro
> > > XO and XS Technical Support
> > > Member of the Volunteer Group for OLPC and sugarlabs
> > > www.wiki.laptop.org/go/user/kevin.benavides
> > >
> > > http://www.sistemascastros.netne.net/
> > > -
> > > Linux User: #12356
> > >
> > >
> > > ___
> > > Server-devel mailing list
> > > Server-devel@lists.laptop.org
> > > http://lists.laptop.org/listinfo/server-devel
> > >
> > >
> >
> >
> >
> 
> 
> 
> 
> 
> -- 
> Abrazoss..
> 
> Kevin Mauricio Benavides Castro 
> XO and XS Technical Support
> Member of the Volunteer Group for OLPC and sugarlabs
> www.wiki.laptop.org/go/user/kevin.benavides 
> 
> http://www.sistemascastros.netne.net/
> -
> Linux User: #12356
> 
> ___
> 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] Agregar Desktop a mi red Escolar

2010-04-30 Thread Reuben K. Caron
German,

Thanks.

What are you assigning for Gateway/Router and DNS server?

Can you ping the XS?

Can the XS access the Internet ala ping google.com?

Reuben

On Apr 30, 2010, at 11:07 AM, German Ruiz wrote:

> Hi Reuben i am using a static ip address from this range  
> 172.18.126.0/24, but i can't access to internet, if i use dynamic  
> ip, the xs server give me a ip from this range
>
>pool {
>range  172.18.125.1 172.18.125.254;
>deny members of "internet";
>   }
>
> a i still can't acces to internet
>
> German
>
> El 30/04/10 08:54, Reuben K. Caron escribió:
>> German,
>>
>> What are you assigning for static IP values on the Desktop?
>>
>> Martin,
>>
>> He is using a match rule granting only IPs with XO MAC addresses (now
>> queue Wad yelling, DON'T DO THAT :-)
>>
>> (Although I don't think his allow and deny rules will do what he  
>> wants
>> given the subnetting)
>>
>> Reuben
>>
>>
>> On Apr 30, 2010, at 10:48 AM, Martin Langhoff wrote:
>>
>>> Hola Germán,
>>>
>>> la configuración default de dhcpd te da un rango para que uses con
>>> equipos con IP estática.
>>>
>>> No tienes que tocar la conf de dhcpd para nada (y tocarla crea un
>>> montón de problemas, nuestra conf de red es muy específica).
>>> Simplemente toma el desktop y configura IP, route y DNS a mano.
>>>
>>> Hay alguna razón por la que quieras darle al desktop una IP  
>>> estática?
>>> Deja te obtenga una IP dinámica y listo! Ésto lo proveemos para
>>> impresoras y otros dispositivos que tienen que tener un nombre/IP
>>> estable porque dan un servicio a otros...
>>>
>>> saludos,
>>>
>>>
>>>
>>> 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] problema con Instalacion XS

2010-04-30 Thread Reuben K. Caron
Samy,

Thank you!

Kevin, Samy is correct installation using kickstart is recommended.  
Can you tell us which option you are choosing?

Reuben

On Apr 30, 2010, at 10:51 AM, samy boutayeb wrote:

> Hola Kevin, Martin,
>
> Encontré el mensaje de error que Kevin senala. Este "hang up" occurrio
> durante las primeras fases del processo de arranque.
> Existe una solucion que consiste en anadir "enforcing=0" en la linea  
> de
> grub (cf. http://www.crypt.gen.nz/selinux/disable_selinux.html ).
>
> Esto dicho, el error con SELinux resulta de una opcion incorrecta
> durante la installacion de XS. La opcion correcta es "Install using
> kickstart" (como lo recomienda la documentacion en
> http://wiki.laptop.org/go/XS_Installing_Software ).
>
> Cf. la pantalla :
> http://olpc-france.org/wiki/index.php?title=Fichier:XS-Server_01.png
>
> Con esta opcion, el servidor se inicializa correctamente y el error
> SELinux desaparece.
>
> Espero que os ayude,
> saludos desde francia
> samy
>
>
>
> Le vendredi 30 avril 2010 à 10:21 -0400, Martin Langhoff a écrit :
>> Hola Kevin,
>>
>> muy extraño el mensaje. Yo trabajo con varias máquinas de prueba, y  
>> al
>> dos son Dell (Latitude D380 y PowerEdge SC440).
>>
>> Cuando tienes algún error así, es una buena idea presionar ctrl-alt- 
>> F1
>> / F2 / F3 que te lleva a varias consolas desde donde puedes ver más
>> info sobre qué está pasando, y eventualmente copiar la info a un  
>> disco
>> para tener el log completo de anaconda de qué pasó.
>>
>> En qué paso sucede ésto?
>>
>>
>> martin
>>
>> 2010/4/27 Kevin Mauricio Benavides Castro :
>>> Hola a todos
>>>
>>> he notado que en algunas computadoras de escritorio especialmente  
>>> con las
>>> DELL
>>>
>>> esta vez trate de instalar el XS en una DELL y el mensaje que  
>>> aparece es
>>>
>>>
>>>
>>> SELinux: Could not open police file <=
>>> /etc/selinux/targeted/policy/policy/policy.23: No such file or  
>>> directory
>>> Unable to load SELinux policy (No such file or directory). Halting  
>>> now.
>>>
>>>
>>> y lo mas extraño es que cuando le doy la instalación normal no  
>>> cargar en
>>> entorno gráfico del XS para la instalación
>>>
>>> --
>>> Abrazoss..
>>>
>>> Kevin Mauricio Benavides Castro
>>> XO and XS Technical Support
>>> Member of the Volunteer Group for OLPC and sugarlabs
>>> www.wiki.laptop.org/go/user/kevin.benavides
>>>
>>> http://www.sistemascastros.netne.net/
>>> -
>>> Linux User: #12356
>>>
>>>
>>> ___
>>> 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 mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Agregar Desktop a mi red Escolar

2010-04-30 Thread Reuben K. Caron
German,

What are you assigning for static IP values on the Desktop?

Martin,

He is using a match rule granting only IPs with XO MAC addresses (now  
queue Wad yelling, DON'T DO THAT :-)

(Although I don't think his allow and deny rules will do what he wants  
given the subnetting)

Reuben


On Apr 30, 2010, at 10:48 AM, Martin Langhoff wrote:

> Hola Germán,
>
> la configuración default de dhcpd te da un rango para que uses con
> equipos con IP estática.
>
> No tienes que tocar la conf de dhcpd para nada (y tocarla crea un
> montón de problemas, nuestra conf de red es muy específica).
> Simplemente toma el desktop y configura IP, route y DNS a mano.
>
> Hay alguna razón por la que quieras darle al desktop una IP estática?
> Deja te obtenga una IP dinámica y listo! Ésto lo proveemos para
> impresoras y otros dispositivos que tienen que tener un nombre/IP
> estable porque dan un servicio a otros...
>
> saludos,
>
>
>
> 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] PDF resources in public folders not opening in Reader

2010-04-02 Thread Reuben K. Caron

On Apr 2, 2010, at 12:46 AM, James Cameron wrote:

> On Fri, Apr 02, 2010 at 08:44:17AM +1000, David Leeming wrote:
>> We have many resources that are published in PDF that we want to  
>> make available
>> in public folders. However, when you browse to them and click on a  
>> PDf file, it
>> does not open in Reader but within the browser and I am finding  
>> that the PDF
>> reader plug-in for the Browse activity is not able to open many of  
>> the files ?
>
> I've reproduced this and raised a ticket.
> http://dev.laptop.org/ticket/10098
>
>> So, how can we get it to force downloads that then open in Read  
>> activity? There
>> is a check box ?force downloads?, can we make that take affect  
>> globally in the
>> public folder?
>
> Hopefully an XS expert might be able to answer this.
>
> In the Browse activity that you are using, it doesn't seem possible  
> for
> the user to force a download.

I don't believe this is an XS issue. The XS is serving up the file and  
correct file type. I believe the solution lies in altering the mime  
type on the XO, so the XO will download the PDF and associate it with  
the "Read" application. FWIW, this is exactly how Browse used to work  
and it was altered so Browse would "open," the pdf rather then having  
to launch the Read activity.

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


Re: [Server-devel] Fwd: [SoaS] wireless connection school server

2010-03-29 Thread Reuben K. Caron

On Mar 29, 2010, at 8:42 AM, Tomeu Vizoso wrote:

> [Forwarding to the XS list]
>
> -- Forwarded message --
> From: David Leeming 
> Date: Sun, Mar 28, 2010 at 23:02
> Subject: [SoaS] wireless connection school server
> To: SoaS 
>
>
> Not sure if this is an SOAS or XS question or both!
>
>
>
> I am trying out a mixed environment with XO-1s and SOAS.
>
>
>
> The XOs are connected and registered on an XS with v 0.6. They connect
> to a default network 172.18.0.0 wirelessly.
>

What wireless network are the XOs connected to?

>
>
> I have one PC netbook running SOAS 2 Blueberry. I can connect
> wirelessly but it gives me a different network 10.42.xxx.xxx (or
> close). The wireless icon on the SOAS shows me “connected to the
> school server” but I can’t access any resources or register etc.

Is this connected to the same wireless network? The same exact AP? If  
you have multiple APs are they all configured to act as a bridge to  
the wired network so that the XS can hand out IP addresses?2

snip

>
>
> What would I see if I had 2 or more computers running SOAS, connecting
> wirelessly? Should they be receiving IP addresses in the default range
> (172.18.0.0) or the other range I was observing (10.42.xxx.xxx)?

They should all have 172 addresses. Tell us more about how your  
networking is setup.

Regards,

Reuben

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


Re: [Server-devel] Technical questions

2010-01-20 Thread Reuben K. Caron
On Wed, Jan 20, 2010 at 5:09 AM, Martin Langhoff  wrote:

> On Wed, Jan 20, 2010 at 10:29 AM, Eustace Amah  wrote:
> > Thanks for the prompt reply. I need to know what to configure on t he
> > eth1?The client XO needs to get their IP Lease from eth1 and connect to
> the
> > internet while eth0 will serve as the outbound connections.
>
> eth1 gets autoconfigured, and all the internet connection sharing
> (technically, NAT and routing) is autoconfigured. Do _not_ try to
> configure eth1 or any of the other network devices you'll see.
>
> > Also I have about 15 Access points installed in the school. Must I have
> them
> > on channel 1,6 and 11 or can I leave them on Auto? Should I configure the
> > Access points to lease their IP from the DHCP server or it should be
> fixed?
>
> 15 access points - excellent! Well, if their ranges overlap, put them
> in different channels.
>
> You don't want 2 access points to be on the same frequency with
> overlapping range.
>

And by non-overlapping ranges he means you can ONLY USE channels 1, 6, and
11, spaced out so that two APs with channel 1 do not overlap.

If you connect them all to the same switch, set them all to have the
> same ESSID, and then the XOs will automagically connect to the best
> signal, and hop to a different AP if the user moves around.
>
> cheers,
>
>
> m
> --
>  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] We need: examples of XS hardware in use --

2010-01-13 Thread Reuben K. Caron
The Fit PC2 and the unit previously described for OLPCorps were both  
tested for use in the OLPCorps and the FitPC2 failed heat tests where  
the other unit passed.


Reuben

On Jan 13, 2010, at 1:25 PM, Sameer Verma wrote:



The Fit PC2:
1.6 GHz Atom, 1GB DDR2 RAM, 6 ports, etc. Full specs at 
http://www.fit-pc.com/web/fit-pc2/fit-pc2-specifications/
Power consumption at the AC/DC powerbrick = 15W
Gets hot to the touch.

We've installed XS 0.6 on both machines successfully. The FitPC2  
does have some reboot issues (hangs) so we didn't send it to  
Madagascar. We have the FitPC in the field in Maroantsetra,  
Madagascar, but isn't being used much due to other issues (lack of  
tech expertise in the field). We'll know more about the behavior of  
these once Ben (cc'd) has had a run of tests on these machines later  
this month.


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


Re: [Server-devel] We need: examples of XS hardware in use --

2010-01-13 Thread Reuben K. Caron

On Jan 12, 2010, at 7:43 AM, Martin Langhoff wrote:

> List, David, Reuben,
>
> We are getting increasing enquiries "what hardware can we use for an
> XS in a school with N laptops?", and frankly the
> http://wiki.laptop.org/go/XS_Recommended_Hardware is a bit slim on
> concrete recommendations.
>
> So I need your help -- I've added some info in the "hardware known to
> work" section, but I'd like David to put more info on the exact model
> of MSI Wind he's using, additional hardware, number of laptops
> supported, and any extra notes.
>
> Similarly, Reuben, I need more info on what hw the OLPCCorps crowd  
> is using.

OLPC purchased 30  machines for OLPCorps with the following specs from  
Logic Supply. These units are supporting anywhere between 30-100 XOs.  
So far the only bug report we have heard was the corrupted mnesia  
database

SolidLogic Fanless Mini-ITX System
   -Mainboard: EPIA LN1EG 1 GHz and HP7
   -Case: Serener GS-L02 Fanless Mini-ITX Case - Black
   -Memory: 1GB DDR2 667 RAM
   -HDD Standard: 160GB 3.5" Seagate SATA 7200rpm
   -Power Switch: None - Unit will be set to Auto-Power-On

>
> And anyone else that's running an XS (hi Hamilton!)... we need your hw
> profile and your numbers.
>
> Additionally, I've added a 'server sizing' section. It'll be great to
> get corroboration that the CPU/RAM to number of users match what you
> are using in the field, and whether your server gets in trouble when
> usage spikes.
>
> 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] Pushing Activities to XOs

2009-12-22 Thread Reuben K. Caron
Additional detail is that cloning requires security-disabled receivers.

On Dec 22, 2009, at 1:49 PM, Martin Langhoff wrote:

> Yep - with the small detail that it overwrites the nand storage. The
> other options under discussion preserve user data, etc...
>
> cheers,
>
>
>
> m
>
> On Tue, Dec 22, 2009 at 7:24 PM, Frederick Grose   
> wrote:
>> Another possibility might
>> be 
>> http://wiki.laptop.org/go/Multicast_NAND_FLASH_Update#Cloning_the_Sender.27s_NAND
>>  
>> .
>>
>>
>> ___
>> 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 mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Problema con Squid en XS sobre Vmware

2009-12-21 Thread Reuben K. Caron

Alexis,

This is the version you should be testing with:

http://xs-dev.laptop.org/xs/OLPC-School-Server-0.6-i386.iso

Regards,

Reuben

On Dec 21, 2009, at 3:53 PM, Alexis Pardo wrote:


Estimados colaborades:

Espero se encuentren bien. Les escribo para comentarles el  
inconveniente que tengo y ver si alguno de ustedes puede ayudarme.


Como saben, a la fecha hay disponibles 6 imágenes del schoolserver  
en http://xs-dev.laptop.org/xs/other/


1) OLPC School Server-0.7-i386.iso24-Oct-2009 03:07  545M
2) OLPC-School-Server-0.6d5-i386.iso  28-Aug-2009 18:06  549M
3) OLPC-School-Server-0.6d4-i386.iso  10-Aug-2009 17:39  549M
4) OLPC-School-Server-0.6d3-i386.iso  26-Jul-2009 16:30  549M
5) OLPC-School-Server-0.6d2-i386.iso  03-Jun-2009 03:15  549M
6) OLPC-School-Server-0.6d-i386.iso   18-May-2009 15:22  549M

He probado cada una de ellas sobre un ambiente virtualizado. Para  
ello, hago uso de Vmware Workstation. Mis pruebas no han sido  
exitosas debido a que no logro "encender" el squid a través del  
script TURN_SQUID_ON


Mi servidor virtual tiene 2 tarjetas de red, eth0 y eth1. La tarjeta  
de red eth0 está configurada en modo "bridge" y la eth1 en modo  
"host only". Está última no tiene comunicación con el exterior.


wan (eth0) <--- SERVER ---> lan (eth1) --> Estaciones que simulan  
ser XOs


Sigo en orden los pasos para configurar el schoolserver, sin  
embargo, cuando llego al paso de ejecutar el script TURN_SQUID_ON,  
obtengo el error que muestra la imagen adjunta:


http://img41.imageshack.us/img41/8370/xsv620091221144548.png

Initializing https proxy context init_cache_dir /var/spool/squid...  
Starting squid: .. [FAILED]


Por lo tanto, el squid no logra iniciar.

De acuerdo con su experiencia, ¿a qué podría deberse esto? Estoy  
convencido de que estoy haciendo todo bien hasta el momento.


Apreciaré sus comentarios.



Saludos,

Alexis
___
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] specs for virtual machines

2009-12-10 Thread Reuben K. Caron
Hrmm, an interesting proposal. I'd be happy to talk to them. This of  
course would require a ~100% connectivity on site which may be more  
useful for SOAS deployment's but nonetheless it may be of some  
interest to OLPC deployments.

Reuben

On Dec 10, 2009, at 4:05 PM, Walter Bender wrote:

> I met someone from a company that provides remote services for
> schools--mostly administrative and backups. They provide VMs and would
> be interested in hosting school servers. Anyone out there have time to
> talk with them about specifications?
>
> -walter
>
> -- 
> Walter Bender
> Sugar Labs
> http://www.sugarlabs.org
> ___
> 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] Question from University of Delaware XO Class

2009-10-21 Thread Reuben K. Caron

Everything in the Journal.

On Oct 21, 2009, at 3:40 PM, Josh Totoro wrote:


Can you back up specific files, or does it back up the whole XO?

From: Reuben Caron [mailto:caron.reu...@gmail.com] On Behalf Of  
Reuben K. Caron

Sent: Wednesday, October 21, 2009 3:19 PM
To: Josh Totoro
Cc: server-devel@lists.laptop.org
Subject: Re: [Server-devel] Question from University of Delaware XO  
Class


Not by default. The only way this can be achieved now is by backing  
up the XO to the XS and then retrieving the backup from the XS to  
the XO.


On Oct 21, 2009, at 3:06 PM, Josh Totoro wrote:


Is it possible to save and retrieve files from an XO to an XS  
server.  I guess it would be similar to a network folder in windows  
that can be accessed by any XO.


Josh Totoro
Charter School Management Inc.
302 E 5th St.
Chester, PA 19013
(610) 447-0400 x329
jtot...@chartersmi.com
www.chartersmi.com


This e-mail is intended for the use of the addressee(s) only and may  
contain privileged, confidential, or proprietary information of  
Chester Community Charter School (CCCS). If you have received this  
message in error, please e-mail administrator at postmas...@chestercommunitycharter.org 
, then delete the e-mail and destroy any printed copy. CCCS reserves  
the right to retain, archive, use and disclose any emails that are  
sent from or to this email address. Thank you.

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


This e-mail is intended for the use of the addressee(s) only and may  
contain privileged, confidential, or proprietary information of  
Chester Community Charter School (CCCS). If you have received this  
message in error, please e-mail administrator at postmas...@chestercommunitycharter.org 
, then delete the e-mail and destroy any printed copy. CCCS reserves  
the right to retain, archive, use and disclose any emails that are  
sent from or to this email address. Thank you.


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


Re: [Server-devel] Question from University of Delaware XO Class

2009-10-21 Thread Reuben K. Caron
Not by default. The only way this can be achieved now is by backing up  
the XO to the XS and then retrieving the backup from the XS to the XO.


On Oct 21, 2009, at 3:06 PM, Josh Totoro wrote:

Is it possible to save and retrieve files from an XO to an XS  
server.  I guess it would be similar to a network folder in windows  
that can be accessed by any XO.


Josh Totoro
Charter School Management Inc.
302 E 5th St.
Chester, PA 19013
(610) 447-0400 x329
jtot...@chartersmi.com
www.chartersmi.com


This e-mail is intended for the use of the addressee(s) only and may  
contain privileged, confidential, or proprietary information of  
Chester Community Charter School (CCCS). If you have received this  
message in error, please e-mail administrator at postmas...@chestercommunitycharter.org 
, then delete the e-mail and destroy any printed copy. CCCS reserves  
the right to retain, archive, use and disclose any emails that are  
sent from or to this email address. Thank you.

___
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] XS Timeout issue (maybe)

2009-09-23 Thread Reuben K. Caron

On Sep 22, 2009, at 7:35 PM, Gerald Ardito wrote:

> Hello,
>
> I have been testing an XS.
> We are in NY and the server is in Boston.
>
> I have set the Mesh Server on the XOs (in the Control Panel) for the  
> server's URL, and edited /etc/hosts on the XOs to point toward the  
> server's IP address.

Have you tried to register them via the Register option that can be  
found when hovering over the XO?
What was the server url that you entered?
What was the entry in hosts?

>
> The devices connect just fine, and I can collaborate on activities  
> between some machines.
>
> I am noticing the following things:
> 1. In the Neighborhood view on the XOs, different devices seem to  
> drop off at irregular intervals. I don't understand why this is  
> happening.
> 2. Even after a device has been shut down, it still appears in the  
> Neighborhood view on the other devices until they are restarted.
> 3. I don't' see all the devices in the Neighborhood view at any one  
> time.

Can you switch to the terminal and type the command olpc-netstatus and  
let us  know if the XOs are using gabble or salut?


> All of this seems different that how I understand how XS is supposed  
> to work.
>
> So, some questions:
> 1. Is there some timeout function on the server? If so, can it be  
> customized?
> 2. Is there any limit to the number of connections made to an XS  
> from one IP address? I am thinking that since these devices are all  
> coming from my school, they are all leaving the building with one IP  
> address.
> 3. If there is such a limit, can anything be done about this?
>
> Thanks. My plan is to deploy 150 machines in the next two weeks, so  
> any help will be greatly appreciated.
>
> Gerald
> ___
> 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] DNS/dhcp question

2009-09-23 Thread Reuben K. Caron

Gerald,

Did you try the ping command?

Reuben

On Sep 22, 2009, at 7:28 PM, Gerald Ardito wrote:


Martin,

I am hoping to hear back from you about this soon.
This is on the path to our deployment in the next couple of weeks.

Thanks.
Gerald

On Fri, Sep 18, 2009 at 6:44 PM, Gerald Ardito > wrote:

Martin,

Thanks.

I am using version 0.6d5. And I followed the standard installation  
procedures.
Our tech guy set up a VLAN which includes the APs, which point to  
the XS ("my box") as the DHCP server.


I didn't get to try the ping command you suggested. I will do so on  
Monday.


Is there anything else I can do?

Thanks.
Gerald



On Fri, Sep 18, 2009 at 4:23 AM, Martin Langhoff > wrote:
On Fri, Sep 18, 2009 at 2:55 AM, Gerald Ardito > wrote:

> I have the XS server up and running on a Dell.

Good!

 - What version of the XS?

 - Did you follow the standard installation procedures?

 - What happens if you do ...?
  ping -c1 `hostname -f`

> Eth0 is connected to the internet.

good

> Eth1 is connected to the AP for the XOs. Or, more accurate, the AP  
for the

> XOs points to eth1. (I hope this is correct).

The AP has to be running as an AP, _not_ as a router (so it does not
need to "point" anywhere). Just connect the AP to eth1

> I have two problems:
> 1) When I connected to the AP from the XOs, no IP address is  
generated.


Probably the AP is trying to act as a router instead of as an AP. Make
sure you disable all routing features.

> 2) We are going to use a hosted XS off site, and I want to  
configure my box

> (which is the dhcp server) to point to it.

What is "my box"? The XS _must_ be the local dhcp server. The XS must
be local, not remote. There must be no "box" between the XS and the
XOs.

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


[Server-devel] Scheduled Outage at 1CC--XS-Dev offline

2009-08-19 Thread Reuben K. Caron
There is scheduled power outage for *Saturday August 22,
2009 *beginning at 7pm.  The maintenance work should last between
10 – 12 hours.

Please note xs-dev.laptop.org will be offline during this time.

Martin, can you login and schedule a shutdown?

Regards,

Reuben


-- 
Reuben K. Caron
Country Support Engineer
One Laptop per Child
Mobile: +1-617-230-3893
reu...@laptop.org
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] xs-dev.laptop.org Down?

2009-08-17 Thread Reuben K. Caron
XS-Dev appears to have lost power or been abruptly shutdown. I found the box
not powered on and then after powering on the server took over an hour to
check the filesystem. Everything appears to be running fine now.
Reuben

On Mon, Aug 17, 2009 at 7:01 AM, Ed McNierney  wrote:

> I can't reach xs-dev but can contact other machines in that room, so I
> think it's an xs-dev specific problem.  I think that of the folks at 1CC,
> Reuben will be the first at the office (I won't be there today) so I'll ask
> him to follow up with Martin and wave a magic wand to fix things.  Thanks,
> Reuben!
>
>- Ed
>
>
>
> On Aug 17, 2009, at 3:24 AM, Martin Langhoff wrote:
>
>  On Sun, Aug 16, 2009 at 2:38 PM, Jerry Vonau wrote:
>>
>>> Anybody else having trouble reaching xs-dev.laptop.org?
>>>
>>
>> You're right. I can't ssh into it either. CC'ing Ed, Wad and Reuben
>> who have access to the room of doom where xs-dev lives.
>>
>> 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] the "first user is admin" moodle policy

2009-07-29 Thread Reuben K. Caron

Joshua N Pritikin wrote:

On Tue, Jul 28, 2009 at 03:25:35PM +0200, Martin Langhoff wrote:
  

On Tue, Jul 28, 2009 at 2:16 PM, Joshua N Pritikin wrote:


Can I create regular logins just to get started on exploring moodle?
  

 - If you want to get 'admin' on the patched Moodle on XS, see
/etc/moodle/adminpw -- login with "admin" as username, and that
password. But _our actual deployed XSs should not use this_, anything
we want real life users to do has to be doable with coursecreators and
standard user accts.



That doesn't work for me. "Invalid login"
  


Pass this first and then try to login (you may need to reboot after:)

sudo -u apache php /var/www/moodle/web/local/scripts/adminuser-enable.php

Is there anything else I can do to debug the autologin stuff? Can I 
recreate the cookie on the XO laptop?

___
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] Graphci card

2009-07-21 Thread Reuben K. Caron

Henry,

You should be able to complete the installation using a text based 
install. At the boot screen select the boot option press tab and add 
'text' at the end of the line to request the text-based installer.


Regards,

Reuben

Henry Vélez Molina wrote:

Hello

we have an incompatibility betwen the graphic card and the installer of the
XS server. For this reason we need to get another GPU that works with
anaconda and we want to know which GPU can we buy.

Thanks.

-- Henry Vélez Molina Administrador de red OLPC Fundación MArina Orth 
Tel :341 23 59 Móvil: 312 769 0169 www.fundacionmarinaorth.org



___
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] Upgrade to 0.6

2009-06-23 Thread Reuben K. Caron
Anyone have any luck fixing this?
Regards,
Reuben

On Thu, Jun 18, 2009 at 7:22 PM, Reuben K. Caron  wrote:

>
>
> On Thu, Jun 18, 2009 at 3:03 PM, Martin Langhoff <
> martin.langh...@gmail.com> wrote:
>
>> On Wed, Jun 17, 2009 at 5:28 PM, Reuben K. Caron
>> wrote:
>> > Glad to hear you found the root cause. If we can come up with one or two
>> > simple commands for the OLPCorps teams to type at the command line to
>> fix
>> > this and then enable squid; I'm sure they will be glad to do so.
>>
>> It had all been a theoretical exercise. Today, trying to figure out
>> what the correct fix is to put it in an rpm I just cannot repro the
>> problem.
>>
>> The reason it 'Just Works' is that Apache is actually also listening
>> on localhost. So Squid will gladly connecto localhost and issue an
>> HTTP/1.1 request saying 'host'.
>>
>> Here is how I test that manually -- and apache replies nicely:
>>
>> # telnet 127.0.0.1 80
>> Trying 127.0.0.1...
>> Connected to 127.0.0.1.
>> Escape character is '^]'.
>> GET / HTTP/1.1
>> Host: schoolserver.test.xs.laptop.org
>>
>> HTTP/1.1 302 Found
>> Date: Thu, 18 Jun 2009 12:59:45 GMT
>> Server: Apache/2.2.9 (Fedora)
>> Location: http://schoolserver.test.xs.laptop.org/moodle
>> Content-Length<http://schoolserver.test.xs.laptop.org/moodle%0AContent-Length>:
>> 325
>> Content-Type: text/html; charset=iso-8859-1
>>
>> 
>> ... HTML output elided.
>>
>>
>> Now, there is a number of changes (some of them trivial in appearence)
>> in the apache configuration that could break the behaviour... have the
>> local teams installed any extra software or added/changed
>> configuration of Apache?
>
> None. The installation was done as follows:
> Install from USB XS0.6d2.
> Install using all defaults.
> /etc/sysconfig/olpc-scripts/domain_config olpc.corp
> /etc/sysconfig/olpc-scripts/TURN_SQUID_ON
> reboot
> The hardware had two nics, one on the motherboard the second a USB dongle.
> Motherboard NIC, WAN, was and is not connected to internet. USB Dongle, LAN,
> was connected, and gave DHCP addresses over wireless to APs attached to that
> port.
> Regards,
> Reuben
>
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] XS Moodle admin login

2009-06-22 Thread Reuben K. Caron
I have experienced this with every 0.6d2 install. The passchange.php method
mentioned in this link did NOT work:
http://moodle.org/mod/forum/discuss.php?d=18103

On Mon, Jun 22, 2009 at 5:04 PM,  wrote:

> I wasn't sure initially if I type in wrongly, etc. After have the same
> problem  with two different XS I started to query that my memory and
> eyesight should be OK 
>
> I am a non technical person -  could it be changes in the authenticity
> method? I presume it should be manual for admin - anyway of checking if this
> is the default setting for admin?
>
>  Cheers
>
>
>
> >-Original Message-
> >From: Martin Langhoff [mailto:martin.langh...@gmail.com]
> >Sent: Monday, June 22, 2009 09:26 PM
> >To: tkk...@nurturingasia.com
> >Cc: 'XS Devel'
> >Subject: Re: XS Moodle admin login
> >
> >On Mon, Jun 22, 2009 at 3:22 PM,  wrote:
> >> I had no problems before with the admin and password (from
> /etc/moodle/passwd) combination to get admin access - so that I could
> install language pack, etc
> >>
> >> However I notice recently with new test few XS machines I am uable to
> login as admin. I get the  "invalid login, please try again" prompt.
> >>
> >> Has something change?
> >
> >It shouldn't have changed, but Reuben mentioned a similar problem. I
> >have not seen it, so I am interested in help debugging 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
>
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Server configuration

2009-06-01 Thread Reuben K. Caron
Neo,

Hi. I'm wondering why you need the Static IP. Does the XS have one or
two network cards? Will the XS act as a gateway to the Internet?

Thanks,

Reuben


Grape Projects IT wrote:
> Hi Martin,
>
> I have never setup a static address before and therefore have never had
> this issue before. Below is the step-by-step configuration that I followed
> and I am having a problem with the DNS as the XO's do not connect to the
> Internet
>
> I downloaded the XS 0.5.2 image and followed the instructions
> http://wiki.laptop.org/go/XS_Installing_Software.
>
> 1.I initially ran the script /etc/sysconfig/olpc-scripts/domainconfig
> katane.org with katane.org being the hostname
>
>
> 2.I also changed the HOSTNAME=localhost.localdomain to
> HOSTNAME=schoolserver.katane.org
>
>
> Our internet has a static IP address therefore I copied
> /usr/share/doc/xs-config-*/ifcfg-eth0-local.example to
> /etc/sysconfig/olpc-scripts/ifcfg-eth0-local and edited the file
> with the following:
>
> IPADDR=10.50.211.15
> IPV6ADDR=no
> NETMASK=255.255.255.0
> NETWORK=10.50.211.0
> BROADCAST=10.50.211.255
> GATEWAY=10.50.211.5
>
> I also edited the /etc/resolv.conf to resolve the DNS nameserver as follows:
>
> search katane.org
> nameservers 10.50.211.5
>
> 3. Restarted the machine
>
> 4. I then started the ejabberd service at runlevels 345
> 5. Restarted the machine " shutdown -r now"
>
> 6. After reboot I pinged www.google.com and I got reply packets which
> meant that I had connection to the internet
>
> 7. now the problem is that when I check the ejabberd status "ejabberdctl
> status" I get an error RPC failed on the node ejabb...@schoolserver:
> nodedown
>
> so I went back to my /etc/resolv.conf file and edited the nameserver back
> to 172.18.0.1 and restarted ejabberd and this executed with no errors. But
> now the server does not resolve the DNS addresses cause when I ping
> www.google.com I get the error unknown host www.google.com
>
> 8.Another thing is that the XO does not connect to the internet under all
> scenarios but it connects to the schoolserver as I get to the "who are
> you?" page
>
> Now what do I need to do to make this work as I am using Active Antenna to
> connect the XO's to the Server
>
> Regards
>
> Neo Masilo
>
>
>
>
>
>
> ___
> Server-devel mailing list
> Server-devel@lists.laptop.org
> http://lists.laptop.org/listinfo/server-devel
>   

-- 
Reuben K. Caron
Country Support Engineer
One Laptop per Child
Mobile: +1-617-230-3893
reu...@laptop.org
Deployments Support <http://wiki.laptop.org/go/Deployments_Support>
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] XS 0.6 preview

2009-05-27 Thread Reuben K. Caron
Today I performed a fresh install.
yum update -y --enablerepo=olpcxs-testing
reboot
/etc/sysconfig/olpc-scripts/domain_config olpc.test
reboot

Observations:
-hostname not changed
-the login banner still shows 0.5.2
-registered two XOs:
--Both can see each other in Neighborhood.
--Both are assigned course creator privileges in moodle.

Thanks,

Reuben

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


Re: [Server-devel] Fresh install of 0.5.2 + repo olpcxs-testing issues?

2009-05-21 Thread Reuben K. Caron


Martin Langhoff wrote:
> - The "normal" upgrade scenario will have the user install 0.5.2 and
> configure it fully, including enabling ejabberd. On yum upgrade,
> pgsql-xs will no longer start up. Worth a relnote (telling xs-config
> to always make pgsql-xs start on boot trumps local admin decisions).
>
>  - For the "test" upgrade scenario which you explored, the fix is to
>chkconfig --level 345 ejabberd on
>chkconfig --add pgsql-xs
>after running domain_config, before the reboot.
>   
I confirmed the normal upgrade scenario works:

Install
Configure fully
yum update olpcxs-testing
chkconfig --add pgsql-xs
reboot

Oddly though after registering two XOs, I see in moodle they both have
Course Creator rights.
>  - The 0.6 iso and img do already do this "right" out of the box  in
> my tests :-)
>   
Now on to 0.6.

Thanks,
Reuben

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


Re: [Server-devel] [Sugar-devel] Browse-101 for 0.82 and XS-0.6 interop

2009-05-21 Thread Reuben K. Caron
Daniel,

Thanks for the clarification and the bug fix.

Should that bug be closed?

Reuben

Daniel Drake wrote:
> 2009/5/21 Martin Langhoff :
>   
>> Simon (aka erikos) has just uploaded Browse-101.xo to
>> http://activities.sugarlabs.org/en-US/sugar/addons/versions/4024#version-101
>>
>> This is the currently recommended Browse for XOs running 8.2.x wanting
>> to interoperate with the upcoming XS 0.6 . This version was previously
>> available but hard to find -- Daniel Drake posted a (probably
>> identical) version recently, but it was missing from the SL's download
>> facility.
>>
>> Now it's there, easy to find, recommended. Thanks!
>> 
>
> Someone posted my version here:
> http://wiki.laptop.org/go/Activities/G1G1/8.2
>
> It is not exactly the same, it includes a fix for
> http://dev.laptop.org/ticket/8857 too.
>
> Daniel
> ___
> Server-devel mailing list
> Server-devel@lists.laptop.org
> http://lists.laptop.org/listinfo/server-devel
>   

-- 
Reuben K. Caron
Country Support Engineer
One Laptop per Child
Mobile: +1-617-230-3893
reu...@laptop.org
Deployments Support <http://wiki.laptop.org/go/Deployments_Support>
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Browse-101 for 0.82 and XS-0.6 interop

2009-05-21 Thread Reuben K. Caron
The G1G1 set of activities (1) on wiki.laptop.org was updated to include
Browse-102, I believe at the time the composite image was created for
8.2.1. This version does appear to work on 8.2.1 and has your auto-login
magic working with an updated XS 0.5.2.

Can we get a definitive answer on which to use 101 or 102?

Thanks,

Reuben

(1) http://wiki.laptop.org/go/Activities/G1G1

Martin Langhoff wrote:
> Simon (aka erikos) has just uploaded Browse-101.xo to
> http://activities.sugarlabs.org/en-US/sugar/addons/versions/4024#version-101
>
> This is the currently recommended Browse for XOs running 8.2.x wanting
> to interoperate with the upcoming XS 0.6 . This version was previously
> available but hard to find -- Daniel Drake posted a (probably
> identical) version recently, but it was missing from the SL's download
> facility.
>
> Now it's there, easy to find, recommended. Thanks!
>
>
>
>
> m
>   
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


[Server-devel] Fresh install of 0.5.2 + repo olpcxs-testing issues?

2009-05-20 Thread Reuben K. Caron
Martin,

Today after a fresh install of 0.5.2
-yum update -y --enablerepo=olpcxs-testing
-reboot
-/etc/sysconfig/olpc-scripts/domain_config olpc.org
-reboot

Observations:

/etc/sysconfig/network: hostname=localhost.localhost
ejabberd not running
pgsql-xs not running
/etc/moodle/upgrade needed
moodle not runing

I then:
Set hostname in /etc/sysconfig/network
reboot
chkconfig --level 345 ejabberd on
service ejabberd start
service pgsql-xs start
service moodle start
(moodle upgrades database)
reboot

Obersavations:
ejabberd running
moodle running
pgsql-xs not running
http:\\schoolserver shows connection to database failed

I then:
service pgsql-xs start
chkconfig --level 345 pgsql-xs on
reboot

All services appear to operate correctly (from the perspective of
joining two XOs.)

Regards,

Reuben



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


Re: [Server-devel] Filtering and authentication

2009-04-28 Thread Reuben K. Caron
On Tue, Apr 28, 2009 at 6:34 PM, Jerry Vonau  wrote:

> On Tue, 2009-04-28 at 16:34 -0400, Reuben K. Caron wrote:
> > All of the documentation is contained within their download. It
> > appears like a nice lightweight solution. It is basically a captive
> > portal that requires authentication before allowing access to the
> > internet. It takes a different approach then netreg using dynamically
> > created iptables generated after a user logs in. Whereas netreg uses
> > dhcp to assign one set of ip addresses to an authenticated group of
> > users and one set of ip addresses to an unauthenticated set of users.
> > It appears in their current implementation nocat would require an
> > authentication every time  a user connects to the system and netreg
> > would require a single authentication event and subsequently would
> > read the mac address from the dhcpd.conf file and grant an
> > authenticated ip address.
> >
> > Regards,
> > Reuben
>
> Thanks Reuben,
>
> The part that I like is the hook to query a DB, with a bit of work the
> need to login could be removed, and just look up the group membership
> that the mac address has in the db.
>
> Just a thought,
>
> Jerry


Keep the thoughts coming! :-) Additionally, this solution would be more
secure as it does a dance with iptables versus the netreg way where a user
could simply assign themselves an ip in from the authenticated group and
gain access to the internet. Both solutions have their merit..first one to
program it into XS gets their pick..

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


Re: [Server-devel] Filtering and authentication

2009-04-27 Thread Reuben K. Caron


John Watlington wrote:
>
> On Apr 27, 2009, at 11:18 AM, Reuben K. Caron wrote:
>
>> Anna wrote:
>>> On Sun, Apr 26, 2009 at 10:51 AM, Reuben K. Caron
>>>  wrote:
>>>
>>> As far as limiting the internet connection to authorized XOs, that's an
>>> issue we're probably going to run into at some point once we broaden
>>> the XS
>>> deployment.  So far at the pilot school, the staff members connect
>>> to the
>>> internet with their personal laptops and iPhones, but I haven't
>>> really heard
>>> any complaints of abuse yet.
>>>
>>> If your deployment is relatively small, it should be easy enough to
>>> add the
>>> hardware addresses of the trusted XOs to dhcpd.conf and disallow
>>> unknown
>>> machines (or play pranks on them as suggested at
>>> http://www.ex-parrot.com/~pete/upside-down-ternet.html).
>>>
>>> Anna Schoolfield
>>> Birmingham
>>
>> While not all encompassing you could also attempt to drop dhcp requests
>> that do not come from 00:17:c4 using something similar to:
>>
>> http://ubuntuforums.org/showthread.php?p=4191756
>
> Please do not take this approach.   It sounds quick, easy, and foolproof,
> but will lead to problems in the future.(I almost suggested it,
> but decided
> the cons outweighted the pros.)
I agree it is fraught with peril; however, do we have a better solution
until: "Tie internet access to registration," is implemented:

http://wiki.laptop.org/go/User:Martinlanghoff/XS_0.6_plan#Not_in_the_plan
> For example, what if you get an XO-1.5 in the mix ?
I would assume XO 1.5 will have a similar unique identifier that could
be added to the list.

While more complex to implement, perhaps something like NetReg would be
viable:

http://netreg.sourceforge.net/

Regards,
Reuben


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


Re: [Server-devel] Filtering and authentication

2009-04-27 Thread Reuben K. Caron


Anna wrote:
> On Sun, Apr 26, 2009 at 10:51 AM, Reuben K. Caron  wrote:
>
> As far as limiting the internet connection to authorized XOs, that's an
> issue we're probably going to run into at some point once we broaden the XS
> deployment.  So far at the pilot school, the staff members connect to the
> internet with their personal laptops and iPhones, but I haven't really heard
> any complaints of abuse yet.
>
> If your deployment is relatively small, it should be easy enough to add the
> hardware addresses of the trusted XOs to dhcpd.conf and disallow unknown
> machines (or play pranks on them as suggested at
> http://www.ex-parrot.com/~pete/upside-down-ternet.html).
>
> Anna Schoolfield
> Birmingham
>
>   

While not all encompassing you could also attempt to drop dhcp requests
that do not come from 00:17:c4 using something similar to:

http://ubuntuforums.org/showthread.php?p=4191756

Reuben


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


Re: [Server-devel] Filtering and authentication

2009-04-26 Thread Reuben K. Caron

Martin Langhoff wrote:

On Sat, Apr 25, 2009 at 11:15 PM, david  wrote:
  

maybe the connection with the public Internet can be pointed to an online proxy 
service so the filtering is done online



That is my strong recommendation. There is little benefit in having
the filtering happening locally, and lots of downsides.  Search the
list archive for 'dansguardian' or 'squidgard' for earlier discussions
on this topic.

  
A free and simple solution, while not bullet proof (no content filter is 
that I am aware), is Open DNS. They are even CIPA compliant in the US: 
http://www.opendns.com/solutions/k12/



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


Re: [Server-devel] Fwd: Hoping for assistance with XS 0.5 configuration difficulties (ejabberd)

2009-04-25 Thread Reuben K. Caron

Daniel Bennett wrote:
I just sent this to Reuben.  I have done some digging through the log 
file and haven't seen anything useful.  Do I perhaps need to set the 
ejabberd.cfg file to 5:debug instead of 4:Verbose?  i remember seeing 
something about that inside it.


Unfortunately, we we haven't set up a GUI, web browser, or emailing 
capabilities of any kind on the server itself so emailing the log file 
will be a roadblock for me.  I haven't worked in linux for about 5 
years now until trying to tackle this project.  I'm relearning how to 
do basic things like ls, pipe to less, and use vi for simple text 
edits.  Setting that stuff up is likely to take a lng time.  Is 
there anything specific I can do offline to find what you're hoping 
for inside.  In writing you this email I just recalled the existence 
of grep.  is there something I could grep for in the log file and give 
you some feedback on it? 

On  the subject of following instructions, there have been two of us 
working on the server, sometimes one at a time so I can't 
guarantee that we've followed them to a T, but we both believe that we 
have.  We've gone so far as to rerun the initial scripts, recheck 
hostname, reset the acl lines in ejabberd.cfg repeatedly, connect to 
the jabber server with 2 different jabber clients (which has been 
successful, we've chatted back and forth using our server. 


We just can't access the admin inteface at 
http://192.168.0.162:5280/admin, we keep getting 401 unauthorized), 
read every wiki page that sounded remotely relevant, etc.



Where is this IP coming from? How are you changing this?

Martin, also note (below) they have one nic.. Can you remind us what the 
default behavior is for one nic?


And we've been following hunches at each step so we have pulled some 
of the instructions out of related pages from the wiki.


I've been careful to comment out all of the original lines in the 
ejabberd.cfg file and mark all of my changes for easy resetting of 
each segment to it's original state.  Which I've since done.  So 
theoretically, the file should be in it's original state except for 
the {acl, admin {...   line that we added to give admin privs to our 
sample user.  

But of course, I could have made missed something.  However, the 
server is still working fine when we connect via 3rd party clients 
(pidgin pis), so I don't think I've done anything critical...


Let me know if I should grep anything out of the log file for you.

Thanks for the help!
-Dan

-- Forwarded message --
From: *Daniel Bennett* mailto:dant...@gmail.com>>
Date: Sat, Apr 25, 2009 at 5:57 PM
Subject: Re: [Server-devel] Hoping for assistance with XS 0.5 
configuration difficulties (ejabberd)

To: "Reuben K. Caron" mailto:reu...@laptop.org>>
Cc: Michael Ishaku <mailto:michaelish...@gmail.com>>



Reuben,

Thank you for the quick reply and the hints.  I've cc'd Michael Ishaku 
on this thread.  He's and I have been working on this issue together 
and he is going to be administering the server once I head back to the 
states.


I've replied to your statements inline below to the best of my 
ability.  Please take a look.


On Sat, Apr 25, 2009 at 5:19 PM, Reuben K. Caron
mailto:reu...@laptop.org>> wrote:

Daniel,

I am sorry to hear about all your difficulties. I'd like to work
with you to get this to work.

If you cannot enter the ejabberd web interface to setup the online
group then XOs will not collaborate.

I'd like to know about your hardware, 2 nics or 1?

We have one LAN card for ethernet, but have also installed a wireless 
networking card for communication with Access Points.  That should 
work, right?  I'm really no IT professional... :) 



I'm sure you have read through this but please be sure to follow
this line by line:

http://wiki.laptop.org/go/XS_Installing_Software#Initial_Configuration

One particular point I'd like to make in the instructions is this:

--->Set the hostname of the machine like this (until we fix bug
8983) by editing /etc/sysconfig/network to set
HOSTNAME=schoolserver.example.org <http://schoolserver.example.org>


contents of /etc/sysconfig/network:
NETWORKING=yes
HOSTNAME=schoolserver.lccnyola.org <http://schoolserver.lccnyola.org> 
~

~
"/etc/sysconfig/network" 2L, 50C


-->and restarting.

 
We had this problem yesterday when we left, and when i arrived this 
morning I had to turn the server back on (it had powered off overnight 
due to the generator being shut down and the UPS running out of 
juice).  I'm fairly certain that we tried rebooting a couple of times 
during the day yesterday as well.  I'm certain that we used the 
command shell to: service ejabberd restart   many many times both 
days.  This would 

Re: [Server-devel] Understanding registering xo process

2009-04-21 Thread Reuben K. Caron

Gerald,

What version of XS are you working with? Have you followed the 
directions here: http://wiki.laptop.org/go/XS_Installing_Software


Specifically, have you made sure ejabberd is running, service ejabberd 
status.  Have you created the Online or all group?


Regards,
Reuben

Gerald Ardito wrote:

I have never been able to get this to work.
Whenever we try to register one of the XOs, we get a message that we 
could not connect to the server.

However, we can ping the server from the XOs and the XOs from the server.

Any ideas?

Gerald

On Tue, Apr 21, 2009 at 4:13 PM, Reuben K. Caron <mailto:reu...@laptop.org>> wrote:


Ciro,

On the XO side you need to make sure the XO is connected to an
Access Point that is connected to the XO, like:

XS---AP---XO

Once the XO is associated with the Access Point. You can register
the XO to the school server. You can do this on the Home Screen.
Hover the mouse of the XO Child, and select the option to
Register. On 703 you can check if registration is successful by
moving the mouse away from the XO Child and moving the mouse back
over the XO Child and check if the Registration option is now
gone. On newer versions, 8.2.x, a registration success message
will appear.

Regards,
Reuben


Ciro Nuñez wrote:

Hi,
Im trying to understand the registering process.
(registering xo with XS)
Could some one point me to the pieces of code to look up please?
I know that, at the server side, idmgr service is in charge.
but who is in charge at the  client side?

saludos,
Ing. Ciro Nuñez I.
__
Dirección General
de Tecnologías Educativas
DIGETE - MED - PERU
tel:   615-5800  (1236)
Cel: 991-331-163




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


Re: [Server-devel] Understanding registering xo process

2009-04-21 Thread Reuben K. Caron
Ciro,

I believe it is schoolserver.py

Regards,
Reuben

Ciro Nuñez wrote:
> That 's  right, but my question is more about the code involved, that is, the 
> scripts (*.py and *.sh) that trigger and manage
> the process of registering xo with XS.
>
> Thank you in advance.
>
> saludos,
> Ing. Ciro Nuñez I.
> __
> Dirección General
> de Tecnologías Educativas
> DIGETE - MED - PERU
> tel:   615-5800  (1236)
> Cel: 991-331-163
> 
> De: Reuben Caron [caron.reu...@gmail.com] en nombre de Reuben K. Caron 
> [reu...@laptop.org]
> Enviado el: martes, 21 de abril de 2009 03:13 p.m.
> Para: Ciro Nuñez
> Cc: server-devel@lists.laptop.org
> Asunto: Re: [Server-devel] Understanding registering xo process
>
> Ciro,
>
> On the XO side you need to make sure the XO is connected to an Access Point 
> that is connected to the XO, like:
>
> XS---AP---XO
>
> Once the XO is associated with the Access Point. You can register the XO to 
> the school server. You can do this on the Home Screen. Hover the mouse of the 
> XO Child, and select the option to Register. On 703 you can check if 
> registration is successful by moving the mouse away from the XO Child and 
> moving the mouse back over the XO Child and check if the Registration option 
> is now gone. On newer versions, 8.2.x, a registration success message will 
> appear.
>
> Regards,
> Reuben
>
> Ciro Nuñez wrote:
>
> Hi,
> Im trying to understand the registering process.
> (registering xo with XS)
> Could some one point me to the pieces of code to look up please?
> I know that, at the server side, idmgr service is in charge.
> but who is in charge at the  client side?
>
> saludos,
> Ing. Ciro Nuñez I.
> __
> Dirección General
> de Tecnologías Educativas
> DIGETE - MED - PERU
> tel:   615-5800  (1236)
> Cel: 991-331-163

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


Re: [Server-devel] Understanding registering xo process

2009-04-21 Thread Reuben K. Caron
Ciro,

On the XO side you need to make sure the XO is connected to an Access
Point that is connected to the XO, like:

XS---AP---XO

Once the XO is associated with the Access Point. You can register the XO
to the school server. You can do this on the Home Screen. Hover the
mouse of the XO Child, and select the option to Register. On 703 you can
check if registration is successful by moving the mouse away from the XO
Child and moving the mouse back over the XO Child and check if the
Registration option is now gone. On newer versions, 8.2.x, a
registration success message will appear.

Regards,
Reuben

Ciro Nuñez wrote:
> Hi,
> Im trying to understand the registering process.
> (registering xo with XS)
> Could some one point me to the pieces of code to look up please?
> I know that, at the server side, idmgr service is in charge.
> but who is in charge at the  client side?
>
> saludos,
> Ing. Ciro Nuñez I.
> __
> Dirección General
> de Tecnologías Educativas
> DIGETE - MED - PERU
> tel:   615-5800  (1236)
> Cel: 991-331-163
> 
> De: server-devel-boun...@lists.laptop.org 
> [server-devel-boun...@lists.laptop.org] en nombre de 
> server-devel-requ...@lists.laptop.org [server-devel-requ...@lists.laptop.org]
> Enviado el: viernes, 03 de abril de 2009 11:00 a.m.
> Para: server-devel@lists.laptop.org
> Asunto: Server-devel Digest, Vol 24, Issue 7
>
> Send Server-devel mailing list submissions to
> server-devel@lists.laptop.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.laptop.org/listinfo/server-devel
> or, via email, send a message with subject or body 'help' to
> server-devel-requ...@lists.laptop.org
>
> You can reach the person managing the list at
> server-devel-ow...@lists.laptop.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Server-devel digest..."
>
>
> Today's Topics:
>
>1. Re: Gadget on XS (Guillaume Desmottes)
>2. Re: XS Restore UI and account aliasing are ready for
>   testing... (Martin Langhoff)
>3. Re: Gadget on XS (Dave Bauer)
>4. Re: Gadget on XS (Dave Bauer)
>
>
> --
>
> Message: 1
> Date: Fri, 03 Apr 2009 15:15:50 +0100
> From: Guillaume Desmottes 
> Subject: Re: [Server-devel] Gadget on XS
> To: dave.ba...@gmail.com
> Cc: server-devel@lists.laptop.org
> Message-ID: <1238768150.4109.27.ca...@cass-x200s.lan>
> Content-Type: text/plain; charset="UTF-8"
>
> Le vendredi 03 avril 2009 ? 09:41 -0400, Dave Bauer a ?crit :
>   
>> On Wed, Apr 1, 2009 at 6:36 AM, Guillaume Desmottes
>>  wrote:
>> Le mardi 31 mars 2009 ? 13:45 -0400, Dave Bauer a ?crit :
>> > Hi,
>> >
>> > I am trying to get gadget working on my XS at
>> > schoolserver.solutiongrove.com
>> >
>> > First I downloaded the source and built it, but I could not
>> find any
>> > indication that gadget was installed. How can I tell if it
>> is working?
>> >
>> > Next I tried the gadget package
>> > http://koji.fedoraproject.org/koji/taskinfo?taskID=1261886
>> RPM but it
>> > required ejabberd package. RPM says this is not installed.
>> (I did
>> > install python-twisted which was another requirement of the
>> RPM).
>> >
>> > Does anyoe have any advice on getting gadget working?
>>
>>
>> Basically you have to install the gadget service, launch it
>> (it's a
>> separated process), modify your ejabberd.cfg as explained in
>> the Gadget
>> README and then restart your ejabberd.
>>
>> You can see if Gadget is working by looking at the XMPP
>> traffic
>> exchanged between clients and the server.
>>
>> Gadget started /etc/init.d/gadget start
>>
>> logs on server say
>>
>> 2009/04/03 09:37 -0400 [-] Log opened.
>> 2009/04/03 09:37 -0400 [-] twistd 2.5.0 (/usr/bin/python 2.5.1)
>> starting up
>> 2009/04/03 09:37 -0400 [-] reactor class: > 'twisted.internet.selectreactor.SelectReactor'>
>> 2009/04/03 09:37 -0400 [-] Loading /usr/share/gadget/gadget.tac...
>> 2009/04/03 09:37 -0400 [-] Loaded.
>> 2009/04/03 09:37 -0400 [-] Starting factory
>> > 0x8a8644c>
>> 2009/04/03 09:37 -0400 [Uninitialized] > instance at 0x8a8bb4c> will retry in 2 seconds
>> 2009/04/03 09:37 -0400 [Uninitialized] Stopping factory
>> > 0x8a8644c>
>> 2009/04/03 09:37 -0400 [-] Starting factory
>> > 0x8a8644c>
>> 2009/04/03 09:37 -0400 [Uninitialized] > instance at 0x8a8bb4c> will retry in 9 seconds
>> 2009/04/03 09:37 -0400 [Uninitialized] Stopping factory
>> > 0x8a8644c>
>> 2009/04/03 09:37 -0400 [-] Starting factory
>> > 0x8a8644c>
>> 2009/04/03 09:37 -0400 [Uninitialized] > instance at 0x8a8bb4c> will retry in 24 seconds
>> 2009/04/03 09:37 -0400 [Uninitialized] Stopping factory
>> > 0x8a8644c>
>> 2009/

Re: [Server-devel] Serving 400+ students w/ a single central XS - ejabberd nightmare?

2009-03-10 Thread Reuben K. Caron

Daniel Drake wrote:

2009/3/9 Bryan Berry :
  

We will have roughly 8+ AP's. We have found that off-the-shelf AP's can
handle around 60-70 users.  But that doesn't still doesn't solve the
problem of the XO's getting bogged down by tons of ejabberd chatter.

DSD: do you have any ideas about this?



Have only had a chance to test numbers on Linksys WRT54Gsomething
routers, which stop accepting new connections after 33 users. yay.
  

Have you tried loading a different firmware on these, dd-wrt?
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] @a...@...?

2009-03-05 Thread Reuben K. Caron
ps_mem.py, is I believe what Martin recommended to me.

Daniel Drake wrote:
> 2009/3/4 Martin Langhoff :
>   
>> One little change -- if you have 85 XOs, I would want to see what the
>> memory usage of ejabberd is.
>> 
>
> How do you suggest that we measure this?
>
> Thanks,
> Daniel
>   

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


[Server-devel] @a...@...?

2009-02-22 Thread Reuben K. Caron
Since @online@ is broken in 0.5.1. How should the directions be changed 
at http://wiki.laptop.org/go/XS_Installing_Software:

Type "Online" and click Add New.
Click on "Online" and enter "Online" for Name, "@online@" for Members, 
and "Online" for Displayed Groups. Click Submit.

I'm just wondering how "fussy" ejabberd is here. Can we just replace the 
@online@ with @all@ or should we create an "All" Group, with "All" for 
Name and "All" for Displayed Groups?


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


Re: [Server-devel] IP addressing of access points

2009-01-28 Thread Reuben K. Caron
In my opinion, yes different netblocks will help.

Martin Langhoff wrote:
> On Thu, Jan 29, 2009 at 10:10 AM, Daniel Drake  wrote:
>   
>> Or walking over to your AP, asking it's
>> preference, and observing it's morse code response.
>> 
>
> dsd, reuben,
>
> If you were in Rwanda, in a school with 5K kids. And large, perhaps
> with a couple of physically separated buildings... Does having
> different netblocks help in terms of routing?
>
> cheers,
>
>
> m
>   
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] interest in new proxy

2009-01-13 Thread Reuben K. Caron
Vivek,

This sounds very interesting. Could you provide us with more information?

Regards,
Reuben

Vivek Pai wrote:
> Hi,
>
> My name is Vivek Pai and I'm new to the list. Forgive
> me if I'm missing anything relating to this query.
>
> A long time ago, I visited OLPC to discuss HTTP proxy
> needs for the schools, and our research group at Princeton
> had a project that looked like it might be a good fit. In
> particular, it's a Web proxy that scales to large storage
> sizes without requiring large memory consumption. It can,
> for example, use a 1TB USB drive as a store, while requiring
> only a XO-class laptop to drive it.
>
> Is there interest in something like this for the XS server?
> We're also working on a WAN accelerator that uses this
> proxy, providing transparent compression of content, even
> for dynamic Web sites.
>
> The original ticket for this was
> 
>
> -Vivek
>
> ___
> 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] XO

2009-01-08 Thread Reuben K. Caron


Jerry Vonau wrote:
> On Thu, 2009-01-08 at 15:02 -0500, Reuben K. Caron wrote:
>   
>> Jerry,
>>
>> This should jump start you into the right direction:
>>
>> http://wiki.laptop.org/go/No-Fail_Upgrade
>>
>> Good Luck,
>> Reuben
>>
>> 
> Thanks, I figured as much.
>
>   
>> Jerry Vonau wrote: 
>> 
>>> Hi All:
>>>
>>> Ok, I just received my XOs, being an absolute newbie with the XO, if all
>>> I see upon booting is a gray screen and the XO logo, and I don't get
>>> asked for a name as shown at:
>>> http://www.laptop.org/8.2.0/manual/XO_Starting.html
>>> I need to load an os image on this puppy, correct? 
>>>
>>> If I hold down the "game keys" I see "school-mesh-0 found" that good
>>> right? ;-) 
>>>
>>> Just need to know where I'm at before I start to play
>>>
>>>   
>
> With a the "game keys" depressed I see that the XO is looking for
> http://172.18.0.1/fs.zip, I assume that is the path for the
> staging/upgrade images to be downloaded and installed from? If so, I
> should be able to dump the image (fs.zip and version.img) that I want to
> load into /docroot of the schoolsever and the XO should be updated
> automatically?  
>
> Jerry
>
>
>   
If you setup an AP with SSID: OLPCOFW connected to a computer with IP
172.18.0.1 with fs.zip and image file at the root of the webserver, yes
it will work; albeit slowly..


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


Re: [Server-devel] XS 0.5.1-dev03 with ejabberd goodness, kernel bling, Access Point workingness... looking for xmas testers

2008-12-30 Thread Reuben K. Caron
David,

Thank you for the information.

Can you attempt to perform a clean install again with edits in line below.

David Leeming wrote:
> Hi Reuben
>
>  
>
> -  Installed 0.5 Nov 19th download on Toshiba notebook computer with
> black box prototype AA (USB)
>
> -  Fresh install (overwriting not upgrading the previously fully
> working 0.4 installation
>
> -  Set location Guadalcanal, use local time
>   
(I did not change this in my tests; I doubt this has any effect but want
to note I left this at the default setting)

> -  No optional application selected
>
> -  Install.. restart
>
> -  /etc/sysconfig/olpc-scripts/domain_config oceania.org
>   
After running domain_config

Then edit the file /etc/sysconfig/network and set hostname to
schoolserver.oceania.org (nano /etc/sysconfig/network)

Then restart (shutdown -r now)


> -  chkconfig --level 345 ejabberd on
>
> -  service ejabberd start
>
>   
Wait a few minutes for ejabberd to completely startup. You can check
it's status by running: service ejabberd status

> -  ejabberdctl register admin schoolserver.oceania.org admin 
>
>   

With a fresh install of 0.5.1 dev 3 you don't need the following from
here -->
> -  restart
>
> -  yum --enablerepo=olpcxs-testing update
>
> -  restart
>
>   
to here <--

> -  One one of 4 XOs, log onto ejabberd web admin and set up shared
> roster "Online"
>
> -  restart
>
> -  start all four XOs and register, then restart
>
>  
>   
On the XOs are registering from a fresh OS install, 8.2? If the XOs have
been previously registered; you will need to clean out their
registration by removing the server fields in
/home/olpc/.sugar/default/config.

After removing these fields; restart the XOs
Then connect the XOs to the appropriate SSID or AA.
Then register the XO.
Then restart the XO.

I hope this helps. Please let us know.

> At this stage I cannot see any other XO, and still had to do the work around
> of removing all four users from the ejabberd webadmin and restarting
> everything before I could see them in the neighbourhood views.  (as advised
> by Martin):
>
>  
>
> (Martin wrote...) To avoid re-installing the XS to re-test the "just
> registered" scenario you can
>
>  - go with a webbrowser to the ejabberd admin panel, go into the
> 'schoolserver' vhost listed there and delete all the users registered
>
>  - restart ejabberd
>
>  - restart the laptops
>
>  
>
> This happens each time a laptop is restarted. 
>
>  
>
> However, once all going, it is fine: 
>
> - All four show up in the eJabberd control panel as users
>
> - All have the same correct results for olpc-netstatus 
>
> - I tried sharing Memorize - all four OK
>
> - Video chat is OK between any two
>
> - Server access and Internet browsing all OK (updated them each online)
>
>  
>
>  
>
> Log attached
>
>  
>
>  
>
>  
>
>  
>
> David Leeming
>
> Technical Advisor, People First Network, Honiara, Solomon Islands
>
> Alternative email address: leemingda...@yahoo.com.au 
>
>  
>
>  
>
> From: Reuben Caron [mailto:caron.reu...@gmail.com] On Behalf Of Reuben K.
> Caron
> Sent: Tuesday, 30 December 2008 12:15 p.m.
> To: David Leeming
> Cc: XS Devel; Martin Langhoff
> Subject: Re: [Server-devel] XS 0.5.1-dev03 with ejabberd goodness, kernel
> bling, Access Point workingness... looking for xmas testers
>
>  
>
> Hmm..
>
> Are you upgrading or doing this from fresh install? 
>
> If upgrade from what previous version?
>
> If from fresh install can you give more detail to the exact steps you are
> performing?
>
> (pardon me if you provided this information earlier; I quickly reviewed the
> archive and could not find anything)
>
> Reuben
>
>
> Martin Langhoff wrote: 
>
> On Mon, Dec 29, 2008 at 10:04 PM, David Leeming
>  <mailto:leem...@pipolfastaem.gov.sb>  wrote:
>   
>
> It works but you have to run through the procedure below each time you start
> the XOs up with the server.
> 
>
>  
> Hmmm, well, that's definitely not normal procedure!
>  
>   
>
> - I have to log onto ejabberd web admin with all XOs turned off and delete
> all users (time consuming for a class of 40) and then start them up.
> Then it will work fine and the neighbourhood screens populate, until you
> want to start again. Next time you start everything up, you will not see the
> other XOs, until the procedure is repeated.
> 
>
>  
> I suspect there's 

Re: [Server-devel] XS 0.5.1-dev03 with ejabberd goodness, kernel bling, Access Point workingness... looking for xmas testers

2008-12-29 Thread Reuben K. Caron

Hmm..

Are you upgrading or doing this from fresh install?

If upgrade from what previous version?

If from fresh install can you give more detail to the exact steps you 
are performing?


(pardon me if you provided this information earlier; I quickly reviewed 
the archive and could not find anything)


Reuben


Martin Langhoff wrote:

On Mon, Dec 29, 2008 at 10:04 PM, David Leeming
 wrote:
  

It works but you have to run through the procedure below each time you start
the XOs up with the server.



Hmmm, well, that's definitely not normal procedure!

  

- I have to log onto ejabberd web admin with all XOs turned off and delete
all users (time consuming for a class of 40) and then start them up.
Then it will work fine and the neighbourhood screens populate, until you
want to start again. Next time you start everything up, you will not see the
other XOs, until the procedure is repeated.



I suspect there's something else happening there... on the server
there should be a log for ejabberd, /var/log/ejabberd.log I think. Can
you post it to the list or to me? That should give us something to
chew on...

cheers,


m
  


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


Re: [Server-devel] Amateurish Workaround to Get Bonding to Work With eth1

2008-12-11 Thread Reuben K. Caron


Martin Langhoff wrote:
> On Thu, Dec 11, 2008 at 5:37 PM, Reuben K. Caron  wrote:
>   
>> I get :
>>
>> Error getting repository data for olpcxs-testing, repository not found
>> 
>
> That's kind of bizarre. Maybe the machine is not on the internet?
>
> What does the command below say? (it may take a couple of minutes...)
>
>yum repolist --enablerepo=*
>
>   
repolist: 0

> it should list a lot of repositories, including olpcxs, olpcxs-testing
> and -source variants for those 2.
>
> If not, there's a problem in /etc/yum.conf or /etc/yum.repos.d- is
> this a 0.5 install or an upgrade from 0.4?
>   
This is on an upgrade from 0.4

Also after installing xs-config-0.5.9.g13a7973-1.noarch.rpm, I get the
following when running /etc/sysconfig/olpc-scripts/domain_config:

Setting the base dns name to xs4.org
find: ./domain_config.d/: No such file or directory

RKC

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


Re: [Server-devel] Amateurish Workaround to Get Bonding to Work With eth1

2008-12-11 Thread Reuben K. Caron


Martin Langhoff wrote:
> On Thu, Dec 11, 2008 at 12:54 PM, Reuben K. Caron  wrote:
>   
>> Alright, so I am still seeing problems.
>>
>> yum --enablerepo=olpcxstesting install xs-config , did not work for me.
>> 
>
> Missing hyphen, my fault. Try
>
> yum --enablerepo=olpcxs-testing install xs-config
>
>   
I get :

Error getting repository data for olpcxs-testing, repository not found


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


Re: [Server-devel] XS 0.5 Second Attempt at eth1

2008-12-04 Thread Reuben K. Caron
Thanks for clarification. Still no go:

Dec  4 12:12:24 schoolserver1 kernel: eth0: link up, 100Mbps,
full-duplex, lpa 0xC1E1
Dec  4 12:12:24 schoolserver1 kernel: eth0: link up, 100Mbps,
full-duplex, lpa 0xC1E1
Dec  4 12:12:24 schoolserver1 kernel: Ethernet Channel Bonding Driver:
v3.3.0 (June 10, 2008)
Dec  4 12:12:24 schoolserver1 kernel: bonding: ARP monitoring set to
1000 ms, validate none, with 1 target(s): 172.18.0.1
Dec  4 12:12:24 schoolserver1 kernel: bonding: lanbond0 is being created...
Dec  4 12:12:24 schoolserver1 kernel: ADDRCONF(NETDEV_UP): lanbond0:
link is not ready
Dec  4 12:12:24 schoolserver1 kernel: ADDRCONF(NETDEV_UP): eth1: link is
not ready
Dec  4 12:12:24 schoolserver1 kernel: tg3: eth1: Link is up at 100 Mbps,
full duplex.
Dec  4 12:12:24 schoolserver1 kernel: tg3: eth1: Flow control is on for
TX and on for RX.
Dec  4 12:12:24 schoolserver1 kernel: ADDRCONF(NETDEV_CHANGE): eth1:
link becomes ready
Dec  4 12:12:24 schoolserver1 kernel: bonding: mshbond0 is being created...
Dec  4 12:12:24 schoolserver1 kernel: ADDRCONF(NETDEV_UP): mshbond0:
link is not ready
Dec  4 12:12:24 schoolserver1 kernel: bonding: mshbond1 is being created...
Dec  4 12:12:24 schoolserver1 kernel: ADDRCONF(NETDEV_UP): mshbond1:
link is not ready
Dec  4 12:12:24 schoolserver1 kernel: bonding: mshbond2 is being created...
Dec  4 12:12:24 schoolserver1 kernel: ADDRCONF(NETDEV_UP): mshbond2:
link is not ready

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


Re: [Server-devel] XS 0.5 Second Attempt at eth1

2008-12-04 Thread Reuben K. Caron
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:

[EMAIL PROTECTED] 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: 0x00ff (255)
Link detected: yes
[EMAIL PROTECTED] 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: 0x0001 (1)
Link detected: yes




Martin Langhoff wrote:
> 2008/12/3 Anna <[EMAIL PROTECTED]>:
>   
>> 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
>   
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] /etc/xs-sigchecks-enabled

2008-11-10 Thread Reuben K. Caron


Douglas Bagnall wrote:
> last week, Martin Langhoff wrote:
>
>   
>>> I'm not near a school server, so I haven't been able to test the
>>> xs-tools usbmount script.
>>>   
>> I'm happy to wait untilyou have a chance to test it before calling the
>> release done :-)
>> 
>
> It works.  I've tagged it as v0.4.
>
>   
>> BTW, Reuben is about to start playing with SOTP, he's been following
>> your posts, so he seems quite clued in into what he needs to do. If
>> there's any hidden trap or trick that hasn't been discussed on the
>> list, now's the time to post it!
>> 
>
> I have updated the README, and I *think* it should be sufficient, but
> authorial blindness is common in such matters.
>
>   
Douglas, my testing show it works too. At least the usbmount script and
processing the magic file on the USB key (and commenting out the
encryption stuff shows the generated password file works). I could use
some more documentation on generating the required keys. I've tried
generating ones on the server, generating my own and placing the public
one on the USB Key, and different variations.. If you could provide some
RTFM direction or more info in the Readme that would be great.

Regards,
Reuben

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


Re: [Server-devel] testing XS-RSYNC

2008-10-08 Thread Reuben K. Caron

Martin Langhoff wrote:

On Thu, Oct 9, 2008 at 10:44 AM, Reuben K. Caron <[EMAIL PROTECTED]> wrote:
  

Great, thanks. I was steered to the correct files and got it to work from
both the USB and command line. The files I used can be found at:



 Cool. Are you doing this on xs-0.5? If you update to the newest rpms
from the olpcxs-testing repo you'll get a nice chime indicating that
it started, and another nice chime meaning "I'm done".

  
I'm using xs-0.4. I'll look forward to that feature in .5 as the chime 
will be much nicer then monitoring the progress of 
tmp->xo-builds->pub/builds.

Out of curiosity why do we require the tree files which come from:
http://pilgrim.laptop.org/~pilgrim/xo-1/streams/8.2/build767/devel_jffs2/



I'm just following what Scott did for his own rsync updater server. I
didn't get into the details of why -- as a matter of expediency, I did
my bit of cargo-cult programming there :-)

In other words: monkey-see, martin-do
  

ah ha! gotcha, thanks.
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel