Differences between revisions 2 and 3
Revision 2 as of 2004-04-13 12:06:37
Size: 1281
Editor: c-24-20-128-145
Comment:
Revision 3 as of 2004-04-13 12:19:28
Size: 2081
Editor: c-24-20-128-145
Comment:
Deletions are marked like this. Additions are marked like this.
Line 47: Line 47:


=== /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
 * 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

}}}

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.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

  • 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

StefNodeSetup (last edited 2007-11-23 18:00:54 by localhost)