Hi,
I tried to get an answer to this on Usenet, but sofar 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
|