On 11/30/2010 01:11 AM, Wolfgang Rosenauer wrote:
Hi, I know it's not working but it's also not fixable w/o dirty workarounds. That is my home network which has a hardware router responsible for resolving DNS. There is no way to define an internal domain name there. It just has no good concept for internal DNS structures.
This I don't understand? DNS? /etc/hosts? LMHOSTS? WINS?
See above. I know quite a bit about DNS but the possible solutions for that underlying issue are worse for other reasons.
Wolfgang, Even at home, the first thing I do is get BIND9 setup to accept dynamic updates from dhcpd and go from there. That way if I ever end up with a device like your that needs to be accessed (like playstations, wii's, smartphones, etc..) I can always create a forward and reversion lookup for the device. With your printer, if the clients can't communicate with it, how are they going to be able to print to it? If it is broadcasting it's name, then there has to be a way for the clients to know where in the heck 'name' is on the network. If I was going to stick with the router doing dns and dhcp, then I guess I would try setting the /etc/hosts on Linux boxes and LMHOSTS on the windows boxes in %SystemRoot%\System32\Drivers\Etc You can get the full write up here: http://support.microsoft.com/kb/314108 That way both Linux and Win boxes could take the broadcast name and turn it into an IP. You may also be able to create a printer share specifically for your printer on samba on your Linux box. At least then you would have WINS to help with netbios name resolution.
All documentation I've found says that I need to set
"ServerName" in cupsd.conf to the ip address.
You might try setting the name as well as aliases. Example from my box:
ServerName nirvana.3111skyline.com ServerAlias nirvana ServerAlias www.3111skyline.com ServerAlias localhost
Tried now ServerName 192.168.250.1 ServerAlias hygiea
Still the broadcast tells the `hostname -f` as printer URI.
Have you looked at the setup with the cups interface on the server you are working on? http://servername:631
Yes, but I see no way to customize the printer URI.
These are just thoughts. Give us a little more specific info on how the printer is connected on the remote end and we will be happy to make more guesses :p
As explained above I only try to workaround the DNS issue in my network. But according to Google and the documentation I found ServerName IP_ADDRESS should just do it which doesn't for me.
I'm not sure you are chasing the right rabbit here. The ServerName IP identify the cups server. I'm not familiar with the work-around and may be completely wrong, but the only way I see it making any sense is if you were setting up some type of 'virtual' cups server using the printer IP as the server name. But, I've never heard of doing that before. The good part of it is -- somebody has bound to have done it with your printer before, so I'd hit google a couple more times on 'setup <your model> printer on network' or something similar. Good luck. -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org