[sane-devel] No scanners detected on LTSP fat client when net.conf uses hostname

Michael Shigorin mike at altlinux.org
Thu May 7 06:54:59 UTC 2015

On Wed, May 06, 2015 at 03:14:37PM -0400, John Hupp wrote:
> The last step is configuring /etc/sane.d/net.conf for sane
> clients, identifying saned hosts either by hostname or IP
> address.  I find that using the hostname works on another
> actual standalone machine on the LAN, but it fails with the fat
> clients.  So far I can only make fat client scanning work by
> entering an IP address.

Fix resolving on your LAN / within the served image, this has
nothing to do with SANE (I've been doing ALTSP, trust me :) --
http://www.tldp.org/HOWTO/NET3-4-HOWTO-5.html#ss5.5 might help.

Start with "resolve" or "host" commands on the fat client
and cite your /etc/resolv.conf when asking for help on
e.g. #ltsp at irc.freenode.net.

> But the server gets its IP address by DHCP, a feature I want to
> preserve so that I don't have to get into the router
> configuration when I set one of these up.

If you don't run a farm of servers, you generally want their
LAN IPs configured statically and not dynamically (and if there
was a real reason to do DHCP for *servers* you would know better
already); if your router leases and has some range
like "2-200" for the last octet, you can put the server at .254
and be done with that.

 ---- WBR, Michael Shigorin / http://altlinux.org
  ------ http://opennet.ru / http://anna-news.info

More information about the sane-devel mailing list