Archive for November, 2008

How to Bridge your Wireless Network Across the Street

Saturday, November 29th, 2008

 

WRT54G Router

WRT54G Router

I’m sure I’m not the only one who has been in this predictament. A client a few months ago called me with a problem. He said that his office was across the street from his home, but that because of a decrease in work, he had to cut back on his budget. The first thing that went was his DSL connexion for his house. He figured, since he had DSL at work, he might as well just use that. After a few months of his kids shuttling back and forth between the office and the house, he realised that he was going to need a better solution.

The answer? A wireless bridge. Sure you might say that there are plenty of Repeaters on the market, and high gain antennaes, and all sorts of exciting things. But that’s not nearly as fun as reflashing routers :D . For this project I used three routers.

1. The Broadcaster – Linksys WRT300N

Only device I actually bought, I figured if we were going to be blasting this across the street, I might as well get something with lots of antennaes. And I bought into the Wireless-N hype.

2. The Bridge – Linksys WRT54G

This one was sitting around the house from the old house network. Version 3 or 4 me thinks.

3. The Rebroadcaster - Netgear Blah blah Wireless-G

This was the router originally at the office for their local wireless network.

If you aren’t familiar with DD-WRT, it’s a community driven after-market firmware for a whole slough of routers. See if you’re deviced on on the Supported Hardware List. If it is, use the link next to the device for specific flashing instructions. Although most are similar, each device’s specific hardware limitations mean they are all slightly different. Although I flashed both of the Linksys routers, you really only need one device with DD-WRT on it. I installed it on mine to give me access to additional features, for example the ability to increase the transmit power on the WRT300N.

What we are effectively doing is making a “Wireless Client Bridge”. This means that we are setting up a wireless network, and making another Router connect to it as a “Client”. Then, we’re using another Router to turn this Client into another local wireless network.  Now plenty of people are going to say “Why not just configure the Bridge to Repeat as well”. Using a seperate router means you’ll get more range and speed. When using two seperate routers, you have the advantage two radios. Meaning that a weak signal will never become unusable because your radio is working to both receive and transmit packets simultaniously.

In the past I have used Wireless Bridging to extend my network, connecting extra rooms, sending a signal across the street to a neighbour. Once you have a Router running DD-WRT,  here are three great guides to help you get your router set up in Wireless Bridge Mode.  Herehere and here.

WRT54G with DD-WRT in Bridge Mode

WRT54G with DD-WRT in Bridge Mode

Once you have your Router connected to the main wifi network, find a comfortable spot for your routers. Somewhere out of the way, with a reliable source of power, and most importantly a good wifi signal. Up high and near windows usually will result in the best results. Once you’ve found your Repeater’s new home. Go ahead and reconfigure the third Router.

Configure the “Rebroadcaster” to disable DHCP, and broadcast a new local wifi network, on a different channel and with a different SSID than your other network. This will make sure they will not conflict. If you try to set the network SSID (name) to be the same as your other network, your Bridge Router will attempt to connect to the Rebroadcaster rather than the correct network. This makes a little WiFi black hole.

Once you have all of these set up, I always cable tie the pair together, clean up the wires, and run as many packets through as possible. The crazy part about the Bridge Mode with DD-WRT is it’s actually reliable. As long as it has a signal and power, DD-WRT has the great ability to take a beating and come right back. Although you’re never going to get the same speed an reliability of a cabled solution, for web browsing and small file transfer this solution can be the perfect answer for being just a little too far away from your target wifi network.

SmartNET Contract for Cisco 7970G

Tuesday, November 25th, 2008

We now sell the SmartNET Service Agreements for these phones! (Necessary to get Firmware)

Use our web form to transmit your device information. We’re MUCH more flexible and responsive than CDW. Our turn around time averages two days, compared to CDW’s one week! Not to mention we can get agreements for phones with “Invalid Serial Numbers”!

If you try to call CDW and order a SmartNET Contract for your Cisco 7970G Phone. You will be frustrated and stonewalled. Not because CDW are impolite people, in fact they are very nice and helpful. But because they accidentally give Cisco the wrong Part number. I called a few months ago and asked them for a SmartNET contract on a Cisco 7970G. I was told that Cisco had no available SmartNET contracts for that device, despite being posted on their website. Being confused and frustrated, I gave up. A user on the trixbox forums was even told that he would have to buy a contract that covered all Cisco phones for 90$. Being frustrated and deterred I gave up. Until I needed to flash another phone. I figured it was impossible that Cisco would A. lock their firmwares away from users, then B. not have a contract for the locked away firmwares.

