User:Carlisle

From Rivalug Wiki

Jump to: navigation, search

me!

Contents

ddwrt setup

Using GUI interface v24-sp2 (08/07/2010) mega build 14896


Administration -> Management

  • Router Username (default: root)
  • Router Password (default: admin)
  • Re-enter to Confirm

Services -> Services

  • SSHd: Enable
  • Syslogd: Enable
    • Remote Server: <log_server>

Administration -> Management

  • SSH Management: On


Setup -> Basic Setup

  • Network Setup
    • Local IP Address: <something other than 192.168.1.1>
  • Time Settings
    • NTP Client: Enable
    • Time Zone: UTC -5:00
    • Summer Time (DST): 2nd Sun Mar - first Sun Nov
    • Server IP/Name: <ntp_server>

Wireless -> Basic Settings

  • Wireless Network Name (SSID) <ssid>

Wireless -> Advanced Settings

  • Wireless GUI Access: Disabled

Wireless -> Wireless Security

  • Security Mode: WPA2 Personal
  • WPA Algorithms: TKIP+AES
  • WPA Shared Key: <pick a good one>

zoneminder

webcam monitoring system

issues

  • shared memory / webcam image size
  • sending email - perl modules needed
yum install perl-MIME-Lite
yum install perl-MIME-tools

grub

restore grub

  • boot to linux rescue
grub (enter)
root (hd0,?) (? being where your controlling distro is)
setup (hd0)
quit
grub-install /dev/hda

file verification

rpm

rpm -Va
rpm -K <package>

aide

ssh security

Backups

rsync snapshot

Like Apple's Time Machine


to filesystem mounted from server

Assume backing up /home to /mnt/external/backup

  • first backup
rsync -av --progress /home /mnt/external/backup/<timestamp>/

This will create a duplicate of /home in /mnt/external/backup/<timestamp>/home

  • subsequent backups
  • exclude list
/home/<user>/.mozilla/filefox/<random>.default/Cache/
/home/<user>/.purple/logs/
/home/<user>/Desktop/trash.desktop
  • creating script
  • cron
  • removing from backup

F13-SL

abrtd          	0:off	1:off	2:off	3:on	4:off	5:on	6:off
akmods         	0:off	1:off	2:on	3:on	4:on	5:on	6:off
auditd         	0:off	1:off	2:on	3:on	4:on	5:on	6:off
avahi-daemon   	0:off	1:off	2:off	3:on	4:on	5:on	6:off
bluetooth      	0:off	1:off	2:off	3:on	4:on	5:on	6:off
capi           	0:off	1:off	2:on	3:on	4:on	5:on	6:off
cpuspeed       	0:off	1:on	2:on	3:on	4:on	5:on	6:off
crond          	0:off	1:off	2:on	3:off	4:off	5:off	6:off
cups           	0:off	1:off	2:on	3:on	4:on	5:on	6:off
haldaemon      	0:off	1:off	2:off	3:on	4:on	5:on	6:off
ip6tables      	0:off	1:off	2:on	3:on	4:on	5:on	6:off
iptables       	0:off	1:off	2:on	3:on	4:on	5:on	6:off
irqbalance     	0:off	1:off	2:off	3:on	4:on	5:on	6:off
iscsi          	0:off	1:off	2:off	3:on	4:on	5:on	6:off
iscsid         	0:off	1:off	2:off	3:on	4:on	5:on	6:off
isdn           	0:off	1:off	2:on	3:on	4:on	5:on	6:off
livesys        	0:off	1:off	2:off	3:on	4:on	5:on	6:off
livesys-late   	0:off	1:off	2:off	3:on	4:on	5:on	6:off
lvm2-monitor   	0:off	1:on	2:on	3:on	4:on	5:on	6:off
mdmonitor      	0:off	1:off	2:on	3:off	4:off	5:off	6:off
messagebus     	0:off	1:off	2:on	3:on	4:on	5:on	6:off
nessusd        	0:off	1:off	2:on	3:on	4:on	5:on	6:off
netfs          	0:off	1:off	2:off	3:on	4:on	5:on	6:off
NetworkManager 	0:off	1:off	2:on	3:on	4:on	5:on	6:off
openct         	0:off	1:off	2:on	3:on	4:on	5:on	6:off
pcscd          	0:off	1:off	2:on	3:on	4:on	5:on	6:off
portreserve    	0:off	1:off	2:on	3:on	4:on	5:on	6:off
rsyslog        	0:off	1:off	2:on	3:on	4:on	5:on	6:off
snortd         	0:off	1:off	2:on	3:on	4:on	5:on	6:off
udev-post      	0:off	1:on	2:on	3:on	4:on	5:on	6:off