2007 Server Notes
From MelbLCAWiki
Contents |
AP Setup
Standard WRT Image plus the following compiled packages
- dhcparpd
- flex (dhcparpd dependancy)
- libnet (dhcparpd dependancy)
- anna
- ruby (anna dependancy)
- xmpp4r (anna dependancy)
- lca-ap
lca-ap
This package enables the AP to self configure itself and is comprised of
- /etc/udhcpc.user
- /etc/init.d/S85lca-ap
AP Setup Server
This servers sole purpose was to provide DHCP for Unconfigured APs on a private VLAN. It also containted the config files the APs would download to configure themselves
- eth0 - 169.222.13.5/24 (Internet Link)
- eth1 - 192.168.2.254/24 (Virgin APs)
dhcpd.conf
This gave the APs a virgin config to start with and told them which IP to connect to to get their configuration script
option domain-name "lca2007.linux.org.au";
option domain-name-servers 169.222.13.4;
default-lease-time 600;
max-lease-time 7200;
authoritative;
# AP Config
shared-network apconfig {
subnet 192.168.2.0 netmask 255.255.255.0 {
option subnet-mask 255.255.255.0;
pool {
range 192.168.2.10 192.168.2.240;
filename "192.168.2.254";
}
}
}
Apache
In /var/www the files that will be grabbed by virgin APs
- dhcparpd.conf
- dhcparpd.sh
- setup_ap.sh
- tcpdump - for debugging maybe include thes in the image
- strace - for debugging maybe include these in the image
- passwd - /etc/passwd
- shadow - /etc/shadow
DHCP Server
This server acted as the DHCP server for attendees as well as configred APS
- eth0 - Server Network
- eth1 - AP Mgmt Network
DHCP Server Relay
This acted as a DHCP Relay and was the only server that sat on the wireless LAN and therefore not behind the main firewall
- eth0 169.222.13.7/24 - Servwer subnet
- eth1 169.222.8.254/22 - Wireless subnet
/etc/default/dhcp3-relay
# Defaults for dhcp3-relay initscript # sourced by /etc/init.d/dhcp3-relay # installed at /etc/default/dhcp3-relay by the maintainer scripts
# What servers should the DHCP relay forward requests to? SERVERS="169.222.13.4" # On what interfaces should the DHCP relay (dhrelay) serve DHCP requests? INTERFACES="eth1" # Additional options that are passed to the DHCP relay daemon? OPTIONS=""
DNS Server
The conference DNS cache
Nothing special here just
allow-recursion { 169.222.8.0/21; };
Captive Portal
This captured users and forced them to register
It ran a local copy of zookeepr ie apache and postgresql, the following cron job ran every ten minutes to grab user details and passwords from the main LCA website
Check the xen image for the OMAPI code used to make everything work
The portal is modified so that it redirects to /portal/new at signin
Stats from conference DB
- 688 MAC addresses registerd in portal
- 544 Delegates registered devices
| Number MACs ! Total | |
|---|---|
| 1 | 572 |
| 2 | 88 |
| 3 | 26 |
| 4 | 2 |
Video Bucket
Used by AV team to upload videos and then ran rsync cronjob They were created accounts
Ran the following script to sync to mirror.LA
Other Servers
- netflow - setup at the last minute to grab some stats
- nagios - setup but never used
- assets - running some asset managment software ask Matt Moor
- jabberd - For ANNA but never used

