How to extend your Wireless Network with DD-WRT

I am always frustrated with WiFi. It seems like a black art needing certain spirits and voodoo dolls in place. Anyway, after struggling for a bit, I thought I would document how I extended my Netgear  WNDR3700v2 network hundreds of feet using older Buffalo Routers.

I have a barn about 100 feet away from my house and obviously need Man Cave stuff in there including streaming video and audio. After looking a Cantennas and other Magical tools, I came up with a simple solutions using OpenSource software.

Goto and search for you Wireless Router in their database. In my case, Buffalo WHR-G300N v2.

First of all read the instructions and make sure you understand the flashing process before proceeding. I have and you may BRICK your router to a useless light flasher.

Download the two bin files to your computer. In my case the Buffalo routers already had a “DD-WRT Like” interface, so all I had to do was update using the Buffalo to DD-WRT firmware, followed by the whr-g300nv2-firmware-MULTI.bin

Once you have the firmware installed and router rebooted, follow the below screenshots as a guide.

Setup / Wireless / Security etc.

  • Disable WAN
  • Set you IP info to your local network

Screenshot from 2015-08-26 20:56:36

  • Choose “Client Bridge”
  • Match your Wireless SID and security from your First Main Router
  • Add a Virtual Interface and Broadcast you new SID

Screenshot from 2015-08-26 20:58:27

  • Set your wireless security to match your main router
  • Secure your Virtual Interface with same or different security.

Screenshot from 2015-08-26 20:59:07

  • IMPORTANT Choose Router from the Operating Mode. I futsed with this for an hour
  • Once that is set to Router, your routing will actually work as well as DNS.

Screenshot from 2015-08-26 20:59:55

  • Goto Status and Wireless to check your connection to Main Router. You should see MAC Address and Signal.

Screenshot from 2015-08-26 21:00:36

  • Sit back and grab a beer!





BMW 745i Windows stopped working? FIXED

I was just about to start taking apart my 02 745i to fix my dead windows. For no apparent reason, my drivers side controls for mirrors, windows, and shades all stopped working yesterday. Looking through the forums, they all talked about replacing motors and window regulators which could be as much as 2k. One last ditch effort, let’s reboot the car.

I disconnected the battery for 1 min to cycle the computers and whatever other magic is involved in the windows, and voilà everything works again. Just thought I would put this out there in case someone else is about to take their BMW to the stealer and be charged way too much.


Weblogic Startup Scripts

The following scripts and procedure allows stopping and starting of Weblogic Instances using Jython (Python) scripts and the nodemanager. Services are then created and can be used at startup and shutown for your NodeManager, Admin Server, and Managed Servers.


Version = Weblogic 10.3.6
MW_HOME = /u01/app/oracle/weblogic1036R2
JAVA_HOME = /u01/app/jdk
DOMAIN = IDMdomain
BOOTSCRIPTS LOCATION = /u01/app/oracle/$MW_HOME/bootscripts
Node Manager is installed and configured.

Configure the nodemanager as follows


Create the main script

Next is the script


Before running this command (deprecated in 12c, but still works in 12.1.3), you must source for the domain you are using.

Encrypt username and password (11g)

Then run this command to create your encrypted User and Key files

Encrypt credentials for Weblogic


Now create your init.d startup scripts



The weblogic scripts call the when the server starts, and when the server stops.



Both the nodemanager and weblogic startup scripts need to made runable (chmod 755) and then added to chkconfig

Update your Nodemanager type to be “Plain”

image2015-6-24 7-54-27

This can be done for each domain on your server

Well Done! Grab a beer


dnsmasq split dns trick!

check the content of the file /etc/sysconfig/network

Make sure you have in here what the external dns name is.

This line SHOULD be in accordance of the /etc/hosts file. If your server has an ip address like then your /etc/hosts file should look like localhost.localdomain localhost mail


yum -y install dnsmasq

modify the following line in /etc/dnsmasq.conf,,50

modify the /etc/resolv.conf as follows:



restart dnsmasq

/etc/init.d/dnsmasq restart

check your work

dig mx