Anton Vaaranmaa kirjoitti:

> Asmo Koskinen kirjoitti:
>> CUPS_SERVER = ubuntu-studio
> 
> I have the IP address there, but if your hosts files are in order I
> guess you can go with the host name instead. I have this file in the
> global section at the beginning of the lts.conf file.

OK - you have to use ip number.

1. This works.

[default]
CUPS_SERVER = 192.168.1.102

r...@ltsp201:~# cat /etc/cups/client.conf
ServerName 192.168.1.101
r...@ltsp201:~#

2. This does not.

[default]
CUPS_SERVER = ubuntu-studio

r...@ltsp201:~# cat /etc/cups/client.conf
ServerName ubuntu-studio
r...@ltsp201:~#

3.

But if I add hostname in chroot, it works.

r...@ltsp201:~# cat /etc/hosts
127.0.0.1 localhost
127.0.0.2 ltsp201
192.168.0.254 server
192.168.1.101 ubuntu-studio
r...@ltsp201:~#

LTSP server has right /etc/hosts file.

admin-lt...@ubuntu-ltsp5:~$ cat /etc/hosts
127.0.0.1       localhost
192.168.1.102   ubuntu-ltsp5
192.168.1.101   ubuntu-studio
----

So use CUPS_SERVER = IP, not HOSTNAME and you are done with printing 
with local applications with two network cards in LTSP server.

Best Regards Asmo Koskinen.

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to