From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <032301c2de46$ee289830$9949800a@will551> From: "Conor Williams" To: <9fans@cse.psu.edu> References: <2fe448800f0bb9f4affd7924ad2648b2@collyer.net> Subject: Re: [9fans] lpdaemon probs (fix) MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Date: Thu, 27 Feb 2003 09:59:34 +0000 Topicbox-Message-UUID: 743f1220-eacb-11e9-9e20-41e7f4b1d025 hey Geoff thanks for youre interest... got it running last night - spent half the night hacking the lpdaemon.c code (/root/sys/src/cmd/lp) and traced the problem to the fork and exec - which didnt seem to be running - so ran touch and that worked then watched the processes being spawned on the server and found that lp was being spawned... so eventually after trying differnt things traced the problem to the namespace... what happened was the parallel port wasnt bound for user none coming into the box... so a bind -a '#'L2 /dev in the /rc/bin/service/tcp515 file before the lpdaemon line fixed it... jumping around the room last night!! This fixed the "read error: connection lost line" aswell! So I can now print from my diskless terminal to my server which has the printer hanging out of its parallel port. Q. Has no-one come across that before? The devices file I had created was actually ok (it is quite similar to the one I posted) l8r will551 ----- Original Message ----- From: "Geoff Collyer" To: <9fans@cse.psu.edu> Sent: Tuesday, February 25, 2003 11:50 PM Subject: Re: [9fans] lpdaemon probs > I think we need your /sys/lib/lp/devices file (or at least the entries > relevant to your printers), not an approximation, to debug this. > There should be a dozen fields in most entries; they should look > something like this (all one line): > > fn 2C-501 olive.cs.bell-labs.com tcp!fn.cs.bell-labs.com!9100 81920 post+600dpi+duplex+hp4simx generic generic generic generic tcppost FIFO > > Also, could you run this and send us the output: > > flag x + > echo fs $fs fileserver $fileserver > 9fs other > ls -ld /lp /n/other/lp > >