TreeWalkDNSTreeWalk DNS

Connecting WiFi to Printer

From: Any tips for Windows XP (and newer) users? (TreeWalk DNS FAQ) *

This page describes installing the Microsoft Loopback Adapter for routing a wireless Internet connection to an ethernet adapter that is connected to a network device. In this case the device is a Canon imageRunner 2800 digital multifunction printer, scanner, FAX and copier which is connected to the Local Area Connection's physical network adapter by a Cat5 crossover cable. This printer provides a control panel that requires Internet connectivity which will be provided by the Wireless Local Area Network that the computer is a member of.

This article does not explore why you might need to do this or how to connect other types of devices in a similar fashion and is merely a valid example that illustrates the Microsoft Loopback Adapter's flexibilty. TreeWalk DNS has been purposefully omitted from this scenario but you can review "How to add TreeWalk" near the bottom of this page once you are satisfied that the components are operating correctly.

 Installing the Loopback Adapter 

  • To manually install the Microsoft Loopback adapter in Windows XP, follow these steps from the Microsoft site:
    1. Click Start, and then click Control Panel.
    2. If you are in Classic view, click Switch to Category View under Control Panel in the left pane.
    3. Double-click Printers and Other Hardware, and then click Next.
    4. Under See Also in the left pane, click Add Hardware,and then click Next.
    5. Click Yes, I have already connected the hardware, and then click Next.
    6. At the bottom of the list, click Add a new hardware device, and then click Next.
    7. Click Install the hardware that I manually select from a list, and then click Next.
    8. Click Network adapters, and then click Next.
    9. In the Manufacturer box, click Microsoft.
    10. In the Network Adapter box, click Microsoft Loopback Adapter, and then click Next.
    11. Click Finish.

The Canon iR 2800 has a programmable interface where network settings are entered and the device is restarted after changes are made. We'll focus on only three settings for this device and we'll assume that it has already been initialized to the manual's specifications for drivers, software, etc. These settings are as follows (note that we chose the printer's default null entry for the gateway and not localhost at 127.0.0.1 although either should work):

 
10.47.215.26
255.255.0.0
0.0.0.0
 

Open a command prompt at the wireless computer (Start > Run (or Windows + R) > type ping 10.47.215.26 -t > click OK) to provide a constant ping to the printer's IP Address. You should expect to see "Destination host unreachable" printed to the screen until you are finished editing the settings for the other adapters. To begin those next steps, open "Network Connections" as described below.

To open the Network Connections Applet click the Start button, click Control Panel and then double-click Network Connections.

Network Connections
Network Connections

 Network Connections 

In "Network Connections", you will find the properties for the Microsoft Loopback Adapter by right-clicking it's icon and selecting "Properties". (The "Microsoft Loopback Adapter" shown here was renamed from "Local Area Connection 2" to simplify this FAQ.) The properties you'll need to assign are displayed next.

Microsoft Loopback Adapter
Microsoft Loopback Adapter

 Microsoft Loopback Adapter 

For the "Microsoft Loopback Adapter" the IP address is set to 172.16.172.16 and the subnet mask is 255.255.255.0. The "Default gateway" for this adapter is the router's default IP Address at "192.168.2.1". The "Preferred DNS Server" is the same address as the adapter itself, the "172.16.172.16" address. The Microsoft Loopback Adapter requires a private IP address space that will not conflict with either of the other adapters. Two examples of properties for the Wireless Network Connection are given next (choose the one that's closest to your own setup if you're unsure). Click the "OK" button on each screen to save your settings once you're done.

Wireless Network Connection - DHCP
Wireless Network Connection - DHCP

 Wireless Network Connection - DHCP 

If you use automatic address assignments instead of the static addressing mentioned below, change the "Preferred DNS Server" address to match the Microsoft Loopback Adapter's address of "172.16.172.16" or add it there. We placed the ISP's DHCP server address into the "Alternate DNS server" field and added the router's default address to the DNS list too: click the "Advanced" button, choose the "DNS" tab, select "Add", type in the address, select "Add" again" (repeat this for each DNS IP address you want to add), then click "OK" on each screen to save the new settings again.

Wireless Network Connection - Static IP
Wireless Network Connection - Static IP

 Wireless Network Connection - Static IP 

This "Wireless Network Connection" example shows a static IP address that is recognized by the router and uses a subnet mask of "255.255.255.0". The router's default address is entered in the gateway address field and the "Preferred DNS Server" must still point to the Microsoft Loopback Adapter's address at "172.16.172.16". Again, it is suggested to add appropriate "Alternate DNS server" addresses as previously described, keeping in mind that you can add as many reliable DNS servers as you wish.

Local Area Connection - Printer
Local Area Connection - Printer

 Local Area Connection - Printer 

We used an appropriate IP address space for the printer here, where the printer's IP address would be included within the specified IP address range. The IP address is "10.47.0.1" and a subnet mask of "255.255.0.0" was entered although "255.255.255.0" should work fine too as long as it matches the printer's own subnet mask. An "Alternate DNS server" is not required for this adapter but the "Preferred DNS Server" address must point to the Microsoft Loopback Adapter's address of "172.16.172.16". Save the new settings. You should soon be seeing a successful ping to the printer from the wireless computer and be able to print a test page. If not, double-check all settings and edit if necessary.

 Usage 

With all adapters enabled your connections will be bridged through the loopback adapter. If you disable or remove the Microsoft Loopback Adapter you may be unable to connect to the Internet unless you revert to the original settings for your "Wireless Network Connection" and you would need to re-configure the printer's settings as well. Of course, you'd be right back where you started from because using your printer will most likely disconnect your wireless connection until you manually repair the connection again! (Note that some variance to the above may occur across different WLANs, printers and operating systems.)

How to add TreeWalk

 Installing the Personal Server 

Test the configuration to ensure that you can access any web interfaces for the multifunction device before you install TreeWalk DNS on the computer. Check the copier, scanner and FAX capabilities and make sure you can simultaneously access the Internet. Once you are completely satisfied that no additional tweaking or changes are needed, then, and ONLY then, you can proceed to install TreeWalk. After the required reboot which completes the TreeWalk installation, you should only need to change all of the "Preferred DNS Server" addresses for all the adapters back to the Microsoft Loopback Adapter's address of "172.16.172.16" from the "127.0.0.1" that the TreeWalk installer had placed there. It is advisable to reboot once more after that and retest again to confirm that everything is set up correctly.

If you cannot connect to the printer at this stage, try entering the localhost address of "127.0.0.1" or the router's default IP address (if it will let you do this) for the "Gateway Address" at the printer's console and restart the printer. If you still can't access the device, return to your previous settings by stopping, then uninstalling TreeWalk, reboot, revert the printer's Network Settings to their previous state and restart the printer. Carefully review the entire process above and be sure to follow all recommendations included in the TreeWalk documentation before repeating the TreeWalk installation.

* Trademarks are the property of their respective owners.

TOP