Re: [Server-devel] DNS/DHCP configuration questions/issues
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. Cheers, -- 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
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
On Thu, May 24, 2012 at 5:21 PM, Reuben K. Caron reu...@laptop.org 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. Hopefully it's only matter of one file and 5 or 6 lines with dnsmasq. 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
On May 24, 2012, at 11:40 AM, Kévin Raymond wrote: On Thu, May 24, 2012 at 5:21 PM, Reuben K. Caron reu...@laptop.org 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
Dear Ruben, folks, 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. the dhcpd configs works for IP assignment wlan0 (802.11 wifi dongle on the server) is on the 172.18.96.0/19 subnet xos gets an ip but nothing in the /etc/resolv.conf on the xo side neither domain that allows to register (xmlrpc client to http://localhost:8080) nor to moodle (http://localhost) but using directly the IP of the schoolserver works. It's only a DNS issue now between dhcpd/named and the xos. My best regards, Xavier Carcelle. 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-address 172.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; } /FILE 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
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 : FILE # # 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; } /FILE Our best regards, Xavier Carcelle. ___ Server-devel mailing list Server-devel@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
Re: [Server-devel] DNS/DHCP configuration questions/issues
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 : FILE # # 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; } /FILE 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