Host AP on XO-1.75 and XO-3

2011-10-05 Thread Sridhar Dhanapalan
Just wondering whether the XO-1.75 and XO-3 will be capable of hosting
a wireless network.

I'm asking because we are interested in using an XO as a lightweight XS server.

Thanks,
Sridhar


Sridhar Dhanapalan
Engineering Manager
One Laptop per Child Australia
M: +61 425 239 701
E: srid...@laptop.org.au
A: G.P.O. Box 731
     Sydney, NSW 2001
W: www.laptop.org.au
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Host AP on XO-1.75 and XO-3

2011-10-05 Thread Peter Robinson
On Wed, Oct 5, 2011 at 8:51 AM, Sridhar Dhanapalan
 wrote:
> Just wondering whether the XO-1.75 and XO-3 will be capable of hosting
> a wireless network.
>
> I'm asking because we are interested in using an XO as a lightweight XS 
> server.

The XO 1.75 uses the exact same wifi module as the 1.5 so the
functionality is the same, and so you'll be able to on the 1.75,
there's still discussion on the OS for the 3.0 but then I'm not sure
how usable a tablet would be as a server anyway.

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


Re: Host AP on XO-1.75 and XO-3

2011-10-05 Thread Kevin Gordon
On Wed, Oct 5, 2011 at 4:25 AM, Peter Robinson  wrote:

> On Wed, Oct 5, 2011 at 8:51 AM, Sridhar Dhanapalan
>  wrote:
> > Just wondering whether the XO-1.75 and XO-3 will be capable of hosting
> > a wireless network.
> >
> > I'm asking because we are interested in using an XO as a lightweight XS
> server.
>
> The XO 1.75 uses the exact same wifi module as the 1.5 so the
> functionality is the same, and so you'll be able to on the 1.75,
> there's still discussion on the OS for the 3.0 but then I'm not sure
> how usable a tablet would be as a server anyway.
>

If I could be so bold as to posit to the community:  I'm not sure whether
the request as stated, and answer as given, is actually the case, in an
out-of-the box, especially  if you have a mixed XO environment.  If by
acting as an AP, you mean appearing on the neighbourhood view as an AP, and
not a peer, and then providing a shared internet connection, in my
experience, that really isn't provided by a vanilla install of the XO
software, even on the 1.5.

Once all the XO buddies (XO 1 and 1.5) atttach to a 'real' AP, all machines
on that AP can see each other, and get out to the Internet through the AP's
running as a router.  In the other case, in a mixed XO1 and XO1.5
environment where everyone attaches to a single XO 1.5 on the ad-hoc
network, without some custom routing entries, I can't see it providing a
shared internet connection.  Not to say it cant be done, but I haven't found
it to work that way out of the box.

So, I guess it depends on what you mean by 'using an XO as a lightweight XS
server', and whether you will install your own O/S and a subset of the
existing XS code on the 1.75,  pretty much like you would have too to on
the1.5 to get it to act like a real AP and router and server.  Putting a
wireless router an AP in the middle with a default route to another XO  on a
separate subnet running some XS server code that in turn connects  out maybe
the USB ethernet port to the WAN might work.  Without some real  router
protocols active, hairpinning issues will also arise if you try to just hook
back to the same subnet.

So bottom line (unless I'm way out of the loop in ancient history - which
sometimes happens) , is that from what Peter is saying, if you already have
an acceptable infrastucture which is currently working on an XO 1.5, then
there is no reason for it not to work on a 1.75.  However it would be my
prediction that if you were hoping to have a vanilla XO 1.75 now run as a
WAP, that may still not be as simple as you want.

Cheers

KG






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


Re: Host AP on XO-1.75 and XO-3

2011-10-12 Thread Martin Langhoff
On Wed, Oct 5, 2011 at 3:51 AM, Sridhar Dhanapalan
 wrote:
> Just wondering whether the XO-1.75 and XO-3 will be capable of hosting
> a wireless network.
>
> I'm asking because we are interested in using an XO as a lightweight XS 
> server.

There is a very early implementation of hostap code (based on a
thinfirm) for the Libertas chip.

Your current options are

 - add a usb-ethernet + AP
 - add a usb-wlan that is known to run well in hostap mode

getting hostap to work (and to work well and reliably!) is a long road.



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
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Host AP on XO-1.75 and XO-3

