Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

papd problem

17 views
Skip to first unread message

Michael Ciesielczyk

unread,
Oct 20, 2000, 3:00:00 AM10/20/00
to
I have installled netatalk 1.4b2+asun2.13 on a Slackware 7.0 linux
machine. File serving with clasic appletalk and APF over tcp work fine.
The problem is with papd.
The server runs fine, at least it starts up with no errors. It dosen't
register any printer though. I have lpd up and running fine. Printing
from Linux works. I also have a
SMB server running on the same machine and printing from Windows
machines works fine. If I start papd with the -d option it just sits
there and does not give any
output. If I look at /var/log messages it shows that the papd server
started but nothing else. I don't understand what is wrong. I my
/etc/printcap or /etc/papd.conf files
are messed up I would think it would at least give me an error or
something. I can manually register my printer with nbprgstr -p 4
CompaqPagemaq20:LaserWriter. I
can also aecho the printer after I have manually registered it. I can
print to it however with pap. It gives me a conection time out error.

Here is what my config files currently look like. I have tried numerous
variation with the same results.

/var/spool/lpd/.paprc

CompaqPagemaq20:LaserWriter@*

/etc/papd.conf

CompaqPagemaq20:\
:

/etc/printcap

lp|CompaqPagemaq20:\
:lp=/dev/null:\
:sd=/var/spool/lpd:\
:pl#63:pw#85:\
mx#0:\
:sh:\
:sf:\
:of=/usr/lib/atalk/filters/ofpap:

/etc/atalkd.conf

eth1 -seed -phase 2 -net 0-65534 -addr 65280 200 -zone *


If I run getzones I get connection timeout but I read that that is
normal because I only have the default "*" zone.
If you see or now anything that may be causing the condition please post
or email me at mi...@san.rr.com.

thanks

mike

Reinhard Stroh

unread,
Oct 20, 2000, 3:00:00 AM10/20/00
to
Michael Ciesielczyk wrote:

> I have installled netatalk 1.4b2+asun2.13 on a Slackware 7.0 linux
> machine. File serving with clasic appletalk and APF over tcp work fine.
>

<snip>

>
>
> /etc/papd.conf
>
> CompaqPagemaq20:\
> :
>
>

<snip>

>
> thanks
>
> mike

Hi, Mike,

here is my papd.conf.
The printer LQ870 shows up in the Chooser/LaserWriter8 and is printing fine.

Samba is of no use for macintoshes unless you use an SMB Server like DAVE.

# Attributes are:
#
# Name Type Default Description
# pd str ".ppd" Pathname to ppd file.
# pr str "lp" LPD printer name.
# op str "operator" Operator name, for LPD spooling.
#
# Some examples:
#
# On many systems (notably not Solaris), no papd.conf is required,
# since papd shares the same defaults as lpd.
#
# A simple example:
#
# terminator:\
# :pr=lp:op=wes:\
# :pd=/usr/share/lib/ppd/HPLJ_4M.PPD:
#
# Note also that papd.conf can list several printers.

LQ870:\
:pr=lp:op=mac3:
papd.conf line 1/22 (END)

I think, the important option is :pr=lp which tells atalk to use the lpr
printing system.
:op=mac3 is just the name of the mac printing on the linux box

HTH regards
Reinhard


Michael Ciesielczyk

unread,
Oct 23, 2000, 3:00:00 AM10/23/00
to
Thanks for the info. I am running a SMB server to serve my pc's I just
wanted people to know that my networking and lpd were working. After
many many hours or recompiling, installing and changing config files. I
took someones advice and went and downloaded netatalk 1.4b2+asun2.1.1.
I just downloaded the binaries copied over the old ones moved my config
files(the new version didn't want to look in /etc by default and I
couldn't get it to compile so I just moved them to where they were
expected to be). Now it is running fine. I do get an error when the
server starts up about not being able to register
hostname:workstation@*. I assume this is because I didn't change my
rc.atalk file where it is trying to do this at. It must need a
different format with the new version because it did register the server
with no problems before. But it still registers localhost:AFPServer
just fine so I don't really care.

Thanks to all who offered advice. I appreciated it.

mike


0 new messages