• Home
  • About

System Administration

System Administration, Telephony

GXP2020EXT Provision & Template

The Grandstream GXP2020EXT is an accessory “sidecar” (or in Grandstream-speak “Expansion Module”) that adds 56 speed dials with BLF to Grandstream model GXP20xx VoIP telephones. In the article below I’ve provided two scripts to help GXP2020EXT users keep their units programed with fresh directory information and matching card inserts. The Problem As the phone system…

Bash, System Administration, VBScript

Finding Malware URLs in W97M infected Word Docs

An email with a trojan Microsoft Word document made it past the spam filter today at work. At least one user reported opening the attachment. The attachment was named: DOCO943488.doc, but running the file through virustotal.com it was clear that it’s been known by other names.. To help affected people find this page here are…

System Administration

Glimpsing the Heap

You connect into the server and type “w” to see who else is on. You see a connection from an IP you don’t recognize!  14:43:11 up 5 days, 22:32,  2 users,  load average: 0.52, 0.41, 0.36 USER     TTY      FROM              LOGIN@   IDLE   JCPU  …

Bash, System Administration

Detect Wi-Fi Clients on your DD-WRT Router

Here is a script I wrote that scrapes the web interface of a router running DD-WRT. The script looks for the MAC addresses of wireless users. When it sees a MAC address that it hasn’t logged before it issues an alert. To help identify the new equipment, a portion of the MAC address is sent…

System Administration

Unattended ACPI Shutdown of Windows VMs

As part of a backup script I have some VirtualBox machines shutdown gracefully using the VBoxManage command: VBoxManage controlvm "$VM_NAME" acpipowerbutton This command emulates pressing (not holding) the power button on a modern computer. A compliant operating system should see the event and trigger a shutdown or other response. For ACPI shutdown events to work…

Bash, System Administration

Zombie Process: Killing the Undead

Is your Ubuntu MOTD warning you of a zombie process? Welcome to Ubuntu 11.10 (GNU/Linux 3.0.0-20-server x86_64) * Documentation: https://help.ubuntu.com/11.10/serverguide/C System information as of Thu Jun 28 18:36:57 EDT 2012 System load: 0.0 Processes: 94 Usage of /: 68.2% of 1.79TB Users logged in: 1 Memory usage: 29% IP address for eth0: 10.0.0.10 Swap usage:…

Posts pagination

1 2 NEXT

Search