2011-10-17 Thread Sridhar Dhanapalan
On 13 October 2011 02:03, Martin Langhoff  wrote:
> On Wed, Oct 5, 2011 at 3:51 AM, Sridhar Dhanapalan
>  wrote:
>> Just wondering whether the XO-1.75 and XO-3 will be capable of hosting
>> a wireless network.
>>
>> I'm asking because we are interested in using an XO as a lightweight XS 
>> server.
>
> There is a very early implementation of hostap code (based on a
> thinfirm) for the Libertas chip.
>
> Your current options are
>
>  - add a usb-ethernet + AP
>  - add a usb-wlan that is known to run well in hostap mode
>
> getting hostap to work (and to work well and reliably!) is a long road.

If I understand correctly, the XS-on-XO sets the internal WLAN to
ad-hoc mode and runs dhcpd on the interface to simulate an
infrastructure network. Given the capabilities of the WLAN card
present in both the XO-1.5 and XO-1.75, could such a setup reliably
manage collaboration for a class of 30 children?

This configuration would eliminate the need for us to connect external
wireless hardware.

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


Re: Host AP on XO-1.75 and XO-3

2011-10-18 Thread Martin Langhoff
On Oct 18, 2011 1:19 AM, "Sridhar Dhanapalan"  wrote:
> If I understand correctly, the XS-on-XO sets the internal WLAN to
> ad-hoc mode and runs dhcpd on the interface to simulate an

It uses it in mesh mode -- it is the same code/configuration on XS that
allows you to add a USB-based external active antenna and have it Just Work
(just not very well, nor for very long...).

So for it won't be visible from XO-1.5 . Ad-hoc is possible, but we don't
think it's worth the effort as it won't hold with 30 users.

It is a modest effort -- you can try it out yourself in a small school. Do
remember to disable the mesh mode -- which I believe will stay "on" even if
you're in adhoc. You have frob a value somewhere under /sys . The dextrose
folk have discussed how to do this exactly on our list a few times (I'm
offline, can't dig up a link unfortunately).

cheers,

m
{ Martin Langhoff - one laptop per child }
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [OLPC-AU] Host AP on XO-1.75 and XO-3

2011-10-09 Thread David Farning
On Wed, Oct 5, 2011 at 7:09 AM, Kevin Gordon  wrote:
>
>
> On Wed, Oct 5, 2011 at 4:25 AM, Peter Robinson  wrote:
>>
>> On Wed, Oct 5, 2011 at 8:51 AM, Sridhar Dhanapalan
>>  wrote:
>> > Just wondering whether the XO-1.75 and XO-3 will be capable of hosting
>> > a wireless network.
>> >
>> > I'm asking because we are interested in using an XO as a lightweight XS
>> > server.
>>
>> The XO 1.75 uses the exact same wifi module as the 1.5 so the
>> functionality is the same, and so you'll be able to on the 1.75,
>> there's still discussion on the OS for the 3.0 but then I'm not sure
>> how usable a tablet would be as a server anyway.
>
> If I could be so bold as to posit to the community:  I'm not sure whether
> the request as stated, and answer as given, is actually the case, in an
> out-of-the box, especially  if you have a mixed XO environment.  If by
> acting as an AP, you mean appearing on the neighbourhood view as an AP, and
> not a peer, and then providing a shared internet connection, in my
> experience, that really isn't provided by a vanilla install of the XO
> software, even on the 1.5.

Please see http://wiki.sugarlabs.org/go/Sugar_Server_Kit for more
information on the software that will be running on the
school/classroom server.

The Sugar Server Kit modularized the existing OLPC-XS and provides a
community level 'tool kit' for creating a school or classroom level
servers.


The Sugar Server Kit
"
Provide a split between the community level project (Sugar Server
Kit) and any number of downstream solutions based on the community
project. This should stimulate the downstream community to contribute
to this upstream community project, facilitating reuse of its
experience in all other downstreams;
Treat the community project as a collection of useful tools,
created and supported by community contributors, that might be
composed into a final deployment solution on purpose, i.e., Sugar
Server Kit is not an OS or a final solution, but rather a bunch of
tools that might be launched on any major GNU/Linux distribution at
the deployment level. And because some of these tools might be
implemented in several ways, it should make the acceptance process of
new features by upstream more flexible;
The whole system should be as reliable as possible. Thus, the
community project will provide a decent testing environment (several
levels of automatic and human driven tests at the top level), which
might be used not only for Sugar Server Kit itself, but for deployment
solutions as well.
"

david

> Once all the XO buddies (XO 1 and 1.5) atttach to a 'real' AP, all machines
> on that AP can see each other, and get out to the Internet through the AP's
> running as a router.  In the other case, in a mixed XO1 and XO1.5
> environment where everyone attaches to a single XO 1.5 on the ad-hoc
> network, without some custom routing entries, I can't see it providing a
> shared internet connection.  Not to say it cant be done, but I haven't found
> it to work that way out of the box.
>
> So, I guess it depends on what you mean by 'using an XO as a lightweight XS
> server', and whether you will install your own O/S and a subset of the
> existing XS code on the 1.75,  pretty much like you would have too to on
> the1.5 to get it to act like a real AP and router and server.  Putting a
> wireless router an AP in the middle with a default route to another XO  on a
> separate subnet running some XS server code that in turn connects  out maybe
> the USB ethernet port to the WAN might work.  Without some real  router
> protocols active, hairpinning issues will also arise if you try to just hook
> back to the same subnet.
>
> So bottom line (unless I'm way out of the loop in ancient history - which
> sometimes happens) , is that from what Peter is saying, if you already have
> an acceptable infrastucture which is currently working on an XO 1.5, then
> there is no reason for it not to work on a 1.75.  However it would be my
> prediction that if you were hoping to have a vanilla XO 1.75 now run as a
> WAP, that may still not be as simple as you want.
>
> Cheers
>
> KG
>
>
>
>
>
>>
>> Peter
>> ___
>> Devel mailing list
>> Devel@lists.laptop.org
>> http://lists.laptop.org/listinfo/devel
>
>
> ___
> OLPC-AU mailing list
> olpc...@lists.laptop.org
> http://lists.laptop.org/listinfo/olpc-au
>
>
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Server-devel] Host AP on XO-1.75 and XO-3

2011-11-17 Thread Jerry Vonau
Hi all:

On Wed, 2011-10-05 at 08:09 -0400, Kevin Gordon wrote:
> 
> 
> On Wed, Oct 5, 2011 at 4:25 AM, Peter Robinson 
> wrote:
> On Wed, Oct 5, 2011 at 8:51 AM, Sridhar Dhanapalan
>  wrote:
> > Just wondering whether the XO-1.75 and XO-3 will be capable
> of hosting
> > a wireless network.
> >
> > I'm asking because we are interested in using an XO as a
> lightweight XS server.
> 
> 
> The XO 1.75 uses the exact same wifi module as the 1.5 so the
> functionality is the same, and so you'll be able to on the
> 1.75,
> there's still discussion on the OS for the 3.0 but then I'm
> not sure
> how usable a tablet would be as a server anyway.
> 
> If I could be so bold as to posit to the community:  I'm not sure
> whether the request as stated, and answer as given, is actually the
> case, in an out-of-the box, especially  if you have a mixed XO
> environment.  If by acting as an AP, you mean appearing on the
> neighbourhood view as an AP, and not a peer, and then providing a
> shared internet connection, in my experience, that really isn't
> provided by a vanilla install of the XO software, even on the 1.5.
> 

True, think some of the kernel modules are missing for iptables
support. 

> Once all the XO buddies (XO 1 and 1.5) atttach to a 'real' AP, all
> machines on that AP can see each other, and get out to the Internet
> through the AP's running as a router.  In the other case, in a mixed
> XO1 and XO1.5 environment where everyone attaches to a single XO 1.5
> on the ad-hoc network, without some custom routing entries, I can't
> see it providing a shared internet connection.  Not to say it cant be
> done, but I haven't found it to work that way out of the box.
> 

Sugar forces the use of link-local addresses for ad-hoc networks,
doesn't even try to use dhcp once connected to the XO based AP, but
while in gnome the network behaves normally. This is a real PITA if you
want to use a ad-hoc network with a dhcp server to handle the ip address
assignment, and thus the routing to the gateway. This should be better
with NM-9 and sugar 95.2 but I haven't tried yet. 

> So, I guess it depends on what you mean by 'using an XO as a
> lightweight XS server', and whether you will install your own O/S and
> a subset of the existing XS code on the 1.75,  pretty much like you
> would have too to on the1.5 to get it to act like a real AP and router
> and server.  Putting a wireless router an AP in the middle with a
> default route to another XO  on a separate subnet running some XS
> server code that in turn connects  out maybe the USB ethernet port to
> the WAN might work.  Without some real  router protocols active,
> hairpinning issues will also arise if you try to just hook back to the
> same subnet.
> 

That is just some routing and dns... :/

> So bottom line (unless I'm way out of the loop in ancient history -
> which sometimes happens) , is that from what Peter is saying, if you
> already have an acceptable infrastucture which is currently working on
> an XO 1.5, then there is no reason for it not to work on a 1.75.
> However it would be my prediction that if you were hoping to have a
> vanilla XO 1.75 now run as a WAP, that may still not be as simple as
> you want.  
> 

Not yet, but I have some work in progress.

Jerry


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