Re: [Server-devel] One server NIC - using Sugar on Linux, not OLPCs

2011-01-06 Thread Sridhar Dhanapalan
Feel free to post questions if you need any help.

Cheers,
Sridhar


On 7 January 2011 02:34, Rob Echlin  wrote:

> Thanks, Sridhar,
> I will look into that.
>
> Rob
>
>
> --- On *Tue, 1/4/11, Sridhar Dhanapalan * wrote:
>
>
> From: Sridhar Dhanapalan 
> Subject: Re: [Server-devel] One server NIC - using Sugar on Linux, not
> OLPCs
> To: r...@echlin.ca
> Cc: server-devel@lists.laptop.org
> Received: Tuesday, January 4, 2011, 5:40 PM
>
>
> On 1 January 2011 08:44, Rob Echlin 
> http://mc/compose?to=...@echlin.ca>>
> wrote:
> >
> > Hi,
> > I have installed XS Server on the only machine I have available for
> testing it at home - an IBM laptop A21M.
>
> We have been developing a variant of the XS for single NIC scenarios:
> https://dev.laptop.org.au/projects/xs-au/wiki
>
> It is being used widely across Australia. It's much easier to
> implement than a normal XS. I recommend that you give it a go.
>
> Cheers,
> Sridhar
>
>
>
> Sridhar Dhanapalan
> Technical Manager
> One Laptop per Child Australia
> M: +61 425 239 701
> E: srid...@laptop.org.au <http://mc/compose?to=srid...@laptop.org.au>
> A: G.P.O. Box 731
>  Sydney, NSW 2001
> W: www.laptop.org.au
>
>
>
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] One server NIC - using Sugar on Linux, not OLPCs

2011-01-04 Thread Sridhar Dhanapalan
On 1 January 2011 08:44, Rob Echlin  wrote:
>
> Hi,
> I have installed XS Server on the only machine I have available for testing 
> it at home - an IBM laptop A21M.

We have been developing a variant of the XS for single NIC scenarios:
https://dev.laptop.org.au/projects/xs-au/wiki

It is being used widely across Australia. It's much easier to
implement than a normal XS. I recommend that you give it a go.

Cheers,
Sridhar



Sridhar Dhanapalan
Technical 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
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] One server NIC - using Sugar on Linux, not OLPCs

2011-01-01 Thread Sameer Verma
On Sat, Jan 1, 2011 at 1:46 PM, Rob Echlin  wrote:

> --- On *Sat, 1/1/11, Sameer Verma * wrote:
>
>
> For testing purposes, you can use a crossover Ethernet cable between
> the IBM laptop and the XS, thereby removing any ambiguities with the
> AP for now.
>
> Hi Sameer,
> I'm afraid I have confused you. XS is running on the laptop.
>
> Ubuntu is running on a desktop with the ubuntu-sugar-remix so I can choose
> "sugar" instead of "Gnome" as my interface.
>
> Rob
>

Hi Rob,
In that case, connect the IBM laptop running XS with the Ubuntu Sugar Remix
machine using a crossover cable. See if that works.

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


Re: [Server-devel] One server NIC - using Sugar on Linux, not OLPCs

2011-01-01 Thread Rob Echlin
--- On Sat, 1/1/11, Sameer Verma  wrote:

For testing purposes, you can use a crossover Ethernet cable between
the IBM laptop and the XS, thereby removing any ambiguities with the
AP for now.
Hi Sameer,
I'm afraid I have confused you. XS is running on the laptop.

Ubuntu is running on a desktop with the ubuntu-sugar-remix so I can choose 
"sugar" instead of "Gnome" as my interface.

Rob

cheers,
Sameer



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


Re: [Server-devel] One server NIC - using Sugar on Linux, not OLPCs

2011-01-01 Thread Sameer Verma
On Fri, Dec 31, 2010 at 3:53 PM, Martin Langhoff
 wrote:
> On Fri, Dec 31, 2010 at 4:44 PM, Rob Echlin  wrote:
>> I tried xs-swapnics, but that did not put the LAN stuff on eth0.
>
> What it does is -- it changes config so the NIC you have is now eth1.
> That eth1 does not directly have an IP, but is "bonded" into
> 'lanbond0' which does.
>
> As Tom mentions, the XS wants to "run" the network, so hook that NIC
> to an AP that doesn't do NAT and does not give DHCP leases. Must
> behave as a real dumb AP :-) not as a smartypants router+AP.
>
> 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
>
>
>

