Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

In Project 10-2, you enabled the remote administration and IPP print sharing opt

ID: 3871170 • Letter: I

Question

In Project 10-2, you enabled the remote administration and IPP print sharing options within the CUPS remote administration tool on your Fedora Linux virtual machine. However, in order to access CUPS remotely or print to your shared IPP printers, you must allow the ports for the HTTP (TCP port 80), HTTPS (TCP port 443), and IPP (TCP port 631) protocols in the firewall that is enabled by default in Fedora 20. Run the following commands to enable those ports:

firewall-cmd --add-service http

firewall-cmd --add-service https

firewall-cmd --add-service ipp

Next, use the ifconfig command to determine the IP address of your Fedora Linux virtual machine. Following this, access the CUPS administration Web site using the Web browser on your Windows host computer(URL: http://IP address:631). Finally, add a new printer within Control Panel on your Windows host computer that prints to the URL http://IP address:631/printers/printer1. Print to this new printer from a Windows program of your choice and verify that the job was submitted to the printer1 print queue using the lpstat –t command on your Fedora Linux virtual machine.

Explanation / Answer

Steps to follow to achieve it :

First, we need to allow HTTP, HTTPS, IPP Tcp ports on the windows machine from which we want to control linux machine.

By executing below commands in command line :

open command line as an administrator and execute below :

firewall-cmd --add-service http

firewall-cmd --add-service https

firewall-cmd --add-service ipp

--> Now go to liunx machine and ran ifconfig to know the ip address of the machine inorder to access hosted website.

Now on windows machine open google chrome or any browser

and type in url box as

http://192.168.1.20:631/ -- here 192.168.1.20 is ip address of linux machine.

Steps to add a printer in windows 10 as below :

1 . Connect the printer to computer using USB cable and turn printer on.

2. Open the Settings app from the Start menu.
3. Next click Devices
4. Next click Add a printer or scanner.
If Windows detects your printer, click on the name of the printer and follow the on-screen instructions to finish the installation. And you're done.

If Windows doesn't find your connected printer, click on "The printer that I want isn't listed" link.

Then let the Windows troubleshooting guide help you find your printer. It will search for available printers and help you download the drivers for them.

If that doesn't work, head to your printer manufacturer's website and download the drivers and installation tools for your printer.

In order to access a shared printer we need to follow below steps :

Add Shared Printer

Windows' home networking feature called HomeGroup automatically shares printers and certain files with other computers on your home network. Here we'll set up a HomeGroup, if you don't already have one set up, and connect to the shared printer.

>> Set Up a HomeGroup

>> Skip this step if your home network already has a HomeGroup set up. If you're not sure, follow steps 1 and 2 below to check.

1. Right-click on the wireless icon in the taskbar and select "Open Network and Sharing Center".

2. Now click "Ready to create" next to HomeGroup. If a HomeGroup already exists on your network, it will say "Joined."
3. Then click the Create a homegroup button
4 . Then click Next.

5. Now select what you want to be shared. Printers & Devices are shared by default
Write down the HomeGroup password Windows creates for you. You'll need it for each computer you want to join the HomeGroup.

7. Now click Finish.

Connect to a Shared Printer on the HomeGroup

Now head to the other computer(s) on your network to join the HomeGroup.

1. Click Homegroup and then the Join now button in Windows Explorer.

Now open any browser or ms office or text editor.

Suppose if you opened a text editor :

create a file filetoprint.txt

open file and type your content then press CTRL + P to print that file.

Use command lpstat -t to check whether it is in queue or not

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote