Aug 26

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 https://www.dd-wrt.com 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!

 

 

 

 

Aug 10

So proud of my new mailbox, oh and my family…

mailbox

Aug 01

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.

Enjoy!

Jul 21

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.

Assumptions:

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 wls.py script

Next is the startall.sh script

stopall.sh

 

config.properties

 

Before running this command (deprecated in 12c, but still works in 12.1.3), you must source setDomainEnv.sh 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

 

/etc/init.d/nodemanager

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

/etc/init.d/weblogic

 

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

 

Jun 09

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.

HOSTNAME=mail.johnson.com

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

127.0.0.1 localhost.localdomain localhost
192.168.0.19 mail.johnson.com mail

Install DNSMASQ

yum -y install dnsmasq

modify the following line in /etc/dnsmasq.conf

mx-host=johnson.com,mail.johnson.com,50

modify the /etc/resolv.conf as follows:

nameserver 127.0.0.1
nameserver 8.8.8.8

 

restart dnsmasq

/etc/init.d/dnsmasq restart

check your work

dig johnson.com mx

 

May 31

History of our House

I don’t know what we were thinking but we bought a house that was built in 1820. Turns out though that it is pretty cool and has a lot of history.

To put this in perspective, the Civil War will not start for another 41 years and Napoleon was running around in battles!

The house was originally built by Darius Carter in 1820. He was the son of a Soldier in the Revolutionary War Samuel Carter.

Here is a lithograph we found in “History of Ontario County”

Holcomb House

Here are some journal writings from 1892

From Ontario County Journal 5 February 1892

The Descendants of Some of East Bloomfield’s Pioneers – Editor Journal: Two or three years ago there was an article published in the Journal, giving a brief sketch in relation to various matters in this town, some of which suggested to the writer a few items not mentioned therein. For instance, the first descendants of the pioneers of the town are very few among us; and as we laid to rest a few days ago our esteemed and very useful fellow citizen, H. W. Hamlin, whose parents were among the first who came into this town (about 1798), we could but think of the fact that only a few of his contemporaries were left to us: Hiram Steele and Gary Collins, both 85 years old; the former as active as many of our young men; the latter more infirm and the last of his father’s family. Gaius Adams, grandson of Deacon John Adams (who came to this town in 1798, with a family of six sons and four daughters, and first settled on the east side of Mud creek, near what is known as the Daniel Johnson place), is nearly four score years old, and though just having a hard time with the grippe, bids fair to stop with us a while longer. Again, Darius Carter came here in 1811, built a large brick house near the depot, in which he kept a hotel for many years; he died in 1832. His family of nine children have all passed away, Mrs. Weda Munson, widow of Harlow Munson, (who was our sheriff in ’62-5, ) a most estimable lady and neighbor, whom we remember from our very childhood as one whom old and young, alike, most highly esteemed in all the relations of life. And, also, as we call to mind such men as Moses Fairchild, Martin Haywood, Josiah Porter, (who for the last thirty years of his life was justice of the peace in our midst); Timothy Bell, Anson Munson, Israel North, Daniel Rice, senior, and others too numerous to mention, all of them men of the most strict integrity and perseverence in the right. 

A sense of loneliness comes over us at times, and we cast about us in vain for some one to fill the place of each of the departed, but no one has as yet put in his appearance, and probably never will. These first descendants of the fathers left an indelible impression of character and works which remain with us to the present time, but, of course, shows less and less each succeeding generation. Although these changes are going on everywhere, they are not always so marked and suggestive in matters of general interest as in our churches. One thing more, which is pleasant to think of, is our abundant supply of the necessities of life, and the disposition of most of our people to secure them by habits of industry and temperance; only a few among us do otherwise. We have in town today about ninety-five persons whose ages range from 70 to 93 years. We buried in ’91 but three octogenarians and one non-octogenarian.

Here is a newpaper article about his death:

Evangelical Magazine & Gospel Advocate, Utica NY, Sat. 12 May 1832

[a Universalist newspaper]

