<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Feb 6, 2014 at 9:26 PM, German Ruiz - FundacionZT <span dir="ltr"><<a href="mailto:gruiz@fundacionzt.org" target="_blank">gruiz@fundacionzt.org</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Hi<br><br>I'm trying XSCE 5.0 on a pc box today<br>

<br><...><br><br>I have a few questions about the configuration, we configure our XS in Nicaragua like this:<br>

<br>- Set hostname.<br>On XS 0.7 was<br># xs-setup <a href="http://schoolserver.escuela.managua.fzt.org" target="_blank">schoolserver.escuela.managua.fzt.org</a><br># reboot<br>On XSCE?<br></div></blockquote><div><br></div>

<div>Two ways come to my mind:</div><div><br></div><div>  * run ./runansible <hostname></div><div>  * edit  xsce.yml and change values for "xsce_hostname" and "xsce_domain", and run ./runansible</div>

<div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><br>- Set static IP for WAN.<br>

On XS 0.7 was:<br>

edit this template /etc/sysconfig/network-scripts/ifcfg-eth1.<br>On XSCE?<br><br></div></blockquote><div> </div><div>Edit the same file , where "eth1" is the WAN iface</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div dir="ltr">- Configure DHCP to disable internet access to non xo laptops.<br>i founf this [0], which is similar to our configuration.<br></div></blockquote><div><br></div><div>That will work, as we use the same dhcpd version.</div>

<div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><br>- Set DNS forwarders - to openDNS<br>



edit this config file /etc/<a href="http://named-xs.conf.in" target="_blank">named-xs.conf.in</a> and set the dns forwarders {208.67.222.222; 208.67.220.220;};<div>i found this[1], but when i want to run the command xs-domain-config, this is missing.<br>

</div></div></blockquote><div><br></div><div>You need to add the following snippet: </div><div><br></div><div><div>    forward first;</div><div>    forwarders {</div><div>     208.67.222.222;</div><div>     208.67.220.220;</div>

<div>                 };</div></div><div><br></div><div>Under "  listen-on { any; }; " arround line 17,  in the /etc/named-xs.conf.</div><div><br></div><div>If you want to avoid losing your changes by running runansible again,  you can also update the template used by ansible and placed in roles/network/templates/named/named-xs.conf.j2 and then run the following command to apply the change:</div>

<div><br></div><div>ansible-playbook -i ansible_hosts --connection=local xsce.yml --tags=named</div><div><br></div><div><br></div><div>I will open a bug in the xsce tracker, as this configuration option hasn't been accounted for, and also have in mind that xsce provides dansguardian as content filter tool.</div>

<div><br></div><div>Btw, I'm working towards a replacement for both, dhcpd and bind, using dnsmasq, in order to minimize total memory/cpu footprint, as pointed by <span style="background-color:rgb(255,255,204);font-family:arial,sans-serif;font-size:13px">jnettleton in our irc channel.</span></div>

<div><span style="background-color:rgb(255,255,204);font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="background-color:rgb(255,255,204);font-family:arial,sans-serif;font-size:13px">/santi</span></div>

<div><span style="background-color:rgb(255,255,204);font-family:arial,sans-serif;font-size:13px"><br></span></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div dir="ltr"><div>

<br>Thank you for all your help.<br><br>Regards<br><br>[0] <a href="http://wiki.laptop.org/go/XS_Community_Edition/5.0/Configuring#Dynamic_Host_Configuration_Protocol_.28dhcpd.29" target="_blank">http://wiki.laptop.org/go/XS_Community_Edition/5.0/Configuring#Dynamic_Host_Configuration_Protocol_.28dhcpd.29</a><br>



[1] <a href="http://wiki.laptop.org/go/XS_Community_Edition/5.0/Configuring#Content_Filtering_with_OpenDNS" target="_blank">http://wiki.laptop.org/go/XS_Community_Edition/5.0/Configuring#Content_Filtering_with_OpenDNS</a><br>

--<br>   German</div>

</div>
<br>_______________________________________________<br>
Server-devel mailing list<br>
<a href="mailto:Server-devel@lists.laptop.org">Server-devel@lists.laptop.org</a><br>
<a href="http://lists.laptop.org/listinfo/server-devel" target="_blank">http://lists.laptop.org/listinfo/server-devel</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Santiago Collazo </div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">

Sysadmin</div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">

Activity Central: <a href="http://activitycentral.com/" style="color:rgb(17,85,204)" target="_blank">http://activitycentral.com</a></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">

<br></div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Facebook: <a href="https://activitycentral.com/facebook" style="color:rgb(17,85,204)" target="_blank">https://activitycentral.com/facebook</a></div>

<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Google+: <a href="https://activitycentral.com/googleplus" style="color:rgb(17,85,204)" target="_blank">https://activitycentral.com/googleplus</a></div>

<div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Twitter: <a href="https://activitycentral.com/twitter" style="color:rgb(17,85,204)" target="_blank">https://activitycentral.com/twitter</a></div>


</div></div>