LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-10-2020, 01:59 PM   #1
Mark the Auditor
LQ Newbie
 
Registered: Apr 2020
Posts: 1

Rep: Reputation: Disabled
CUPS, DDNS, & a VPS


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.

Thank you in advance.

Mark the Auditor
Edmond, Oklahoma, USA
 
Old 04-12-2020, 02:13 AM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
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:

ipp://Raspberry_IP_address_or_name/printers/Printername

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.
 
Old 04-12-2020, 08:06 AM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,836

Rep: Reputation: 5971Reputation: 5971Reputation: 5971Reputation: 5971Reputation: 5971Reputation: 5971Reputation: 5971Reputation: 5971Reputation: 5971Reputation: 5971Reputation: 5971
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to redirect all traffic from a VPS to another VPS 124748768 Linux - Networking 0 07-08-2011 10:36 AM
2 vps vs 1 vps bmayhem Ubuntu 0 05-04-2009 03:08 PM
Where can I download UML VPS or Xen VPS to make a virtual private server? abefroman Linux - Software 3 12-09-2005 10:00 AM
Bind/DDNS problem locutus233 Linux - Networking 12 04-26-2004 10:06 AM
DHCP/DDNS Troubleshooting dguy Linux - Networking 5 06-09-2002 03:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration