[Server-devel] Setting up XS-0.5 for testing

2008-11-18 Thread Dan Poltawski
(Apologies as I haven't done extensive archive/wiki searching and 
i'm also a bit tired - Please point to RTFM)
 
I'm looking at setting up a simple test rig for playing with the school 
server, and I have the following hardware for use:

* An XO
* A generic laptop with a wired  a wireless interface and XS-0.5 
installed
* A generic wireless AP
* (A NATTed dhcp'd network with external connectivity)

Can I setup a test rig with that hardware - how would you go about it?

With a basic XS install, the server seemed to connect to the external
network fine, and also created a school-mesh-0 wireless network 
which was visible from my mac - but not seemingly from the XO.

So the next thing I tried was connecting the WAP to the XS ethernet
interface. However, on investigation I noticed that dhcpd was not 
running (and was asking for network_config and domain_config to be run).
So I ensured network_config and domain_config were sorted and rebooted.

After a reboot dhpcd started up - however, seemingly not giving out
leases on the wired interface. I read that using xs-swapnics could
sort this out for me - but I don't think it will work because I only
have eth0.

I can't see in the config where the interface to bind dhcpd and 
associated services to is specified - can anyone give me any 
pointers?

cheers

--
Dan Poltawski


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


Re: [Server-devel] Setting up XS-0.5 for testing

2008-11-18 Thread Martin Langhoff
2008/11/18 Dan Poltawski [EMAIL PROTECTED]:
 I'm looking at setting up a simple test rig for playing with the school
 server, and I have the following hardware for use:

 * An XO
 * A generic laptop with a wired  a wireless interface and XS-0.5
 installed
 * A generic wireless AP
 * (A NATTed dhcp'd network with external connectivity)

 Can I setup a test rig with that hardware - how would you go about it?

You are on the right track - the current XS configuration doesn't know
what to do with the wireless interface the machine has, so it'll
probably ignore it.

And tyou can use xs-swapnics even on a single-nic machine, to set the
only nic to be eth1. Some of it is documented in the README
(README.networking perhaps) for the xs-config package.

 With a basic XS install, the server seemed to connect to the external
 network fine, and also created a school-mesh-0 wireless network
 which was visible from my mac - but not seemingly from the XO.

school-mesh-0 probably came from the XO though, when it attempts to
setup a mesh connection ot'll send frames that your machine may have
interpreted erroneously as an AP.

 So the next thing I tried was connecting the WAP to the XS ethernet
 interface. However, on investigation I noticed that dhcpd was not
 running (and was asking for network_config and domain_config to be run).
 So I ensured network_config and domain_config were sorted and rebooted.

Good step, combine with xs-swapnics and you'll be on the right track I think

...

hope that helps!



m
-- 
 [EMAIL PROTECTED]
 [EMAIL PROTECTED] -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Server-devel mailing list
Server-devel@lists.laptop.org
http://lists.laptop.org/listinfo/server-devel


Re: [Server-devel] Setting up XS-0.5 for testing

2008-11-18 Thread Jerry Vonau
Martin Langhoff wrote:
 2008/11/18 Dan Poltawski [EMAIL PROTECTED]:
 I'm looking at setting up a simple test rig for playing with the school
 server, and I have the following hardware for use:

 * An XO
 * A generic laptop with a wired  a wireless interface and XS-0.5
 installed
 * A generic wireless AP
 * (A NATTed dhcp'd network with external connectivity)

 Can I setup a test rig with that hardware - how would you go about it?
 
 You are on the right track - the current XS configuration doesn't know
 what to do with the wireless interface the machine has, so it'll
 probably ignore it.
 
 And tyou can use xs-swapnics even on a single-nic machine, to set the
 only nic to be eth1. Some of it is documented in the README
 (README.networking perhaps) for the xs-config package.
 
 With a basic XS install, the server seemed to connect to the external
 network fine, and also created a school-mesh-0 wireless network
 which was visible from my mac - but not seemingly from the XO.
 
 school-mesh-0 probably came from the XO though, when it attempts to
 setup a mesh connection ot'll send frames that your machine may have
 interpreted erroneously as an AP.
 
 So the next thing I tried was connecting the WAP to the XS ethernet
 interface. However, on investigation I noticed that dhcpd was not
 running (and was asking for network_config and domain_config to be run).
 So I ensured network_config and domain_config were sorted and rebooted.
 
 Good step, combine with xs-swapnics and you'll be on the right track I think
 

That is what I saw earlier on firstboot, named assumes a default name 
and starts up without /etc/sysconfig/xs_domain_name, while dhcpd doesn't 
start because /etc/sysconfig/xs_domain_name is not set. Shouldn't dhcpd 
be setup with the same default server domain and role for firstboot?


Jerry












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