LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1186|回复: 1

急! Subnet share of Networked CUPS (IPP) fail

[复制链接]
发表于 2005-11-7 08:50:59 | 显示全部楼层 |阅读模式
I am testing printer share.  NOTE: not smb share.  My smb share control works fine. Now it is pure CUPS share.  To avoid confusion, I actually turn off smb on both server and client.

1. Run the system-config-printer ,and setup your locally connected printer.
2. Once it is setup, right click on it and goto the sharing tab which will allow you to share it for your local network , 192.168.1.0/255.255.255.0

But on my client side, it complains it is not shared.

If I share it for "ALL HOSTS" or "Single IP Address", it works fine.  My client can connect to my server's CUPS and send printing file to server's printer.

I also tested by manually editing /etc/cups/cups.conf
Allow from 192.168.1.0/255.255.255.0

Same thing: it works fine for "Allow ALL" or "Allow 192.168.1.123" (a single machinme), but not work for a subnet.

The only thing I can think as a clue is that my server and my client are on DIFFERENT SUBNET.....could this be the problem?

I currently don't have two linux machines on the same subnet   and can't confirm..

Anyone knows what's going on? Thanks a lot!!!!
 楼主| 发表于 2005-11-7 23:06:16 | 显示全部楼层
Today I tested it again.  

Although I don't have two linux machines in the same subnets, but I have a windows machine which is in the same subnet as the server.

1. Share local printer to the same subnet where my local printer and windows are in.  YES, it is shared. From windows machine, in browser,

http://printerserver:631/printers/printername

and it will display the printer info.

2. Share local printer to a different subnet other than the windows machine. From windows' browser, type this URL, but it will say "page not found".

So it seems the share is working fine if both server and client are in the same subnets.

Any one has seen this problem?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表