You are not logged in.

#1 2012-12-27 19:21:07

felixculpa
Member
From: Alberta, Canada
Registered: 2012-06-12
Posts: 270

CUPS printer sharing across subnets?

I am trying to set up my local network printer so that everyone in the house can print from it. However I have two subnets in the house and I don't see how to connect to the Linux server through a Windows 7 client.

My network is like so:

Upstairs: [Modem] <=eth0=> [Router 1Subnet of 192.168.0.*
[Router 1]  <=wlan0 client mode=> Downstairs: [Router 2 with dd-wrt firmware] Subnet of 192.168.1.*
[Router 2] <=eth0=> CUPS server/PC with USB printer attached IP address of 192.168.1.1XX

This works: [Router 2] <=ath0.1 virtual wireless ESSID=> Windows 7 Laptop
This doesn't: [Router 1] <=wlan0=> Windows 7 Laptop

I tried

 sudo cupsctl --share-printers --remote-any && sudo systemctl restart cups

on the host PC, but the W7 clients can't connect across subnets. Is there anyway to set it up so it can? They can easily connect to the ath0.1 network and then print, but it's inconvenient for them. The Windows users spend most of the time upstairs, and not downstairs, so they are usually connected to the wlan0 network.

I have the option of putting [Router 2] into client bridged mode so it shares the same subnet of [Router 1], however I can't seem to set it up properly and I run into problems. It is important to have the ath0.1 network downstairs, and I am unsure that client (bridged) mode will allow for the virtual interface.

I do not have Samba installed but I am considering trying that, but a simpler solution would be appreciated.

*Edited for further clarification & error fixing.

Last edited by felixculpa (2012-12-27 20:03:51)

Offline

Board footer

Powered by FluxBB