home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!bogus.sura.net!howland.reston.ans.net!usc!enterpoop.mit.edu!bloom-picayune.mit.edu!daemon
- From: schenk@falcon.ccsu.edu (Tom Schenk)
- Subject: lpr troubles
- Message-ID: <1993Jan25.145058.18894@athena.mit.edu>
- Sender: daemon@athena.mit.edu (Mr Background)
- Reply-To: schenk@falcon.ccsu.edu (Tom Schenk)
- Organization: The Internet
- Date: Mon, 25 Jan 1993 14:50:58 GMT
- Lines: 80
-
-
- After getting the permissions correct for lpr, I still couldn't get it to work
- right. I decided to leave it alone for awhile so that I could play with elm
- and sendmail that Nathan Laredo put on sunsite. After I installed elm, I took
- a look at the /etc/services file that he had included with it and since it was
- much more complete than the one I had, I decided to replace mine with his. I
- then tried playing with lpr and company again, and to my amazement, it worked.
-
- The moral of this story is, if lpr isn't working properly and you have the
- permissions set correctly, check the /etc/services (or /usr/etc/inet/services)
- file. Mine (or rather the one from elm+sendmail) is included below.
-
- ================cut here================================
- # laredo /etc/services
- tcpmux 1/tcp # rfc-1078
- echo 7/tcp
- echo 7/udp
- discard 9/tcp sink null
- discard 9/udp sink null
- systat 11/tcp users
- daytime 13/tcp
- daytime 13/udp
- netstat 15/tcp
- chargen 19/tcp ttytst source
- chargen 19/udp ttytst source
- ftp-data 20/tcp
- ftp 21/tcp
- telnet 23/tcp
- smtp 25/tcp mail
- time 37/tcp timserver
- time 37/udp timserver
- name 42/udp nameserver
- whois 43/tcp nicname # usually to sri-nic
- domain 53/udp
- domain 53/tcp
- tftp 69/udp
- rje 77/tcp
- finger 79/tcp
- link 87/tcp ttylink
- supdup 95/tcp
- hostnames 101/tcp hostname
- iso-tsap 102/tcp
- csnet-ns 105/tcp
- pop-2 109/tcp # Post Office Protocol
- sunrpc 111/udp
- sunrpc 111/tcp
- uucp-path 117/tcp
- nntp 119/tcp usenet # Network News Transfer
- ntp 123/tcp # Network Time Protocol
- ntp 123/udp # Network Time Protocol
- NeWS 144/tcp news # Window System
- exec 512/tcp
- login 513/tcp
- shell 514/tcp cmd # no passwords used
- printer 515/tcp spooler # line printer spooler
- courier 530/tcp rpc # experimental
- uucp 540/tcp uucpd # uucp daemon
- biff 512/udp comsat
- who 513/udp whod
- syslog 514/udp
- talk 517/udp
- ntalk 518/udp
- route 520/udp router routed
- new-rwho 550/udp new-who # experimental
- rmonitor 560/udp rmonitord # experimental
- monitor 561/udp # experimental
- ingreslock 1524/tcp
- irc 6667/tcp #internet relay chat service
- =======================end====================================
-
- Hope this is the solution for you.
-
- Tom
-
- --- /|
- Thomas Schenk \~o.O' Internet: schenk@cgull.ccsu.edu
- Programmer =(___)= or schenk@falcon.ccsu.edu
- Corpus Christi State U BITNET: ccsys007@ccsuvm1.bitnet
- University Ack! Thpptpht! Fidonet: Thomas Schenk at 1:160/1.99
-
-