On Thu, 2008-10-30 at 17:16 -0700, Vagrant Cascadian wrote:
> On Thu, Oct 30, 2008 at 05:17:40PM -0400, bjc wrote:
> > Each time I reboot my ltsp-server, ldm refuses to log users into the
> > clients. I get the message "this workstation isn't authorized to connect
> > to server".
> 
> is the server getting it's primary ip address via dhcp and getting a different
> address each time?  could you possibly configure your server to get a static 
> ip
> address?

Hi Vagrant,

The server and clients do have static ip addresses;
my  /etc/network/interfaces file is;

auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
iface eth0 inet static
address 192.168.0.253
netmask 255.255.255.0
gateway 192.168.0.1
up iptables -t nat -A POSTROUTING -o $IFACE -j MASQUERADE
auto eth0
iface eth1 inet static
address 192.168.1.253
netmask 255.255.255.0
gateway 192.168.0.1
auto eth1
interfaces (END) 

my /etc/hosts file is;
127.0.0.1 localhost localhost.localdomain localhost localhost
c2d.localhost
192.168.1.253 c2d.localhost
# The following lines are desirable for IPv6 capable hosts
ff02::3 ip6-allhosts ip6-allhosts
## LTSP-begin ##
# The lines between 'LTSP-begin' and 'LTSP-end' were added
# on: Sun Feb 25 21:51:17 2007, by the ltspcfg configuration tool.
# For more information, visit the LTSP homepage
# at http://www.LTSP.org
192.168.1.1 ws001.ltsp ws001
192.168.1.2 ws002.ltsp ws002
192.168.1.3 ws003.ltsp ws003

> > Others have mentioned this problem on this list and suggest
> > running two commands to fix the situation; ltsp-update-sshkeys followed by
> > ltsp-update-image -a i386. This works for me, but only until I reboot my
> > server. The situation then starts happening again. 
> ...snip...
> > I'm running ltsp5 in debian lenny on a amd64 server with i386 cliants.
> 
> you should only need to run ltsp-update-sshkeys on Debian (if you're
> using NFS, which is the default, NBD doesn't have a mechanism yet to
> update individual files without rebuilding the image). ltsp-update-image
> updates NBD images. 

Thats correct, I do only have to run ltsp-update-sshkeys to get the
clients to log in. 

> though, that should happen automatically whenever you bring up your network
> interface, if you're configuring your network interfaces in
> /etc/network/interfaces.
> 
> live well,
>   vagrant

Thanks for your help


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_____________________________________________________________________
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