LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-10-2001, 09:00 AM   #1
bazell
LQ Newbie
 
Registered: Apr 2001
Location: Maryland
Posts: 4

Rep: Reputation: 0
Question


Hi,

I tried to get an answer to this on Usenet, but so far I have been unsuccessful. Maybe someone here can help.

I have a linksys router that has a linksys printserver hanging off it. I
can't
access the printserver from Linux. When I boot Windows or print from any
other windows machine on the network, I have no problem.

The router has IP address 192.168.1.1 and the print server has
192.168.1.10. My printcap has 192.168.1.10 in it.

I tried the following:

From my home directory (not root) I try to print:

% lpr -Plp0 oc1.log
lpr: connect: No such file or directory
jobs queued, but cannot start daemon.

login as root and cd to /var/spool/lpd/lp0:

[root@CC1011962-A lp0]# pwd
/var/spool/lpd/lp0

the status file gives me an error message
[root@CC1011962-A lp0]# cat status
waiting for 192.168.1.10 to come up

so I kill lpd:

[root@CC1011962-A lp0]# ps aux |grep lpd
root 242 0.0 0.2 784 336 ? S 23:48 0:00 lpd
root 247 0.0 0.3 864 500 ? S 23:48 0:00 lpd
[root@CC1011962-A lp0]# kill 242
[root@CC1011962-A lp0]# kill 247

and I try to restart it:

[root@CC1011962-A lp0]# /usr/sbin/lpc restart lp0
lp0:
no daemon to abort
lp0:
/usr/sbin/lpc: connect: No such file or directory
couldn't start daemon

What does connect: No such file or directory mean?

I can ping both IP addresses:

% ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1): 56 data bytes
64 bytes from 192.168.1.1: icmp_seq=0 ttl=64 time=0.9 ms
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=0.8 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=0.8 ms
64 bytes from 192.168.1.1: icmp_seq=3 ttl=64 time=0.8 ms

--- 192.168.1.1 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 0.8/0.8/0.9 ms
%
%
% ping 192.168.1.10
PING 192.168.1.10 (192.168.1.10): 56 data bytes
64 bytes from 192.168.1.10: icmp_seq=0 ttl=30 time=9.6 ms
64 bytes from 192.168.1.10: icmp_seq=1 ttl=30 time=7.0 ms
64 bytes from 192.168.1.10: icmp_seq=2 ttl=30 time=7.1 ms
64 bytes from 192.168.1.10: icmp_seq=3 ttl=30 time=7.1 ms

--- 192.168.1.10 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 7.0/7.7/9.6 ms

Can anyone tell me how to get the printserver working?

Thanks

Dave
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Printing to FreeBSD print server running cups - odd problem Builder *BSD 6 03-18-2005 09:38 AM
Problem printing to a Windows 2000 server from a Fedora Core 2 workstation RThomson Fedora 0 10-22-2004 07:56 AM
Windows printing to Mandrake Samba Server problem rufius Linux - Networking 2 09-20-2003 04:21 PM
Printing problem on NT server aru_titi Linux - General 0 07-14-2003 08:41 AM
Problem Printing to D-Link Print Server Marth Slackware 4 06-14-2003 04:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration