This page gives some hints on node setup:

/etc/network/interfaces

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

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"

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