|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Novell Archives Archived content from Novell openSUSE support forums |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
My goal is to setup a print server (among other things) using CUPS.
My print server is a P3 running Suse Pro 9.2 fully patched. This machine is at run level 3, and I SSH into it and use the character based yast to make changes. I've installed the printer driver and test printed from YAST and everything seems fine. My second machine is an Athlon also running a fully patched Suse Pro 9.2, and runs at runlevel 5 using KDE. From the second machine, I can run these commands (from page 279 of the 9.2 Admin Guide) netcat -u -l -p 631 & PID=$! ; sleep 40 ; kill $PID netcat -z 192.168.1.197 631 && echo ok || echo failed lpstat -h 192.168.1.197 -l -t I think the first machine is not broadcasting CUPS or the second machine is not listening, based on the fact that the first command does not give a desired response (I am not running these commands at root nor with root permissions). crg@linux:~> netcat -u -l -p 631 & PID=$! ; sleep 40 ; kill $PID Can't grab 0.0.0.0:631 with bind : Permission denied [1] 7887 [1]+ Exit 1 netcat -u -l -p 631 bash: kill: (7887) - No such process crg@linux:~> crg@linux:~> netcat -z 192.168.1.197 631 && echo ok || echo failed ok crg@linux:~> crg@linux:~> lpstat -h 192.168.1.197 -l -t scheduler is running system default destination: HPDeskjet692c device for HPDeskjet692c: parallel:/dev/lp0 HPDeskjet692c accepting requests since Jan 01 00:00 printer HPDeskjet692c is idle. enabled since Jan 01 00:00 Form mounted: Content types: any Printer types: unknown Description: HP Deskjet 692C Alerts: none Location: peanuts Connection: direct Interface: /etc/cups/ppd/HPDeskjet692c.ppd On fault: no alert After fault: continue Users allowed: (all) Forms allowed: (none) Banner required Charset sets: (none) Default pitch: Default page size: Default port settings: crg@linux:~> On the first machine (the printserver), yast tells me that ports 515 & 631 are supposed to be open (both UDP and TCP), as well as IPP on TCP. On the second machine, yast tells me that IPP (UDP) is supposed to be open. In yast on the second machine, under printer configuration, it says:"Listen to remote CUPS servers to get comfortable access to remote queues" and "Port for listening to remote CUPS servers is open on eth-id-00:50:ba:c9:21:b8" It can also see my network attached Laserjet (my second printer which is working fine) However nothing that I do when I poke around in "Configure...", "Restart Detection", "New Queue for already configured printer", or "Other (not detected", shows me the printer that is directly attached to the printer server (the first machine). BTW, when I run the first netstat command as root, this is what I get: crg@linux:~> su Password: linux:/home/crg # netcat -u -l -p 631 & PID=$! ; sleep 40 ; kill $PID[1] 8228 Can't grab 0.0.0.0:631 with bind [1]+ Exit 1 netcat -u -l -p 631 bash: kill: (8228) - No such process linux:/home/crg # exit exit crg@linux:~> and these commands on the second machine didn't fail either: crg@linux:~> echo -en "\r" | lp -d HPDeskjet692c -h 192.168.1.197 request id is HPDeskjet692c-1 (1 file(s)) crg@linux:~> lpstat -h 192.168.1.197 -o HPDeskjet692c-1 crg 1024 Sun 27 Mar 2005 07:54:47 AM MST crg@linux:~> cancel -h 192.168.1.197 HPDeskjet692c-HPDeskjet692c-1 crg@linux:~> So, what am I missing??? PS. About to head off for the day's activities, I doubt I will have a chance to read anyone's responses for about 12 hours at the earliest. Thanks in advance, and have a good day. PPS. DNS/DHCP is another goal for another day, that's why I'm still using IP addresses instead of host names |
|
|||
|
<< snip >>
probably a related problem: Start\Utilities\Printing\Printing Manager, (title bar says Configure = Printing Manager), in this program running on the second machine (with KDE), it sees the print queue on the print server. However, just clicking on the queue (selecting it) causes the Printing Manager to lock up (ie, go to another virtual panel and then come back, it's window isn't refreshed, just get a grey window). |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|