Networking is a significant part of computing, and printers are common periphera
ID: 3530959 • Letter: N
Question
Networking is a significant part of computing, and printers are common peripherals in the home and in the office. The following questions will reinforce your understanding of hardware configuration in Linux. Please Explain: Explain the client/server model. Give three examples of services on Linux systems that take advantage of this model. Give one advantage and two disadvantages of using a wireless network. Which commands can you use from the command line to send a file to the default printer? Which command would you give to cancel all print jobs on the system? Which commands list your outstanding print jobs? Please provide 1-2 sentence answers for each question, thank you very much for your help it is greatly appreciated.Explanation / Answer
The client/server model is an architecture (i.e., a system design) that divides processing between clients and servers that can run on the same computer or, more commonly, on different computers on the same network. It is a major element of modern operating system and network design. A server is a a program, or the computer on which that program runs, that provides a specific kind of service to clients. A major feature of servers is that they can provide their services to large numbers of clients simultaneously. The client is usually a program that provides the user interface, also referred to as the front end, typically a GUI (graphical user interface), and performs some or all of the processing on requests it makes to the server, which maintains the data and processes the requests. The client/server model has some important advantages that have resulted in it becoming the dominant type of network architecture. One is that it is highly efficient in that it allows many users at dispersed locations to share resources, such as a web site, a database, files or a printer. Another is that it is highly (and very easily) scalable, from a single computer to thousands of computers. An example is a web server, which stores files related to web sites and serves (i.e., sends) them across the Internet to clients (i.e., web browsers) when requested by users. By far the most popular web server is Apache, a free program which is claimed to host more than 68 percent of all web sites on the Internet. The 3 examples are FTP, NFS, DNS, email, and HTTP (the web browsing protocol) all rely on client server model Advantages: Flexible if there is ad-hoc situation when additional workstation was required. Implementation cost is cheaper than wired network. Ideal for the non-reachable places such as across river or mountain or rural area. Ideal for temporary network setups. Disadvantages: Lower speed compared to wired network. (of course!) Less secure because hacker's laptop can act as Access Point. If you connected to their laptop, they'll read all your information (username, password.. bla..bla..bla..). More complex to configure than wired network. Affected by surrounding. E.g: walls (blocking), microwave oven (interference), far distance (attenuation) Redhat / Fedora 12 Answer: lp and lpr without arguments send their standard input to the printer /usr/bin/lp - Used to submit print jobs /usr/bin/lp.cups - Used to submit print jobs /usr/bin/lpoptions - Gets and sets printer options for a single user when run by a user or for the system when used by root /usr/bin/lppasswd - Changes printing passwords for an individual user or adds, deletes, and changes printer users and passwords when run by root /usr/bin/lpq - Shows the status of a printer queue /usr/bin/lpq.cups - Shows the status of a printer queue /usr/bin/lpr - Used to submit print jobs /usr/bin/lpr.cups - Used to submit print jobs, forcing use of CUPS /usr/bin/lprm - Used to remove print jobs from a queue /usr/bin/lprm.cups - Used to remove print jobs from a queue /usr/bin/lpstat - Gives status of the CUPS system, such as queue lengths and printers /usr/bin/lpstat.cups - Gives status of the CUPS system, such as queue lengths and printers /usr/bin/cancel - Cancels a print job /usr/bin/enable - Enables a print queue or class of printers, requires a management password /usr/bin/disable - Disables a print queue or class of printers, requires a management password /usr/sbin/lpadmin - Manages printers and classes, requires a management password /usr/sbin/lpc - A compatibility program for Berkley style printers, limited to queue status in CUPS /usr/sbin/lpc.cups - A compatibility program for Berkley style printers, limited to queue status in CUPS /usr/sbin/lpdomatic - A filter script provided to be used in setting up printers /usr/sbin/lpinfo - Shows available printer devices and drivers on the system /usr/sbin/lpmove - Moves the jobs destined for a queue to another queue