I have 2 SuSE machines and I want to share a printer. On the host machine I updated the /etc/hosts.lpd file with the address that I want to allow and on the remote machine I ran Yast to configure a remote printer. For name of printer I made up a name, spool directory was automatic, server name I put the IP of the host machine, and name of printer on server I put lp. When I hit F4 to create it gives me.. The computer 192.168.0.200 could not be reached over the network. Do you want to create the printer anyway? ..these computers communicate fine so I assume I'm filling this out wrong or using the wrong tool. Please enlighten me - thank you! -- (o< //\ Powered by SuSE Linux V_/_ Virusproof. Crashproof. 4:51pm up 10:30, 20 users, load average: 1.14, 1.18, 1.21 processes 38823
On Fri, 13 Dec 2002 08:57 am, Robt. Miller wrote:
I have 2 SuSE machines and I want to share a printer. On the host machine I updated the /etc/hosts.lpd file with the address that I want to allow and on the remote machine I ran Yast to configure a remote printer. For name of printer I made up a name, spool directory was automatic, server name I put the IP of the host machine, and name of printer on server I put lp. When I hit F4 to create it gives me.. The computer 192.168.0.200 could not be reached over the network. Do you want to create the printer anyway? ..these computers communicate fine so I assume I'm filling this out wrong or using the wrong tool. Please enlighten me - thank you!
Firstly don't use YAST to configure CUPS on the client machine. It's only usefull for setting up a machine which has printers attached. The file /etc/hosts.lpd is not used by CUPS. All the security settings are on the server /etc/cups/cupsd.conf file which are far more extensive. The file is very well commented. The following steps should get you working. 1) make sure you have the ip address of each machine in both of the /etc/hosts file. 2) On the client machine edit /etc/cups/client.conf file and add in the address of the server. 3) If the client machine still can't see the server you may have to edit /etc/cups/cupsd.conf on the server. Check the permission settings for browsing. 4) If still not working check to see if the cupsd is running on both machines. ps -ef | grep cups It might be that the cupsd is not running on the client machine. /etc/init.d/cups restart should do the trick. In YAST --> System --> Runlevel editor you can set cups to start on boot. -- Regards, Graham Smith ---------------------------------------------------------
Graham Smith <gqs@iinet.net.au> writes:
Firstly don't use YAST to configure CUPS on the client machine. It's only usefull for setting up a machine which has printers attached.
YaST2 options in SuSE 8.1 indicate it can configure CUPS on a client machine; IPP protocol is supported. I haven't tried it but if it doesn't work then the problem should be reported and fixed ASAP. (I only used YaST2 to setup CUPS to print on a network printer using lpd and it worked flawlessly.) YaST2 doesn't support configuration of security options on the print server (/etc/cups/cupsd.conf). Does the CUPS web interface or Webmin support it? I don't know the answer but I ask because the Linux community must actively work on making these configurations easy for end users. People don't need to know how a TV set works, they just push the button. The same principle should apply to Linux too - make it as easy as possible for end users. -- Alexandr.Malusek@imv.liu.se
On Fri, 13 Dec 2002 08:23 pm, Alexandr Malusek wrote:
Graham Smith <gqs@iinet.net.au> writes:
Firstly don't use YAST to configure CUPS on the client machine. It's only usefull for setting up a machine which has printers attached.
YaST2 options in SuSE 8.1 indicate it can configure CUPS on a client machine; IPP protocol is supported. I haven't tried it but if it doesn't work then the problem should be reported and fixed ASAP.
Basically as long as server security options are setup correctly and /etc/hosts is correct the client should see the server automatically from what I have seen. Although sometimes it helps to configure /etc/cups/client.conf file with the server name. I really don't think you need GUI config tools to enter one line in a file.
(I only used YaST2 to setup CUPS to print on a network printer using lpd and it worked flawlessly.)
YaST2 doesn't support configuration of security options on the print server (/etc/cups/cupsd.conf). Does the CUPS web interface or Webmin support it?
The CUPS web interface does not have these facilities as far as I know. Haven't a clue about Webmin as I don't use it. You can use the KDE Control Centre to change the security settings. I don't know how well it works as I haven't used the facility. The /etc/cups/cupsd.conf file is very well commented and is far easier to alter than using a GUI wrapper. I have found out the hard way that unless a GUI wrapper is very well designed and has questions that make sense you can really stuff up in a very big way. At least with a plain text config file you can add comments and try things. But then I like to get my hands dirty. -- Regards, Graham Smith ---------------------------------------------------------
Graham Smith <gqs@iinet.net.au> writes:
The /etc/cups/cupsd.conf file is very well commented and is far easier to alter than using a GUI wrapper.
I think more than just a GUI wrapper is needed. A lot of effort has been invested to artificial intelligence, expert systems, ... and still computers are idioticly stupid if a Linux user wants to configure something and doesn't know the low level principles. I'm missing task-oriented wizards in Linux though I realize many people don't share my views. I don't care if they are CLI, GUI, or speech recognition based. I also don't care they are not in other operating systems - I miss them in Linux.
But then I like to get my hands dirty.
I think both approaches to administration (configuration files & simple to use tools) can coexist in Linux. The issue is not CLI & GUI but simplicity & complexity. -- Alexandr.Malusek@imv.liu.se
to allow and on the remote machine I ran Yast to configure a remote printer. For name of printer I made up a name, spool directory was automatic, server name I put the IP of the host machine, and name of printer on server I put lp. When I hit F4 to create it gives me.. The computer 192.168.0.200 could not be reached over the network. Do you want to create the printer anyway? ..these computers communicate fine so I assume I'm filling this out wrong or using the wrong tool. Please enlighten me - thank you! Hi, I have been able to do this. If you are planning to use a non-mixed
I updated the /etc/hosts.lpd file with the address that I want printing network and just use CUPS, this is fairly easy. All you will need to use is Yast2 for the most part. On the machine hosting the printer, run Yast2 and once it comes up, click on the advanced button. Once you do, you should see the opotions that you will need to set in order to get your printer to be shared. You will need to set the browse address. If you want to share this printer network wide, then you will need to set this to a address that covers the whole network. In your exapmle this would be 192.168.0.0 Then you need to tell CUPS to allow clients to connect. Fill in this appropriately. Finish the configuration. Then on your client, Run Yast2 again and click on the advanced button. Set this to client only. There is only one thing that you have to set and that is the address of the computer that has the printer. Test for connectivity. You should be able to get the server is accessable message. Finish the configuration. Yast may tell you that it wants to delete some packages to make the computer a CUPS client only. Go ahead and tell it to do so. Now you should be able to use the printer. Also make sure that you set up your hosts file so that the host names on your network will resolve correctly. If not, Cups may take longer to attach than you want. Make sure the info is on all machines. You will need to edit this file as root. It is found in the /etc directory Good Luck -- Marshall "Nothing is impossible, We just do not have all the anwsers to make the impossible, possible."
On 13 Dec 2002, Marshall Heartley wrote:
to allow and on the remote machine I ran Yast to configure a remote printer. For name of printer I made up a name, spool directory was automatic, server name I put the IP of the host machine, and name of printer on server I put lp. When I hit F4 to create it gives me.. The computer 192.168.0.200 could not be reached over the network. Do you want to create the printer anyway? ..these computers communicate fine so I assume I'm filling this out wrong or using the wrong tool. Please enlighten me - thank you! Hi, I have been able to do this. If you are planning to use a non-mixed
I updated the /etc/hosts.lpd file with the address that I want printing network and just use CUPS, this is fairly easy. All you will need to use is Yast2 for the most part. On the machine hosting the printer, run Yast2 and once it comes up, click on the advanced button. Once you do, you should see the opotions that you will need to set in order to get your printer to be shared. You will need to set the browse address. If you want to share this printer network wide, then you will need to set this to a address that covers the whole network. In your exapmle this would be 192.168.0.0 Then you need to tell CUPS to allow clients to connect. Fill in this appropriately. Finish the configuration. Then on your client, Run Yast2 again and click on the advanced button. Set this to client only. There is only one thing that you have to set and that is the address of the computer that has the printer. Test for connectivity. You should be able to get the server is accessable message. Finish the configuration. Yast may tell you that it wants to delete some packages to make the computer a CUPS client only. Go ahead and tell it to do so. Now you should be able to use the printer.
This is what I've been looking for but, sorry for being dense, where is the advanced button? I've got Software, Hardware, Network/Basic, Network/Advanced, Security&Users, System, and Misc - been through all of them and for the life of me I can't find the options you're mentioning. -- (o< //\ Powered by SuSE Linux V_/_ Virusproof. Crashproof. 7:06am up 1 day, 45 min, 21 users, load average: 2.50, 2.12, 1.70 processes 137302
participants (4)
-
Alexandr Malusek
-
Graham Smith
-
Marshall Heartley
-
Robt. Miller