Size: 1532
Comment: more updates for PCS install
|
Size: 3188
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
To configure a BeWitched system you will need the following information: * Host Name - * Internet Address - * Name Server - * Gateway - * Wireless Network Address - * Gateway name for nocat - * SNMP secret key - * SNMP syslocation - |
|
Line 2: | Line 20: |
version 0.2 |
|
Line 8: | Line 28: |
edit /etc/ssmtp/ssmtp.conf set hostname to <localhost>.personaltelco.net rewriteDomain should be <localhost>.personaltelco.net |
|
Line 11: | Line 36: |
depmod -a |
|
Line 19: | Line 42: |
cd /var/tmp tar xzf /etc/var.tgz |
#cd /var/tmp #tar xzf /etc/var.tgz |
Line 22: | Line 45: |
if resolv.conf needs to be updated cd /var/tmp tar xzf /etc/var.tgz edit var/tmp/var/local/etc/resolv.conf set up as appropriate for network config tar czf /etc/var/tgz |
edit /var/local/etc/resolv.conf set up as appropriate for network config cp /var/local/etc/resolv.conf /etc/resolv.conf.default |
Line 30: | Line 50: |
configure network as appropriate |
configure network as appropriate example for internet iface eth0 inet static address 10.11.0.1 netmask 255.255.255.0 network 10.11.0.0 broadcast 10.11.0.255 gateway 10.11.0.1 example for wireless iface wlan0 inet static address 10.11.0.1 netmask 255.255.255.0 network 10.11.0.0 broadcast 10.11.0.255 pre-up iwconfig wlan0 mode master pre-up iwconfig wlan0 channel 1 pre-up iwconfig wlan0 essid www.personaltelco.net |
Line 32: | Line 67: |
edit /usr/local/nocat/nocat.conf |
if using a mini-PCI radio add "auto wlan0" before the iface line and the line "pre-up iwconfig wlan0 txpower 165mW" before the other pre-up lines. if using the mini-PCI radio add "hostap_pci" to /etc/modules edit /usr/nocat/nocat.conf |
Line 34: | Line 75: |
set "Gateway Name" edit /etc/snmp/snmpd.conf comment out "com2sec paranoid" uncomment "com2sec readonly" and change "public" to <secret key> set syslocation to local value set syscontact to "Special Ops Team <ops@personaltelco.net>" change "proc mountd" to "proc sshd" change "proc ntalkd 4" to "proc gateway" |
|
Line 36: | Line 86: |
get or localize status page for nocat | |
Line 42: | Line 93: |
edit /etc/ssmtp/ssmtp.conf rewriteDomain should be <localhost>.personaltelco.net |
make sure IP addresses are correct |
To configure a BeWitched system you will need the following information:
* Host Name -
* Internet Address -
* Name Server -
* Gateway -
* Wireless Network Address -
* Gateway name for nocat -
* SNMP secret key -
* SNMP syslocation -
version 0.2 # configure a node remountrw set file /etc/hostname edit /etc/ssmtp/ssmtp.conf set hostname to <localhost>.personaltelco.net rewriteDomain should be <localhost>.personaltelco.net install /etc/passwd and /etc/shadow install /etc/sudoers set password for root and ptp dpkg-reconfigure ssh use all defaults #cd /var/tmp #tar xzf /etc/var.tgz edit /var/local/etc/resolv.conf set up as appropriate for network config cp /var/local/etc/resolv.conf /etc/resolv.conf.default edit /etc/network/interfaces configure network as appropriate example for internet iface eth0 inet static address 10.11.0.1 netmask 255.255.255.0 network 10.11.0.0 broadcast 10.11.0.255 gateway 10.11.0.1 example for wireless iface wlan0 inet static address 10.11.0.1 netmask 255.255.255.0 network 10.11.0.0 broadcast 10.11.0.255 pre-up iwconfig wlan0 mode master pre-up iwconfig wlan0 channel 1 pre-up iwconfig wlan0 essid www.personaltelco.net if using a mini-PCI radio add "auto wlan0" before the iface line and the line "pre-up iwconfig wlan0 txpower 165mW" before the other pre-up lines. if using the mini-PCI radio add "hostap_pci" to /etc/modules edit /usr/nocat/nocat.conf set "LocalNetwork" to the wireless network set "Gateway Name" edit /etc/snmp/snmpd.conf comment out "com2sec paranoid" uncomment "com2sec readonly" and change "public" to <secret key> set syslocation to local value set syscontact to "Special Ops Team <ops@personaltelco.net>" change "proc mountd" to "proc sshd" change "proc ntalkd 4" to "proc gateway" get or localize splash pages for nocat get or localize status page for nocat edit /etc/hosts add entry for local host edit /etc/dhcpd.conf add backup dns servers make sure IP addresses are correct edit /etc/snmp/snmpd.conf comment out "com2sec paranoid" uncomment "com2sec readonly" and change "public" to <secret key> set syslocation to local value set syscontact to "Special Ops Team <ops@personaltelco.net>" change "proc mountd" to "proc sshd" change "proc ntalkd 4" to "proc gateway" edit /etc/syslog.conf add to the end of the file # remote logging cron,user,kern,auth,authpriv.* @log.personaltelco.net # all messages of warning priorty and above *.warning @log.personaltelco.net reboot
--- BrianBeattie