Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I will try to keep this brief, but I need to explain thoroughly to get my issue fixed, so please bear with me.
I have an Acer Chromebook 15 which replaced a PC running Windows 10 Home, on which I ran Quicken (my most-favorite & years-long family financial program), as well as MS Office 365; those apps for Android/Chromebook are frankly pathetic, so I enrolled for a Desktop-as-a-Service product from Infosaic so that I can run the full Windows versions of each; I call it a VPS even though it's a DaaS. In any event, the VPS/DaaS runs Windows 10 Professional; since I'm a loyal devotee to Quicken, as well as MS Office, I installed them on the VPS.
I have 2 HP WiFi printers - a LaserJet P1102w and an OfficeJet 3830 series - at home. I also have CUPS.org installed on a Raspberry Pi 3 B+.
My ISP is Cox Communications; as a residential customer, I have a dynamic IP address, so I have enrolled with duckdns.org for a domain name which I will refer to in this question as [***].duckdns.org. That way, I can type in "[***].duckdns.org/..." & get where I need to be.
Here's what I'm wanting to accomplish:
When I use Quicken and/or MS Office 365 on the VPS/DaaS by way of connecting via TeamViewer on my Chromebook, I want to be able to print to either of my 2 WiFi printers (which are currently connected to the Pi via USB).
I've been told that what I'm wanting to accomplish is possible, but I lack the knowledge/skills necessary to do that. I do know that CUPS.org has a file - dhcpcd.conf - that lets one input (1) static ip address, (2) static routers, & (3) static domain name servers - thus, I think I just need to know which IP addresses to put in those places. Also, I'd appreciate receiving instructions on how to make Windows 10 recognize the 2 home printers & what IP address/hostname/whatever-it-is to put in those places, as well.
A long time ago, I did set up CUPS.org on my Pi, but I only used it in our home network; no outside devices, services, or programs/apps were involved. It worked fine; I'm just trying to figure out how to make this work when "outside" things are used.
This is how I would do it. Not that I have ample experience, but I recently lost a few hairs with CUPS and feel competent.
The printers have to be defined in CUPS first. You don't say if that is done already. CUPS has a printer discovery function, or you can use whatever protocol they use together with their IP addresses or domain names. If they are not ancient, they should have several connectivity options including IPP.
During the process of defining the printers, mark them as shared. When they are defined, test if you can print to them from the Raspberry Pi.
Then, try to print to your Raspberry Pi's CUPS printers from the Chromebook. My hope is that the Chromebook is able to discover the CUPS printers; if not, you need to specify their IPP URLs. They should have a form like this:
Once you are confident that you can print via CUPS, program your router so that it forwards IPP traffic from the internet to the Raspberry Pi. The port should be 631.
Finally, test printing from the internet by telling your VPS the IPP address ipp://marktheauditor.duckdns.org/printers/Printername.
Teamviewer has a remote printing feature so the you can print from a remote computer to a local printer. No need to change anything in the router or do anything special on the daas except enable that teamviewer function
As posted make sure that local printing works from the Chromebook.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.