Solved. I had to mambo-jambo with Yast2 without really understanding (remote
printer, files to be transfered or not???)
---------- Message transmis ----------
Subject: SuSE7,3PPC does not want to print
Date: Mon, 4 Mar 2002 15:25:04 +0100
From: Alain Barthelemy <abarthelemy(a)sbb2.ihe.be>
To: suse-ppc(a)suse.com
Before I had SuSE7,1PPC or SuSE7.2 or 7.3 on PC's and I could print without
problems on a remote printer (LaserWriter 8500 or HP4100).
Then I upgraded from SuSE7,1 PPC to SuSE7.3PPC and ... impossible to print
anymore.
lpd is running
Here is my /etc/printcap:
lp|lp2|PS_600dpi-a4-auto-mono-600|PS_600dpi a4 auto mono 600:\
:lp=/dev/lp0:\
:sd=/var/spool/lpd/PS_600dpi-a4-auto-mono-600:\
:lf=/var/spool/lpd/PS_600dpi-a4-auto-mono-600/log:\
:af=/var/spool/lpd/PS_600dpi-a4-auto-mono-600/acct:\
:if=/var/lib/apsfilter/bin/PS_600dpi-a4-auto-mono-600:\
:la@:mx#0:\
:tr=:cl:sh:sf:
#
### END apsfilter: ### PS_600dpi a4 mono 600 ###
#
zoe|remote printer on 192.168.20.101:\
:sd=/var/spool/lpd/zoe:\
:rm=192.168.20.101:\
:rp=lp:\
:bk:sh:mx#0:
#
gertrude|remote printer on 192.168.20.102:\
:sd=/var/spool/lpd/gertrude:\
:rm=192.168.20.102:\
:rp=lp:\
:bk:sh:mx#0:
#
My old /etc/printcap on SuSE7.1 (thus working) looks like:
lp|lp2|PS_600dpi-a4-auto-mono-600|PS_600dpi a4 auto mono 600:\
:lp=/dev/lp0:\
:sd=/var/spool/lpd/PS_600dpi-a4-auto-mono-600:\
:lf=/var/spool/lpd/PS_600dpi-a4-auto-mono-600/log:\
:af=/var/spool/lpd/PS_600dpi-a4-auto-mono-600/acct:\
:if=/var/lib/apsfilter/bin/PS_600dpi-a4-auto-mono-600:\
:la@:mx#0:\
:tr=:cl:sh:sf:
#
### END apsfilter: ### PS_600dpi a4 mono 600 ###
#
zoe|remote printer on 192.168.20.101:\
:sd=/var/spool/lpd/zoe:\
:rm=192.168.20.101:\
:rp=lp:\
:bk:sh:mx#0:
#
gertrude|remote printer on 192.168.20.102:\
:sd=/var/spool/lpd/gertrude:\
:rm=192.168.20.102:\
:rp=lp:\
:bk:sh:mx#0:
====
If you see a difference please tell me.
====
Now if I want to print with kmail I have the following error message:
Error
/usr/bin/lpr -P 'zoe|remote printer on 192.168.20.101' '-#1'
/home/alain/.kde2/tmp-pwbook_V11qgOZ: execution stopped with message:
Status Information: sending job 'alain@pwbook98+12' to zoe|remote printer on
192.168.20.101@localhost connecting to 'localhost' attempt 1 connected to
'localhost'
requesting printer zoe|remote printer on 192.168.20.101@localhost job
'alain@pwbook98+12' transfer to zoe|remote printer on
192.168.20.101@localhost
failed error 'NONZERO RFC1179 ERROR CODE FROM SERVER' with ack
'ACK_FAIL' sending '^Bzoe|remote printer on 192.168.20.101@localhost error
msg: 'bad command line'
Thus ACK fail, my host and the printer fails to communicate.
What changed thus between SuSE 7.1 ans SuSE 7.3?
There must be some mamboo-mamboo thing that has been installed or a line must
be uncommented somewhere
Is there a line that must be uncommented in /etc/inetd.conf?
# See "man 8 inetd" for more information.
#
# If you make changes to this file, either reboot your machine or send the
# inetd a HUP signal with "/sbin/init.d/inetd reload" or by hand:
# Do a "ps x" as root and look up the pid of inetd. Then do a
# "kill -HUP <pid of inetd>".
# The inetd will re-read this file whenever it gets that signal.
#
# <service_name> <sock_type> <proto> <flags> <user> <server_path> <args>
#
# echo stream tcp nowait root internal
# echo dgram udp wait root internal
# discard stream tcp nowait root internal
# discard dgram udp wait root internal
# daytime stream tcp nowait root internal
# daytime dgram udp wait root internal
# chargen stream tcp nowait root internal
# chargen dgram udp wait root internal
time stream tcp nowait root internal
time dgram udp wait root internal
#
# These are standard services.
#
# ftp stream tcp nowait root /usr/sbin/tcpd wu.ftpd -a
# ftp stream tcp nowait root /usr/sbin/tcpd proftpd
ftp stream tcp nowait root /usr/sbin/tcpd in.ftpd
#
# If you want telnetd not to "keep-alives" (e.g. if it runs over a ISDN
# uplink), add "-n". See 'man telnetd' for more details.
telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd
# nntp stream tcp nowait news /usr/sbin/tcpd /usr/sbin/leafnode
# smtp stream tcp nowait root /usr/sbin/sendmail sendmail -bs
printer stream tcp nowait root /usr/sbin/tcpd /usr/bin/lpd -i
#
# Shell, login, exec and talk are BSD protocols.
# The option "-h" permits ``.rhosts'' files for the superuser. Please look
at # man-page of rlogind and rshd to see more configuration possibilities
about # .rhosts files.
# shell stream tcp nowait root /usr/sbin/tcpd in.rshd -L
# shell stream tcp nowait root /usr/sbin/tcpd in.rshd -aL
#
# If you want rlogind not to "keep-alives" (e.g. if it runs over a ISDN
# uplink), add "-n". See 'man rlogind' for more details.
login stream tcp nowait root /usr/sbin/tcpd in.rlogind
# login stream tcp nowait root /usr/sbin/tcpd in.rlogind -a
# exec stream tcp nowait root /usr/sbin/tcpd in.rexecd
# talk dgram udp wait root /usr/sbin/tcpd in.talkd
# ntalk dgram udp wait root /usr/sbin/tcpd in.talkd
#
#
# Pop et al
#
# pop2 stream tcp nowait root /usr/sbin/tcpd in.pop2d
pop3 stream tcp nowait root /usr/sbin/tcpd /usr/sbin/popper -s
#
# Imapd - Interactive Mail Access Protocol server
# Attention: This service is very insecure
# imap stream tcp nowait root /usr/sbin/tcpd imapd
#
# Comsat - has to do with mail.
#
# comsat dgram udp wait root /usr/sbin/tcpd in.comsat
#
# The Internet UUCP service.
#
# uucp stream tcp nowait uucp /usr/sbin/tcpd /usr/lib/uucp/uucico -l
#
# Tftp service is provided primarily for booting. Most sites
# run this only on machines acting as "boot servers."
#
# tftp dgram udp wait root /usr/sbin/tcpd in.tftpd -s
/tftpboot
# bootps dgram udp wait root /usr/sbin/bootpd bootpd -c /tftpboot
#
# Finger, systat and netstat give out user information which may be
# valuable to potential "system crackers." Many sites choose to disable
# some or all of these services to improve security.
# Try "telnet localhost systat" and "telnet localhost netstat" to see that
# information yourself!
#
# finger stream tcp nowait nobody /usr/sbin/tcpd in.fingerd -w
# systat stream tcp nowait nobody /usr/sbin/tcpd /bin/ps -auwwx
# netstat stream tcp nowait root /usr/sbin/tcpd /bin/netstat -a
#
# For man on the fly and ht://dig (full text search)
#
http-rman stream tcp nowait.10000 nobody /usr/sbin/tcpd /usr/sbin/http-rman
#
# For XCept4
#
# btx stream tcp nowait root /usr/sbin/tcpd /usr/lib/xcept4/bin/ceptd
-i/usr/lib/xcept4/etc/init.ceptd -u/usr/lib/xcept4/etc/users.ceptd
-l/var/log/log.ceptd
#
# For rplay daemon
#
# Old versions of rplay:
# rplay dgram udp wait root /usr/sbin/tcpd rplayd -b 8192 -c 60 -s 8192
# New Versions of rplay (>=3.3.0)
# rplay dgram udp wait root /usr/sbin/tcpd rplayd -t 30 -c 60 -s 16384 -F0
--inetd
#
# vbox (Voice Box)
# vboxd stream tcp nowait root /usr/sbin/tcpd /usr/sbin/vboxd
#
# For midinetd
# midinet stream tcp nowait root /usr/sbin/tcpd in.midinetd
#
# swat is the Samba Web Administration Tool
# swat stream tcp nowait.400 root /usr/sbin/swat swat
#
#
# amanda backup server with indexing capabilities
# amandaidx stream tcp nowait root /usr/lib/amanda/amindexd amindexd
# amidxtape stream tcp nowait root /usr/lib/amanda/amidxtaped amidxtaped
#
# amanda backup client
# amanda dgram udp wait amanda /usr/lib/amanda/amandad amandad
#
# the rsync daemon
# rsync stream tcp nowait root /usr/sbin/tcpd /usr/sbin/rsyncd --daemon
#
#
# Mimer database
# mimer stream tcp nowait root /opt/mimer/bin/mimtcp mimtcp -l
#
# CVS pserver (remote acces to your CVS repositories)
# Please read the section on security and passwords in the CVS manual,
# before you enable this.
# cvspserver stream tcp nowait root /usr/sbin/tcpd /usr/bin/cvs
--allow-root=/home/cvsroot pserver
#
# procstatd deamon (cluster software)
# procstatd stream tcp nowait nobody /usr/sbin/tcpd /usr/sbin/procstatd -i
7885
#
Thus what has happened?
maybe a guru from SuSE can tell me what has changed from SuSE 7,1PPC to
SuSE7.3PPC
--
Alain Barthélemy
-------------------------------------------------------