The trick is the CP and the -. CP-7970G is the part number not CP7970G. It took me 20 minutes on the phone with Cisco for her to find that she was missing the all important “CP-” section of the device name. If you run into the same problem, call Cisco at 1-800-GO-CISCO and ask for the “Service Contract Center”. Have them look for the part number CP-7970G. Then Conference call your CDW representative. I’m waiting for a call back from my customer rep, then maybe I’ll update with a successful order.

Update1: I’ve gotten the “Dropship Specialist” to accept my order. I had to give her three different Serial Numbers before she said that one was valid. This may be an isolated issue, but I bet having photos of your phones might help. Waiting now for confirmation it went through.

Update2: I now have a lovely new firmware for my 7970s! I waited a couple days without and response. I asked my rep what was going on and she said I should have received an e-mail from Cisco. She contacted someone and moments later, I received my contract number in my inbox. Fantastic! The contract number is the tiny number at the top of the email. Follow the instructions in the email for adding the contract to your profile. The contract number at the top of the email is the one they will ask for. In a few hours you’ll profile will be updated and you’ll have access to the firmwares.

Corrupt/Missing hal.dll

Monday, November 24th, 2008

Fixed this problem today. Kellyn did a little research and found the solution. It turns out Hal.dll has nothing to do with Hal.dll but rather a corrupt or missing boot.ini file. The soution is:

1. Boot from your Windows XP CD.

2. Enter Recovery Console

3. Run “bootcfg /rebuild”.

4. Reboot and Voilà all is well.

There of course is the odd chance that your hal.dll file is actually corrupt. But as it was explained to me, the majority of the time. Hal.dll is just the first file that Windows looks for. Because of that it can mistake a missing boot.ini for a missing hal.dll.

Cisco 7970 SIP Configuration

Monday, November 24th, 2008

Cisco 7970

Cisco 7970

Expanded and Better post here: Cisco 7970G FAQ

We now sell the SmartNET Service Agreements for these phones! (Necessary to get Firmware)

Use our web form to transmit your device information.

I had a painful, painful nightmare trying to configure the Cisco 7970 Phone for SIP. It seems pretty obvious that Cisco is not interested in people using this phone without their expensive and proprietary CallManager software. All of the files I found online, from people kind enough to share with the world, ended up not working for me. For that reason I am literally going to post the config files for the phones I installed, Verbatim, no changes, nothing. This way hopefully you don’t spend 4 hours reflashing phones like I had to. The only load that worked for me was SIP70.8-0-3S.loads For that reason that’s the firmware specified in my XMLDefault.cnf.xml file.

SEP.cnf.xml Config for Cisco 7970

XMLDefault.cnf.xml

Make sure you right click and use save as, otherwise your browser may try to parse the XML, and you won’t say the tags.

If your phone was anything like mine, it came with the SCCP firmware on it. The Cisco CallManager firmware. Once you have all of your config files in place, you’re going to have to hard reset the phone for it to pick up the SIP firmware. This guy put a great youtube video up that shows how to do it: How to Hard Reset Cisco 7970

A helpful thing that wasn’t easy to find either was how to specify Speed Dials. If you try to assign them manually through the phones as you would on the 7940 or 7960 you’ll be sadly frustrated everytime the phone restarts. Fortunately adding the speed dials can be done thusly:

<line button=”3″>

<featureID>21</featureID>

<featureLabel>User Label</featureLabel>

<speedDialNumber>102</speedDialNumber>

</line>

If you want access to the Cisco firmwares direct from Cisco look into getting a support plan from CDW. They have them for around 10$/year. Here is one for 7.99  It makes sense to get at least one and use the updates for all of your phones. I know I wish I had access to update to firmwares for these beautiful little nightmares, CDW Customer Support couldn’t finish the transaction last time I tried.

Antivirus 2008/2009 Removal

Sunday, November 23rd, 2008

Recently it seems like this virus has gotten almost out of control. From what I understand and I have seen it’s not so much a virus in it’s own, but a downloader for other much more nefarious programmes. It seems as if everytime I see this virus it has different attributes, different executables, and libraries. At first before most spyware programmes could detect it, I would spent a very long time removing the individual files and startup entries using tools like Unlocker and Spybot’s TeaTimer. Between these two programmes there are very few viruses/malware that can survive.

Once the startup entries and processes are removed, TeaTimer will prevent new changes. Alas, here was the catch this last time. The virus had hijacked the TCP/IP stack. Meaning that all of my web traffic was being routed to fictious pages. Furthermore attempts to download Spybot and download updates for various anti-virus programmes were blocked.

