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


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

2012-05-22 Thread Xavier Carcelle
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

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


Re: [Server-devel] Database error troubleshooting

2012-05-22 Thread David Leeming
Regarding below, on the Moodle forum I was advised to try deleting the
Moodle config.php file (after backing up) and it would then bring up the
install page to regenerate it. However, when I test this on my local XS
(0.6) it says install.php not found. 

Looking for tips how to regenerate the database connection. 

David 

Subject: Re: [Server-devel] Database error troubleshooting

Would appreciate any more tips on why the Moodle database connection is in
error.

My resource person in PNG has repeated tests on the XS and confirms 

service postgresql status

and 

service httpd status

both report postmaster/httpd services are running OK, but the Moodle home
pages states database error.

I can research this error for default Moodle installations but don't know if
there are any specifics related to the XS Moodle configuration. 


David Leeming

-Original Message-
From: server-devel-boun...@lists.laptop.org
[mailto:server-devel-boun...@lists.laptop.org] On Behalf Of David Leeming
Sent: Friday, 11 May 2012 10:38 a.m.
To: 'James Cameron'
Cc: 'XS Devel'
Subject: Re: [Server-devel] Database error troubleshooting

More on this from my remote XO Champion in PNG 

Reminder: 
The error is : "Error: Database connection failed" as viewed in a connected
XO when they try to access the Moodle home page (local schoolserver link in
Browse)

Rebooting does not help. We already established disk space is OK. It's a
default 0.6 installation.

service postgresql status  - gives "postmaster is stopped"

service httpd restart - stops and starts up OK 

it pings the FQDN and the shortcut schoolserver OK on the XS and an XO using
Terminal.

Any help with this appreciated. It is difficult to have to reinstall it, as
no-one there has the skills.

David Leeming
Solomon Islands Rural Link 
www.rurallink.com.sb

-Original Message-
From: qu...@us.netrek.org [mailto:qu...@us.netrek.org] On Behalf Of James
Cameron
Sent: Wednesday, 9 May 2012 6:13 p.m.
To: David Leeming
Cc: 'Jerry Vonau'; 'XS Devel'
Subject: Re: [Server-devel] Database error troubleshooting

Have you tried rebooting the server?

The reason that I ask, is that I imagine if the Unix domain socket was
missing due to an accident, rebooting would start the database server
component again and create the Unix domain socket.

But I'm really not sure what other conditions might lead to the same
symptom.

-- 
James Cameron
http://quozl.linux.org.au/



___
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