LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 11-15-2005, 12:30 PM   #1
adwd3509@yahoo
LQ Newbie
 
Registered: Jan 2003
Posts: 10

Rep: Reputation: 0
network printing


I have a slackware 10.1 server. It has a hp laser printer correctly installed. It will print from the server. It will print from other computers running windows. It will not allow other linux computers to print. I have tried disabling samba, I have tried using my browser to configure at localhost:631 but the connection is always refused. I seem to have samba correctly configured. I have tried manually editing the cups.config but it still tells me the same thing. I can access file shares from linux or windows, so I think that the permissions are correct. any suggestions would be appreciated
 
Old 11-16-2005, 05:10 AM   #2
Ygrex
Member
 
Registered: Nov 2004
Location: Russia (St.Petersburg)
Distribution: Debian
Posts: 666

Rep: Reputation: 68
Please, underline your problem.
 
Old 11-16-2005, 06:33 AM   #3
sjr
Member
 
Registered: Oct 2002
Location: Maryland
Distribution: SUSE 10.1 and 10.2
Posts: 44

Rep: Reputation: 15
Samba has nothing to do with this problem; it's CUPS that you need to configure correctly. On my system, the cups config file is /etc/cups/cupsd.conf.

One easy way to edit this config file on your Slackware server is using KDE's printing tools -- try the command "kcmshell printmgr" from a command line as root. Look for a "Print Server" button and select "Configure Server". Under the "Network" entry, make sure the server is listening on the network; there should be an entry in the "Listen to" box that looks like "Listen *:631", which will listen to all hosts (the "*") on CUPS port 631. If that's not there, click the "Add" button and add it.

Under the "Security" entry, make sure your printer is listed in the "Locations" box; if not, add it. Check that any host can print -- select your printer in the "Locations" box, click the "Edit" button, and make sure there's an entry like "Allow from All" in the "ACL addresses" box. If not, add it; you can restrict which hosts can print by adding something like "Allow from 192.168.1.100" or "Allow from 192.168.1.*".

When you're done, keep clicking the OK button. Restart your CUPS server, and hopefully everything should work. Good luck.
 
Old 11-23-2005, 03:28 PM   #4
adwd3509@yahoo
LQ Newbie
 
Registered: Jan 2003
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks for your reply. I have done what you suggested but I still am getting a refusal to allow printing under linux. I can print from all the other windows computers, but not the linux machines. I have each user listed in my hosts file along with user name added for the server and for samba. I keep getting connection refused. I may try a fresh install with the new 10.2 and see what happens. Have you ever used webmin? I have been tempted to try it but I really hate loosing control of my machine. You never know what is happening behind the curtain.
Alan
 
Old 11-27-2005, 10:29 PM   #5
sjr
Member
 
Registered: Oct 2002
Location: Maryland
Distribution: SUSE 10.1 and 10.2
Posts: 44

Rep: Reputation: 15
Have you set up CUPS on the client machines?
 
Old 11-30-2005, 11:55 AM   #6
adwd3509@yahoo
LQ Newbie
 
Registered: Jan 2003
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks for your reply,
Yes I did set up cups, but I think I found the problem. I must have set up the firewall so tight in iptables, that I am not allowing anyone thru the nessesary port to get to the printer. Samba must be able to bypass this. Since I changed the firewall script I can not access the home directories from linux either. I'll have to study up on iptables.
 
  


Reply



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 Over Network eggoz Linux - General 7 02-01-2005 11:12 AM
Network printing drguitarum2005 SUSE / openSUSE 7 12-24-2004 02:47 AM
Network printing with OS/2 Nychold Linux - Networking 0 04-29-2004 09:56 PM
Printing over a network r_sanoop Linux - Newbie 2 08-02-2003 11:33 AM
printing on the network jj71 Linux - Newbie 1 07-31-2003 03:21 PM

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

All times are GMT -5. The time now is 01:20 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