Category Archives: Uncategorized

Get the Canon MP495 Printer/Scanner working in Ubuntu

I have finaly gotten the Canon Pixma MP495 working under Ubuntu 10.10, with full resolution capabilities of the printer.
This printer is only advirtised as having a max resolution of 4800×1200 DPI. However, I called Canon to get the full range of print resolutions and was informed that this printer is capable of 9600×2400 DPI.

I haven’t tested this below Ubuntu 10.04 but it should work fine.

For setting your MP495 printer up on your network without the use of a Windows or Mac machine (Fresh out of the box with Ubuntu) you will need to match your Routers SSID to the printers default SSID, and remove any security you have enabled. This will allow the printer to connect to your network.
Printer Defaults:
SSID: BJNPSETUP
IP ADDRESS: Automatic

Once you have done that you will need to activate the wireless lan on the printer.
Press the Maintenance button on the printer 15 times until you see what looks like a capital E without the top line. Then press the color start button. (refer to page 10 of your Network Setup Troubleshooting manual for an actual picture of the symbol) You should see the wifi light on the front of the printer turn on and be solid not be blinking. (If it is blinking check your routers SSID settings and match the Default SSID of the printer as listed above.

Now download AngryipScanner and install it by double clicking it. It should open in the Software center or with the Gdebi installer. (this may take a few minutes to install.)
Once you have installed AngryIPScanner, run it and change the ip range to include from 1 – 254 in the last octet. Then click start.
When it finishes look for an active connection with a Hostname like A001BF000000.local. Yours may be different but should be very simular.
The IP address given for that hostname is the IP address of your printer. Open Firefox and type that address in the address bar and press enter. From there you can configure you printer for the SSID, and encryption that you had on your router before the change, and set a static IP for the printer so you can manage it easily.
After you change the SSID and encryption on the printer you will have to go back to your router and change the SSID and encryption back to what it was before so your printer can connect again.

Now your network should be back the way it was and your printer should be connected

Now that you have successfully connected the printer to your wireless network continue with the rest of the installation.

Download the drivers for the mp495

You will be downloading cnijfilter-mp495series-3.40-1-deb.tar.gz.

Try this method first!
Extract cnijfilter-mp495series-3.40-1-deb.tar.gz to your Home directory.
Change the permissions of the install.sh file to run as an executable by Right clicking on install.sh and then left clicking Properties.
Click on the Permissions tab and put a check mark in the Allow Executing file as program box.
Then open a terminal and type:
sudo ./install.sh
Follow the prompts and if you are using the printer over the network select network when prompted. I you are using it via USB choose USB.
Don’t forget to scroll down to complete setting up your printer to use full resolution and set up the scanner.

If the first method didnt work try this.

Open a terminal and enter cd /home/*/cnijfilter-mp495series-3.40-1-deb/packages . (Enter your username where the astride is.)

For 64 bit systems you need to replace cnijfilter-common_3.40-1_i386.deb, and cnijfilter-mp495series_3.40-1_i386.deb with cnijfilter-common_3.40-1_amd64.deb, and
cnijfilter-mp495series_3.40-1_amd64.deb. For the printer setup.
For the scanner replace scangearmp-common_1.60-1_i386.deb, and scangearmp-mp495series_1.60-1_i386.deb with scangearmp-common_1.60-1_amd64.deb, scangearmp-mp495series_1.60-1_amd64.deb. Everything else is the same.

Now enter sudo dpkg -i cnijfilter-common_3.40-1_i386.deb and press enter.

Now enter sudo dpkg -i cnijfilter-mp495series_3.40-1_i386.deb and press enter.

After that is complete go to System-Administration-Printing and click on Add.

If you have set up your printer on your network you should find it listed under Network Printing after a moment. (It takes a second for Ubuntu to find it on the network.)
Select the Canon-MP495-series_XX-XX-XX-XX-XX then click [Forward].
It will tell you that it is searching for Drivers. (wait for it…..)
In just a second a new window will appear asking for the Description of the Printer. Give it a name in the Location Field.

Now that you have a functioning MP495 printer, printing at a meager 600 DPI, lets make it better!

Change the Available Resolutions for Printing

Open another terminal and edit the first of two postscript files for this printer. gksudo gedit /etc/cups/ppd/Canon-MP495.ppd

Find:

*OpenUI *Resolution/Output Resolution: PickOne

Then we are going to replace the text from:

*OpenUI *Resolution/Output Resolution: PickOne

to:

*CloseUI: *Resolution

With:

*OpenUI *Resolution/Output Resolution: PickOne
*DefaultResolution: 4800dpi
*Resolution 600dpi/600 DPI: “<</HWResolution[600 600]>>setpagedevice”
*Resolution 1200dpi/1200 DPI: “<</HWResolution[1200 1200]>>setpagedevice”
*Resolution 2400dpi/2400 DPI: “<</HWResolution[2400 2400]>>setpagedevice”
*Resolution 2400dpi/4800 DPI: “<</HWResolution[2400 4800]>>setpagedevice”
*Resolution 2400dpi/9600 DPI: “<</HWResolution[2400 9600]>>setpagedevice”
*CloseUI: *Resolution

Save and close gedit.

Open another terminal and edit the second postscript file for this printer. gksudo gedit /usr/share/ppd/canonmp495.ppd
Find:

*OpenUI *Resolution/Output Resolution: PickOne

Then we are going to replace the text from:

*OpenUI *Resolution/Output Resolution: PickOne

to:

*CloseUI: *Resolution

With:

*OpenUI *Resolution/Output Resolution: PickOne
*DefaultResolution: 4800dpi
*Resolution 600dpi/600 DPI: “<</HWResolution[600 600]>>setpagedevice”
*Resolution 1200dpi/1200 DPI: “<</HWResolution[1200 1200]>>setpagedevice”
*Resolution 2400dpi/2400 DPI: “<</HWResolution[2400 2400]>>setpagedevice”
*Resolution 2400dpi/4800 DPI: “<</HWResolution[2400 4800]>>setpagedevice”
*Resolution 2400dpi/9600 DPI: “<</HWResolution[2400 9600]>>setpagedevice”
*CloseUI: *Resolution

Save and close gedit.

Now restart the cups service.
with sudo service cups restart in Ubuntu 10.10 and I think 10.04 too.
or sudo /etc/init.d/cups restart in previous verions.

You can now print with resolutions ranging from 600 DPI to 9600 DPI!
Enjoy.

For getting the scanner working download the drivers from here
extract scangearmp-mp495series-1.60-1-deb.tar.gz into your home directory.
Open terminal and type. (Replace the astride with your user name.)
cd /home/*/scangearmp-mp495series-1.60-1-deb
sudo ./install.sh
Then to use your scanner, open terminal and type.
scangearmp
A Big thanks goes to BartmanMN for finding the Scanner drivers.
Enjoy!

How To Use A Buffalo WHR-HP-G300N As A Repeater.

UPDATE   12/19/2012

:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

This process is outdated. Visit the Buffalo Website and download the latest firmware release to use the WHR-HP-G300N as a repeater with out all of the complicated mess. Then check out my new post for setting up the Buffalo WHR-300HP as a wireless bridge or repeater for a full video walk through  on how to configure either the WHR-HP-G300N or the WHR-300HP as a repeater.

 

:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

 

 

If you have a buffalo router with DD-WRT already installed then download this File. This is a downgrade from the currently installed DD-WRT firmware from Buffalo. Once you download the firmware, Extract it. I like to use WinRAR.

If you have the original NON DD-WRT Buffalo firmware then follow the instructions on their site for upgrading the firmware to the DD-WRT firmware and then follow the instructions above.

Perform the downgrade to the firmware I have provided through the link above. To do so…

  1. Reset your router to Defaults by going to (your routers IP… 192.168.11.1) Administration –> Factory Defaults Click Yes and then Apply Settings.
  2. Once your router has been reset to default, browse to 192.168.11.1 and go to Administration –> Firmware Upgrade. In the drop down menu select Reset to default settings. Click Browse and select the file that you extracted from the download. Click Upgrade.
  3. Your Router will be doing an Upgrade. If you unplug the router or power off the computer during the upgrade you will Brick your router! When it is done Close and reopen your browser (IE, Firefox…ETC.) Browse to 192.168.1.1 this should be the new IP Address of your router. Create a new username and password.
  4. Go to Setup. Change the WAN Connection Type to Disabled. Also, on the same page before saving the settings, Change DHCP Type to DHCP Forwarder. Click Apply Settings.
  5. Wait a few seconds. Your router is going to reboot after each time you click Apply Settings.
  6. Go to Wireless –>Basic Settings , at the bottom of the page click Add under Virtual interfaces. Set the Wireless mode to WDS AP, and change Wireless network name (SSID) to match the wireless network you are trying to extend. Click Apply Settings.
  7. Go to Status –> Wireless and scroll to the bottom of the page and click on Site Survey. Click on Join next to the network you are extending. This will pop up a message and then return you back to the basic wireless setup screen. Change the Wireless mode of the Physical interface to Client Bridge and click on Apply Settings.
  8. Go to Wireless –> Wireless Security and put in the passkey to your existing wireless network in both the Physical and Virtual interfaces. Click Apply Settings. Verify that the passkey was accepted in both fields after the settings have been saved. If only one has security, then you need to re-enter the passkey for the one that didn’t take and Click Apply Settings again.

That should conclude setting up your router as a repeater/extender.

 

UPDATE 11/18/2011:

If you are extending the WIFI from another WHR-HP-G300N you can only use WEP encryption or No encryption for the connection between the router and the repeater. I haven’t run into any problems when using the WHR-HP-G300N with other routers on any encryption types.

As we all know, WEP encryption isn’t the most secure. So, if you are in the position of having to extend the WIFI from another WHR-HP-G300N, make sure that you use a different SSID for the connection between the router and repeater and disable SSID broadcast. and then add a new virtual interface to the router of the SSID you want to extend. This will help protect you from someone attacking your wireless network.

If you are having trouble then please register and leave a comment.