I was having a hell of a time until I tried Malwarebytes Anti-malware. I had seen this software on customers’ computers before. But this was the first time I used it myself. I have to say, it’s a miracle worker. It removed the files, and the startup entries. And to top things off, it killed the processes. I still had to do some cleaning up with HijackThis. But all in all, I’m very impressed. For the first time a Freeware Antimalware programme did the job. I’ll definitely be using it in the future, and recommending it to clients.

Changing Line Spacing in Acrobat Pro

Monday, November 17th, 2008

Today I set up a PDF Form for a local company. Up until now they had been using triplicate carbon copies on a type writer to write up proposals. So, what I did was I scanned the template they had for the Proposals and I imported it into Adobe Professional.

In order to make the form look good, I had to set up form text boxes over the spaces where previously they had typed things in with the typewriter. I consistently had the problem where the lines would not match up. Being a good little Word user I searched around for a paragraph box…to no avail.

About 20 minutes later, I realised there was no easy way to change the line spacing on Forms. After some googling I found a few posts on various forums. Most of them, unfortunately useless. Until eventually someone suggested that I use rich-text formatting to configure the box to accept 9.5 pt spacing. I tried this. It worked for all of one save. Just as quickly as I had changed it, the RTF formatting had disappeared. Anyway, I ended up manually removing the lines from the forms with GIMP, and hard coding the font-size. In the end it looks pretty good. But it’s still frustrating that a piece of software as widely used and as expensive as Acrobat, would miss something so mundane and simple. I’m sure there is a pissed off Slashdot post about it somewhere.

If anyone knows a better way, Comment me.

TheOS 4.x Virtualisation

Saturday, November 15th, 2008

A couple months ago I did a job for a local company here named Avis Plumbing and A/C. They are using an old Multi-User Serial system based on TheOS 4.1. The system works great for them except for the fact they were completely dependent on serial based hardware. They had these huge serial terminals, an old “mainframe” and a dozen odd CAT3 cables going every which way. After hours of research, lots of dead ends on-line and a few calls to the original company that made the software; I made some interesting discoveries.

My first idea was to virtualise TheOS. Since it’s simple, light-weight in effect: tiny. I figured making it portable would limit their dependence on proprietary hardware and free them from 10 year old Digiboards. After trying VirtualBox, VMWare and Bochs. I was about to give up. Until, I found a note on their support forums.

Under Network Interface Cards it reads:

The virtual NIC in the Virtual PC product emulates a Digital DS 21140 (Tulip) chip set. As such, you have full network connectivity using Corona in the Virtual PC box running under Windows XP. Simply set it up to use DHCP, and everything works fine.

Sure enough, I went ahead and plugged the Proprietary Parallel Security Key into my PC, enabled Parallel pass-through and BAM. I was prompted to enter my key. The installation went fine except for one big snag up. After a while I realised that the version of TheOS they had did not support TCP/IP. Bummer. Even worse the Theos-Software Company will no longer provide a license or the disks to update to the magic version with Telnet support. And probably just as tragically to move up to the next version TheOS Corona. The cost would be prohibitively high relative to the gains.

I ended up using USB-Serial Adapters and a copy of Tiny-Term to simply replace the Dummy Terminals, rather than changing the server. At least now they have laptops on their desk. But I still dream of the day when I can reduce their mess of serial cables into one sleek little server in their wiring closet.

I’d really love to play with it more, if I could get my hands on a copy of Corona, it’d be a great project to see if I could migrate the data. I imagine there has to be other people out there who love their TheOS systems that would love them even more if they were able to backup all of their data to a flash drive. I suppose if that’s you, call us at 877-419-9634

HP Officejet J4680

Saturday, November 15th, 2008

To this day I have yet found a wireless or wired print server that worked right under 100$ that wasn’t a HP. They never cease to amaze me how good their products are compared to the other consumer electronics manufacturers. My customer was looking to print wirelessly, and having previous experiences with USB Wired Print Servers I suggested a new printer with a print server built in.

I ended up getting a HP Officejet J4680 for the customer. It was a steal at $114.99. I was surprised to find that on top of having integrated 802.11g and a fax. It had a document feeder and flatbed as well. Although it didn’t have the exciting LCD screen that some of the other HP Officejet’s do. The simple screen had a surprising number of options, and allowed for configuration of the wireless network. Make sure you avoid using the software that comes on the CD. Instead get the IT Professional Software from HP here. The setup was really fast, detected the printer and finished up without any drama. The best part was it does not install a tray app or any other bloatware.