Routed OpenVPN HOWTO

This is my OpenVPN HOWTO. There are many like it, but this one is mine.

It seems every few months I get asked the question by one of my friends “How do I set up a VPN?”. Sometimes the person is looking to set up a MS VPN variant, other times, OpenVPN. The principles and [...]

Excel Formula to Convert Polycom 8020/8440 Serial Number to MAC Address

This is an obscure tip, but it thought it was cool enough to post as it comes in handy when scanning in inventory with a barcode scanner. This works on Polycom 8400′s (8440/8450) and 8000′s (8020/8002)., and probably any other Polycom SIP device.

This formula will take the serial number in the column to the [...]

Export/Import Grindstone XML to Google/iCal/ICS

I recently started using Grindstone to track my daily workload, and I’ve been using a number of calendars on Google to not only share classifications of appointments, but to track historical data (Android call logs, etc). I kind of expected that Grindstone would have iCal/ICS export capability, but sadly it does not appear so. You [...]

Simple Script to Mount Disk Image Partitions Looped on Linux

Every so often I have to recover a drive to a disk image on Linux, and before I transfer the data back to a physical drive, I like to mount the disk image check on it’s status. Mounting a partition from a disk image is slightly more complicated than mounting just an image of a [...]

Whitelisting Incoming Calls on Asterisk

For some reason, this is a topic that I couldn’t seem to find a simple HOWTO online for, so I had to create my own.

I ran into a situation where I have a large number of auto-answering intercom boxes connected to an Asterisk system. The intercoms are programmed to pick up immediately upon ringing, [...]

Installing Fedora 16 on XenServer 6

Credit for this procedure goes to Major Hayden at Racker Hacker (http://rackerhacker.com/2012/02/11/installing-fedora-16-in-xenserver/). My procedure just uses an alternate, minimal kickstart file that gives you more control over the installation using the Anaconda GUI.

- Start an installation using the RedHat 6.0 64bit template – In the installation wizard, use these advanced options: console=hvc0 serial ip=dhcp [...]

Cisco ASDM-IDM Launcher: Stuck on “Contacting the device. Please wait…”

I recently ran into an issue on Windows 7 64-bit where ADSM-ISM Launcher failed to connect to my ASAs. Launching the application from a shortcut, and attempting to connect resulted in the launcher halting on “Contacting the device. Please wait…”. And waiting didn’t help. Opening the java console revealed another error which didn’t get me [...]

Forcing RDP Connections Fullscreen on a Specific Monitor (Saving Window Position)

One of the frustrations I have/had with Remote Desktop connections on multi-monitor workstations (with unique display resolutions mind you) is that there’s no way within the RDP GUI to save the position of a fullscreen RDP session. So if your RDP session opens up on display 2 each time, good luck getting it to display [...]

Authenticating to MS SQL Server on a Different Domain Using Windows Authentication (Windows 7)

When trying to connect to an MSSQL server on another domain (of which you are not a member), you’ll probably run into the issue where selecting the Windows Authentication option in the SQL Server connection dialog grays out the username and password. Here are two workarounds:

Scenario SQL Server: sqlserver.mydomain.com Domain: MYDOMAIN MYDOMAIN Username: joe.user

[...]

Overcoming the the Zyploit error when using Unrevoked

If when your try rooting your phone with Unrevoked, you encounter the error “process com.unrevoked.zysploit has stopped unexpectedly” during the initial rooting process, you probably have an application interfering with Zysploit, or a bad install of Zysploit itself. Try removing the following apps (from Manage Applications”) in order, and retry between apps: – Zyploit – [...]

Restreaming ASF to MP3 Via Icecast and VLC

Say you have an internet radio stream that you like to listen to. You like to actually get up from your computer once in a while and go outside, so you want to play it on your iPhone/Blackberry/G1/Treo/Centro/Pre/Whatever as you’re out and about. But wait! Due to poor decision making by your beloved stream provider, [...]

Recovering a PPPoE password from an Actiontec M1000

If you ever get into a situation where you can’t find the password used on your Qwest DSL account, and you have an Actiontec M1000 router (or similar), give this procedure a shot:

- You can find your account username on the Quick Setup page, listed as "PPP Username"- Set your router admin password if [...]

HOWTO: Forwarding a USB device to a Guest VM in Xen on Fedora

This procedure works with fully virtualized VMs. I would assume it works with paravirtualized VMs as well…

Shut down and power off your VM

Unplug and re-plug your USB device to see what it appears as in dmesg, then run    dmesg | grep ^usb

See these lines?:    usb 3-2: USB disconnect, address 7    usb 3-2: [...]

Extending (Resizing) LVM/XFS Xen images

Documentation on this procedure out on the interwebs seems rather sparse, so I thought I’d post the procedure I use to expand Xen images that use LVM and XFS. The same procedure should work fine if you use EXT3, you probably will just have to substitute the proper e2/3fs command for xfs_growfs.

## FROM THE [...]

Enabling Input Audio Monitoring on Dell Latitude D820

I recently re-installed XP on my Dell Latitude D820 for the third time in 2 years and ran into a familiar problem: My line-in audio was not being played through the speakers. By default, the Dell driver, R171789 (SIGMATEL STAC 92XX C-Major HD Audio) does not come with the input monitor enabled. You can modify [...]

Postfix/Exchange Unknown User Filtering HOWTO

Annoyed by Exchange’s lack of SMTP features? Tired of thousands of NDR messages to invalid email addresses for unknown users plugging up your mailserver? Try my new HOWTO on setting up an Exchange/Postfix mail filtering server on Ubuntu.

Integrated Windows Authentication in Firefox

I’ve been trying to get Firefox reeady for deployment everywhere in our organization. Here’s one less thing to workaround: Integrated Windows Authentication in Firefox. Basically I just needed to add/modify the following values: network.automatic-ntlm-auth.trusted-uris = intranet network.negotiate-auth.delegation-uris = intranet network.negotiate-auth.trusted-uris = intranet

This allowed my to browse straight to http://intranet/ without logging in.

You can [...]

Disabling the ”Security Code” feature of PHP-Nuke

Run the following commands:

cd /www/docs/mydomain.com/ grep -R “extension_loaded(“gd”)” * | awk -F”:” ‘{print $1}’ | sort | uniq

Wait at least 30 seconds. It’s searching all the files in this directory. Each of the files returned will contain the string ‘extension_loaded(“gd”)’, which must be replaced with “0″ to make those IF statments [...]

HowTo Set Up PHP Nuke (a quick guide)

This is more of a technical FYI, not really a practical guide for Linuxwhore.com server users :-). Well, actually, I suppose everything except for the mysql commands could be performed by users, the rest needs to be granted by root.

      mkdir phpnuke       cd phpnuke/       tar -zxvf [...]