DEATHS.  In East Bloomfield, N.Y., on the 27th ult. [April 27], Mr. Darius Carter, aged 59 years, one of the oldest, and at the same time one of the most efficient members of the Universalist society in this town. Mr. Carter, in an early day, emigrated from the State of Connecticut to this place—and by a course of industry and economy almost without a parallel, he succeeded in accumulating a handsome fortune, of which he was never sparing in the support of a cause which he believed to be a good and righteous one…  And though, for want of an opportunity to sustain the true Gospel of universal benevolence, he did for many years support the Presbyterian church, yet he never believed their creed consistent, nor could he ever reconcile the doctrine of endless misery with the boundless and tender mercies of God, and therefore rejected it as unreasonable .… For a time the few avowed Universalists in this town made it their practice to attend the religious service of our order in the neighboring town, which being observed by Mr. Carter, he inquired of them why they did not attempt to procure preaching of their order in their town, rather than go abroad for it.  The reply, if I mistake not, was that could they obtain a preacher, they knew of no suitable place or room in which to hold their meetings.  This being the only obstacle in the way of the proposed trial, Mr. Carter generously offered a spacious hall connected with his own dwelling for their use, which was opened, for the first time, to the writer of this notice, on the 28th of June, 1829, and again on the 2d of August, in the same year. Subsequently, the hall was occupied by Br. O. [Oliver] Ackley for one year, once a month. Like every other person under the influence of true candor and Christian meekness, Mr. Carter only wanted to be informed what Universalism was, in order to embrace and openly defend it.  He embraced it with his whole heart, not in theory alone, but in practice also…  He was sincerely and understandingly devoted to the religion he had espoused, and though he paid all required attention to the subject, yet he was never known to neglect any thing connected with the true interest and happiness of himself, his family, his friends and neighbors.

This last sickness, which terminated in typhus, it is thought was superinduced by the active part he took and to the exposure to wet and cold to which he subjected himself in forwarding the meeting house now being erected in this place.  His illness was not protracted, nor so severe as in hundreds of other instances.  He was sensible to the last, and perfectly conscious of his approaching exit, and withal, ready and willing to obey the mandate of his Creator, to leave this world of mutation for one not subject to change. He has left an affectionate family to mourn his loss; but they do not mourn with destitution of hope—for while their loss is temporary and limited, his gain is substantial and enduring. His funeral services were attended in the Presbyterian church, a very spacious building, which was filled in nearly every part of it, by all the different orders of professors [people of different faiths] in town, thus evincing that respect for the deceased to which his virtues and his worth had so eminently entitled him.

This contribution was kindly donated by Karen Dau, Rochester NY

Archivist, NY State Convention of Universalists

 

Across the street from our house

holcomb

May 26

Painted Fence Project

Here are some pictures of reviving my picket fence.

Before

Before

After

After

After

After

During

During

Apr 09

Ready for the Season to start

westy1

Mar 03

Oracle Database 11gR2 install on OEL 6.5

73 yum install libaio

75 yum install libaio.i686

77 yum install glibc.i686

79 yum install compat-libstdc++-33.i686

81 yum install elfutils-libelf-devel

83 yum install libaio-devel.i686

85 yum install libgcc.i686

87 yum install compat-libstdc++-33.i686

89 yum install unixODBC.i686 unixODBC.x86_64

91 yum install unixODBC-devel.i686 unixODBC-devel.x86_64

93 yum install mksh.x86_64

 

Feb 24

Oracle Database 11g install on Centos 7

Google suggested this was a fairly common problem with machines with a newer GLIBC. Most of the suggested solutions didn’t work for me (writing a glib memcpy shim etc). Instead I was able to staticly link this executable against the glibc archive which didn’t have the problem with the missing memcpy@GLIBC reference.

yum install glibc-static.x86_64

yum install glibc-static.i686

vi /u01/app/oracle/product/11.2.0/dbhome_2/ctx/lib/ins_ctx.mk

ctxhx: $(CTXHXOBJ)

-static $(LINK_CTXHX) $(CTXHXOBJ) $(INSO_LINK) /usr/lib64/stdc.a

I additionally had to patch the the ins_emagent.mk to link to the libnnz11 library:

vi /u01/app/oracle/product/11.2.0/dbhome_2/sysman/lib/ins_emagent.mk

Search for the line

$(MK_EMAGENT_NMECTL)

Change it to:

$(MK_EMAGENT_NMECTL) -lnnz11

Then press the Retry button and it should install correctly!

 

——

ALTER SYSTEM SET PROCESSES=500 SCOPE=SPFILE;

ALTER SYSTEM SET OPEN_CURSORS=500 SCOPE=SPFILE;

 

Older posts «