D-Link DIR-655 Wireless N Router

October 7th, 2009

dir-655So I ended up picking up a new router after bricking my good old WRT54G which I have had for a long time and served me well but kinda left we wanting more.  That is probably why I was pushing a firmware upgrade to the router only to have it fail and brick it.  So after doing a bunch of research as far as what was available at MicroCenter and reading reviews from NewEgg and Amazon I ended up with a D-Link DIR-655 Wireless N.

The main thing I was looking for in a router was stability and supportability I had a few other things in my mind that I figured would be awesome if I could find but were not too big of deal breakers.  One thing that really led me to choose D-Link was their support network and the forums and their emulator of their firmware.  The emulator was nice because it let me test drive the options of the router before buying it, why more companies don’t do that I will never know.  Also you have the ability to easily download old firmware if you need to downgrade after an update.  The forum was a welcome support link for the router but as usual you have to take those with a grain of sand as there seems to be a lot of angry people out there!  Although I did take the biggest advice of the forum and did not upgrade to the latest firmware as it seems to have a lot of issues, and is not something you can remove after installing it.  I figured since 80211N just made gold that there would be another update coming soon anyways.

A nice feature of this router is I have the ability to set up schedules.  So I can open my FTP port for the 1 hour I need it to do my automated website backups.  I can also do some port mapping from incoming external port to another internal port in my network.  I also get some very useful logs and a whole bunch of other buttons and options to change (QoS, DHCP Priority Address, Guest Access, Email new Firmware, Uptime Clock).  I can also enable a second WiFi hotspot with a different security level for guests so I can easily open and close a non-secure wireless access point.  And it has a gigabit switch to boot so that is helpful for all four ports which i have plugged into my PS3, DirecTV, Media Center, and weather station.

It was on sale for $99 at MicroCenter and has turned out to be a very good router.  I have tested it by pumping a ton of data through it via Bit-Torrent and Hulu and downloading 1GB files from FTP all at once without a hiccup (well my cable modem did reboot but don’t think that was the router’s fault).  So this router gets my vote!

UPDATE – I have found some other settings that are particularly useful with this new router.  Looks like you can setup a dynamic DNS account and setup the router to ping the service and update your IP if it changes so you can have a static URL go to your home server.

As far as stability goes this thing seems to be fairly solid, it likes to reboot every once and a great while and does it by itself and just looks like it takes a long time for a page to reload when it happens, so no really effected services.  I have also been making a bunch of changes to the config of the router which require reboot so that kinda screws up my uptime counts.

For Web Designers Website

September 23rd, 2009

forwebdesignersThis is a pretty amazing site and has a bunch of good content and links.  This is great for finding fonts, images, CMS tools, and just great links for web designers.  This can save a lot of time.

ForWebDesigners.com

Microsoft Windows 7 for $30 for students

September 23rd, 2009

Windows 7This is just like the Windows Office for $59 only it is for Windows 7.  All you need is a valid .edu address.  I knew there was a reason that I went to grad school.

Microsoft 741

Rounded Corners with Paint.net

September 21st, 2009

rounded-cornersI have started using Paint.Net a lot lately to do a lot of my website graphics as it seems to be the easiest to use.  Although the only real issue I was having was figuring out to crop an image with rounded corners for headers and whatnot.  After searching around the web for a while I found an answer.  Below are the steps to create a rounded corner cropping of an image.

  • Open the image and add a new layer
  • In the new layer draw a rectangle with rounded corners and solid fill (this will be your finished image size)
  • Use the Magic Wand to select your new solid rectangle
  • Then go to Edit->Invert Selection
  • Then delete the inverted selection
  • Then delete the new layer

Not the most intuitive way to do it but very effective none the less.  Click here to see a more detailed description with screen-shots if you need more explanation.

Beneton GIF Animator Maker

September 13th, 2009

Beneton GIF AnimatorThis is a very simple program that can create small animated GIF images for websites or whatever you need them for.  It is a stand alone application and can be installed on a pen drive.