For testing purposes, you can use a crossover Ethernet cable between
the IBM laptop and the XS, thereby removing any ambiguities with the
AP for now.

cheers,
Sameer
-- 
Dr. Sameer Verma, Ph.D.
Associate Professor, Information Systems
Director, Campus Business Solutions
San Francisco State University
http://verma.sfsu.edu/
http://opensource.sfsu.edu/
http://cbs.sfsu.edu/
http://is.sfsu.edu/
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] One server NIC - using Sugar on Linux, not OLPCs

2010-12-31 Thread Martin Langhoff
On Fri, Dec 31, 2010 at 4:44 PM, Rob Echlin  wrote:
> I tried xs-swapnics, but that did not put the LAN stuff on eth0.

What it does is -- it changes config so the NIC you have is now eth1.
That eth1 does not directly have an IP, but is "bonded" into
'lanbond0' which does.

As Tom mentions, the XS wants to "run" the network, so hook that NIC
to an AP that doesn't do NAT and does not give DHCP leases. Must
behave as a real dumb AP :-) not as a smartypants router+AP.

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] One server NIC - using Sugar on Linux, not OLPCs

2010-12-31 Thread Tom Parker
On Fri, 2010-12-31 at 13:44 -0800, Rob Echlin wrote:
> I tried xs-swapnics, but that did not put the LAN stuff on eth0. It
> eliminated eth0, and gave me a phantom eth1 with no ethernet address.
> Actually, it may have put the eth1 on the NIC, but since it no longer
> had an IP address, it was hard to tell.

Strange. What is the content
of /etc/udev/rules.d/*persistent-net.rules ? xs-swapnics simply renames
your first ethernet device "eth1", and if you have one, your second
ethernet device "eth0". So it makes sense that you will have an eth1.
The XS has a very funky network configuration, so having no ip address
on the eth1 itself might actually be normal.

> Also, since my IP address on the Sugar box is 192.168, I am not sure
> that I can ping a 178.18.10.X address through my Belkin home router.
> Should that work?

It probably won't work if your sugar box has a 192.168 ip address.

> I could turn off DHCP on the router and give my other machines fixed
> addresses, so having the XS DHCP on my network would not be a problem.
> I would prefer to turn it off, though.

You'll either have to give the rest of your network fixed IPs and let
the XS manage the sugar box via DHCP, or turn off the XS's DHCP and give
the sugar box a fixed address and network setup so it can talk to the XS
box. I don't recall which address range the XS expects the XO's to
appear on, but there is a network diagram on the olpc wiki somewhere
which ought to tell you.

When I run an XS on a laptop, I put the XO lan on the wired ethernet
port and plug it into a separate wireless router with DHCP turned off.
This gives you a completely isolated network which doesn't interfere
with your home network. I then connect the laptop to my home WLAN via
it's built in wifi (instructions are on the wiki). This way the XO's get
internet via the XS, but it does require two wireless routers (my normal
home one and another one for the XO WLAN).

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


[Server-devel] One server NIC - using Sugar on Linux, not OLPCs

2010-12-31 Thread Rob Echlin
Hi,
I have installed XS Server on the only machine I have available for testing it 
at home - an IBM laptop A21M.

I have the server running, but when I try to register from Sugar on a Linux PC 
(Ubuntu Sugar Remix), it says it can't connect to the server. Of course the one 
NIC is on the WAN side, so that makes some sense. 

I tried xs-swapnics, but that did not put the LAN stuff on eth0. It eliminated 
eth0, and gave me a phantom eth1 with no ethernet address. Actually, it may 
have put the eth1 on the NIC, but since it no longer had an IP address, it was 
hard to tell.

Also, since my IP address on the Sugar box is 192.168, I am not sure that I can 
ping a 178.18.10.X address through my Belkin home router. Should that work?

I could turn off DHCP on the router and give my other machines fixed addresses, 
so having the XS DHCP on my network would not be a problem. I would prefer to 
turn it off, though.

Suggestions?

Thanks,
Rob



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