|
← Revision 3 as of 2004-04-13 12:19:28
Size: 2081
Comment:
|
← Revision 4 as of 2004-04-13 12:55:40 →
Size: 2517
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 35: | Line 35: |
| subnet 10.31.0 netmask 255.255.255.0 { | subnet 10.11.31.0 netmask 255.255.255.0 { |
| Line 37: | Line 37: |
| option domain-name servers 204.127.199.8, 63.240.76.198; | option domain-name-servers 204.127.199.8, 63.240.76.198; |
| Line 51: | Line 51: |
| * Download existing splash page from repository on NodeSplashPages into DocumentRoot | * Download existing splash page from repository on NodeSplashPages into DocumentRoot: '''cd /usr/local/nocat/htdocs; wget http://www.personaltelco.net/splash/pgepark_splash/pgepark_node.tar; tar xvf pgepark_node.tar''' |
| Line 73: | Line 73: |
|
=== /etc/default/dhcp === Add the following: {{{ INTERFACES="eth1" }}} === /etc/default/nocatauth-gateway === Do the following edits: {{{ CONFIGFILE="/etc/nocatauth/gateway/nocat.conf" ENABLE=true }}} === /etc/rc2.d/S20dhcp === Do the following edit: {{{ INTERFACES="eth1" }}} |
This page gives some hints on node setup:
/etc/network/interfaces
- eth0 will receive its IP address from the DSL/cable modem. It should thus be configured as a DHCP client.
eth1 will assign its IP address to the AP following NetworkAddressAllocations. Its address is static.
The file reads as follows (in case of PGE node):
# The first network card - this entry was created during the Debian installation autho eth0 iface eth0 inet dhcp # PTP added this: auto eth1 iface eth1 inet static address 10.11.31.1 netmask 255.255.255.0
/etc/dhcpd.conf
Depending on the ISP, domain-name-servers needs to be set appropriately.
For PGE node the following setup is specified to run DHCP server on eth1:
option domain-name "personaltelco.net";
option domain-name-servers 204.127.199.8;
option subnet-mask 255.255.255.0;
default-lease-time 600;
max-lease-time 8600;
subnet 10.11.31.0 netmask 255.255.255.0 {
range 10.11.31.2 10.11.31.253;
option domain-name-servers 204.127.199.8, 63.240.76.198;
option domain-name "personaltelco.net";
option routers 10.11.31.1;
option subnet-mask 255.255.255.0;
option broadcast-address 10.11.31.255;
default-lease-time 600;
max-lease-time 8600;
}
/etc/nocatauth/gateway/nocat.conf
Create DocumentRoot directory with mkdir -p /usr/local/nocat/htdocs
Download existing splash page from repository on NodeSplashPages into DocumentRoot: cd /usr/local/nocat/htdocs; wget http://www.personaltelco.net/splash/pgepark_splash/pgepark_node.tar; tar xvf pgepark_node.tar
- If you are creating a new node, make appropriate edits for your node
The following settings are for PGE node:
GatewayName Personal Telco - Node #512 GatewayMode Open GatewayLog /var/log/nocat.log LoginTimeout 259200 HomePage http://www.personaltelco.net DocumentRoot /usr/local/nocat/htdocs SplashForm ptpsplash.html TrustedGroups Any AuthServiceURL https://$AuthServiceAddr/cgi-bin/login LogoutURL https://$AuthServiceAddr/logout.html ExternalDevice eth0 InternalDevice eth1 LocalNetwork 10.11.31.0/24 ExcludePorts 25
/etc/default/dhcp
Add the following:
INTERFACES="eth1"
/etc/default/nocatauth-gateway
Do the following edits:
CONFIGFILE="/etc/nocatauth/gateway/nocat.conf" ENABLE=true
/etc/rc2.d/S20dhcp
Do the following edit:
INTERFACES="eth1"

