LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-10-2024, 04:14 PM   #1
jelf72
LQ Newbie
 
Registered: Jan 2024
Posts: 1

Rep: Reputation: 0
problems connecting to print from within virt-manager.


Hello,

The following text is my initial inquiry and small discussion to my problem that I asked in Fedora Forums. I'm bringing my question to LinuxQuestions.

BEGIN FEDORA FORUMS
jalf86 (Me): Fedora Forums
Hello,

I hope someone could help me. I have a Xerox WorkCentre 6605DN connected to my computer via USB. My computer runs Fedora 38 with Gnome environment. I used CUPS to setup my printer (I did click the "share" checkbox). My computer IP address is xxx.xxx.1.72 and my printer's IP address is xxx.xxx.0.121

I have set-up Fedora 38 with Gnome in virt-manager. I use a bridge type for my virtual NIC. It successfully reaches into the internet and I can share files through one folder. But I cannot connect to my printer. The address of my virtual Fedora is xxx.xxx.124.110. I used CUPS to try and find my printer. I used LDP, sockets, ipp, and https options with the various IP addresses. Nothing I tried worked. I don't know if I'm completely doing this wrong, or if I'm not correctly filling out the fields, or if I need to use something other than CUPS.

Thank you for any help you can give me.

6th January 2024, 11:24 PM #2
hmmsjan : Fedora Forums
hmmsjan is offline Registered User

Hi jalf86,

It's not clear for me how your installation is organized. May be I'm not up to date, but as far I know a printer via USB does not have an IP or is it connected via both USB and ethernet? For printing via USB, the IP address is the address of the CUPS server so your PC self, assuming it's Linux.

The IP address is xxx.xxx.1.72, printers IP is xxx.xxx.0.121, so assuming a /24 mask or 255.255.255.0, they are not in the same subnet. Different network interfaces?

You do not need to xxx.xxx your local addresses if it is 192.168, only your external IP or IPv6 prefixes may be better to hide.

Your system is not really bridged, then your VM IP must be in the same range as the bridge's IP. It suspect it's virbr0, and then masqueraded to the internet.
If it is masqueraded to the internet via xxx.xxx.1.72, is it masqueraded to the printer too?? Otherwise the printer does not know the route to the VM, or firewalld does not have the required forward rules.

I think you have a routing problem, and need networking knowledge to solve it. Bridging the interface where the printer is and the VM will solve the problem, but unfortunately this will not work if the interface is wireless.

jalf86: Fedora Forums

I've suspected my problem is a routing problem. However, I don't have a lot of networking knowledge. I knew enough to follow directions, but that's as far as I could go. I don't know enough to ask the correct questions or the best place to ask questions. Do you have any recommendations of where I should go or book suggestions for the knowledge I need to get to the right networking questions?

END FEDORA FORUMS

I went to the networking forum of LinuxQuestions and their forum faq pointed me to the server forum. So from the above discussion, can anyone help me or point me in a good direction?
 
  


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
[SOLVED] installing virt-manager and virt-viewer on desktop for managing remote server yvesjv Slackware 4 04-24-2019 03:00 PM
Virsh/Virt-Manager/Virt-Install broken after upgrade to Xubuntu 17.10 Zabzoo Linux - Desktop 2 02-01-2018 08:05 AM
question: 'onclick' within 'onmouseover' within 'form' within 'table' - how is it possible? rblampain Programming 4 04-25-2017 08:49 PM
LXer: Hacking libvirt/virsh/virt-manager/virt-install at Xen 4.0 Dom0 on top of Ubunt LXer Syndicated Linux News 0 05-06-2010 02:50 PM
LXer: Virt-install&Virt-manager at Xen 4.0-rc8 (2.6.32.10 pvops) Dom0 on top Ubuntu K LXer Syndicated Linux News 0 03-26-2010 09:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:24 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