On Fri, 6 Apr 2007, Amarendra Godbole wrote:
My FreeBSD box picks up its IP through DHCP. Now I configured a
printer on this machine, using apsfilter. So far so good. Now when I
try to print anything, I see the following error in the lpd-errs file:
------------
Apr 6 11:00:03 zimbu lpd[1501]: unable to get official name for local
machine zimbu.vxindia.veritas.com: hostname nor servname provided, or
not known
Apr 6 11:00:03 zimbu lpd[1501]: lp: no line printer device or host name
------------
Now, if I add an entry for zimbu in /etc/hosts (with the currently
assigned IP address), printing works fine.
This is not really an lpd question, but a DHCP and DNS question.
Depending on your DHCP server, the "send host-name" option of
dhclient.conf might help.
-Warren Block * Rapid City, South Dakota USA
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"