Setting up CUPS wireless client

William Jones whjones at hawaii.rr.com
Sun Jan 2 11:41:46 PST 2005


Aloha Linux gurus out there,

I set up a wireless LAN, which has connectivity in both Windows and Linux, but I'm having a problem setting up CUPS for my wireless client, namely my laptop. Any assistance will be greatly appreciated. Here is my setup.

Computer A - Windows XP Media Center (my brother-in-law's); physically connected to DI-624 802.11g wireless router and cable modem

Computer B - my desktop (ActLinux); dualboot Windows XP Pro/Fedora Core 3; equipped with Belkin F3D7000 802.11g wireless NIC; also physically connected to HP OfficeJet 7031xi printer

Computer C - my laptop (ThinkLinux); dualboot Windows XP Pro/Fedora Core 3; equipped with D-Link DWL G650 wireless NIC

All of the computers share internet access through the DI-624 router, and all have internet connectivity. My Linux LAN is only between my desktop and laptop, as my brother-in-law has no interest in learning Linux. I will therefore limit the remainder of this discussion to my Linux LAN.

I have successfully networked the computers together using SSH, after opening port 22 via Firestarter only for the IP in question. Next, I opened port 631 for the IP corresponding to the appropriate computer so that CUPS can work. Next, I attempted to add a printer using the http://localhost:631/admin option. The problem I have is probably the location portion. I don't have a physical connection between the laptop and the desktop, so I decided to try the IPP method. My printer is located at: /dev/usb/lp0 on my desktop (ActLinux). This is the URI I used:
http://ActLinux:631/dev/usb/lp0 (substituting ActLinux for the IP address)

When I attempted to print a test page, I got the following error message:

"Unable to get printer status (client-error-forbidden)!"

Does anyone know a solution to my problem, or can anyone please point me in the right direction to solve this problem? You assistance will be greatly appreciated. In the interim, I can simply use scp to copy the files from my laptop to my desktop and print from there. It would be nice to print from my laptop in Linux like I do under Windows.

As a side note, when I had a wired network, printing was no problem.  When I moved into a house, I opted for a wireless network, which lead to my CUPS problem.  I'm not getting this setup correctly, but I'm not sure where to go from here.

Mahalo in advance for your replies,

William Jones

US Navy, Retired (22 years)




More information about the cups mailing list