Simple to use just add the images that you want to create the animation with and then create your transitions and then save the .gif file.

Download Beneton GIF Animator

Setting up Mercury SMTP for XAMPP

September 9th, 2009

20-xampp-logo-trioAlright so after being up late last night until about midnight I finally found out how to get Mercury Server running for SMTP.  This is very helpful when you are testing on your XAMPP server and you are testing your email functionality and want to see the emails that it is sending out.  Below are the steps to get things working.

Setup DNS for your NIC

  • Go to Start->Network Connections
  • Edit the NIC you are using
  • Double Click TCP/IP settings
  • Manually enter in the DNS servers from your ISP

Disable unneeded Protocols

  • Start Mercury from the Control Panel
  • Go to CONFIGURATION->PROTOCOL MODULES
  • Disable everything except the MERCURYC SMTP RELAY CLIENT and MERCURY SMTP
  • Restart Mercury

Make Changes to Core Module

  • Go to CONFIGURATION->MERCURY CORE MODULE then the GENERAL tab
  • Check to make sure “localhost” is the value of “internet name for this system”
  • Disable all but “send copies of all errors to postmaster”
  • check tab “Local Domains” make sure Localhost is there
  • Close and save

Edit MercuryS SMTP Server

  • Open CONFIGURATION -> MERCURY S SMTP SERVER
  • Choose general tab and enter name as SMTP
  • Make sure port 25 is listed
  • Add 127.0.0.1 to “IP interface to use”
  • Go to Connection Control and add 127.0.0.1 to the list
  • Un-check “do not permit SMTP relaying to non-local mail”
  • Close and Save

Edit MercuryC SMTP Client

  • Open CONFIGURATION -> MERCURYC SMTP CLIENT
  • Enter in external SMTP client (smtp.google.com for example) on port 465 with SSL (or whatever ports are supported)
  • Enter your login name and password to that external SMTP server
  • Close and Save

Edit PHP.INI file to include from line

  • Then go edit your PHP.INI file in XAMPP
  • Under [mail function] add the line “sendmail_from = postmaster@localhost
  • Stop and restart Mercury and Apache

Yup 27 steps is why it took me so long to get this thing working!  The key is that last step to the PHP.INI file without that you will get an awesome syntax error on all your emails.

Automated CPanel Full Backups

September 8th, 2009

cpanel_logoLooks like I finally figured out how to automate cpanel backups.  Since most of my sites are all hosted on the same account backup was a sinch with cpanel full backup.  Only issue was that I could not automate the task until now!

First I setup my own local FTP so I had a remote place to put the files.  Then using the script below edited it put in my cpanel variables and then created a cron job to run the file.  The issue wasn’t finding this script, I have had it for a while, the issue was getting the darn thing to work.  Looks like what I was missing was changing the $skin parameter to ‘lp’…thank you Lunar Pages Forum (yes should have looked there a long time ago but didn’t).  Lunar Pages would be my host and looks like they have their own skin for cpanel.  Once I got that in place everything worked perfectly and then I just scheduled the cron job below.

Here is the script cpanel_backup.php

Update: I had to make some minor changes to the file to include the remote directory and FTP port as I was getting errors saying all the forms were not filled out. Here is the latest version cpanel_backup.php Version 2

Then schedule the script job via Cron
0 0 * * 1 /usr/bin/env php cpanel_backup.php

Color Scheme Design Picker

September 7th, 2009

Color Scheme Designer Screen ShotNot that you could ever have enough websites to help you choose color schemes that actually match here is another one to add to the list!

Color Scheme Designer

MySQL Dump and Load Commands

September 7th, 2009

logo-mysqlI have had to do this a lot lately with all the database work I have been doing so I figured I would write this down before I forgot about it.

If you need to restore a database from a .sql file here is the command:

mysql -h hostname -u username -pthepassword databasename < dumpfile.sql

If you need to dump a database to a file (for automated backup purposes) you can use this command:

mysqldump -h hostname -u username -pthepassword databasename > backup-file.sql

These can be very helpful when doing database work