LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


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

Rep: Reputation: 0

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

 
  


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
setting up a linksys printserver with linux as remote print server mattmc97 Linux - General 2 02-15-2005 09:13 AM
Firewall and Linksys printserver Hangdog42 Linux - Networking 0 02-10-2005 08:37 PM
Help with cups! (i cant print with printserver) eduac Linux - Software 3 06-24-2004 09:27 AM
linksys printserver setup perini Linux - Newbie 1 02-14-2004 07:42 AM
Redhat 8 with Linksys Printserver mdebroeck Linux - Hardware 0 01-10-2003 11:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:47 AM.

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
Open Source Consulting | Domain Registration