Hi,

I was all day (it's late night right now) trying to set up autologin for
my ltsp server/thin clients. I'm using LTSP standalone v5.3.7

The problem that i'm facing is that since dhcpd is serving the IP
addresses dynamically, it changes the IP for the clients once in a while
so i get a loop at start session from the client.

I'm using lts.conf to set the ip (class A network), user and passwd for
each client.

Something like,
======================================================
[Default]
LDM_AUTOLOGIN = True

[10.10.10.21]
LDM_USERNAME = ltsp-01
LDM_PASSWORD = user01


[10.10.10.NN]
LDM_USERNAME = ltsp-NN
LDM_PASSWORD = userNN

..........
======================================================

and trying to set the static IP on clients by defining the MAC address
on /etc/ltsp/dhcpd.conf like here,

======================================================
host ltsp-01 {
     hardware ethernet 01:23:45:67:89:0a;
     fixed-address 10.10.10.21;
}

host ltsp-02 {
     hardware ethernet 01:23:45:67:89:NN;
     fixed-address 10.10.10.NN;
}
..........
======================================================

I tried using both a 'group {MAC-ADDRESSES}' also by
'pool{MAC-ADDRESSES}' but i got errors that the IP was already on the
dynamic pool for 10.10.10.0/24 on both ways.

If you ask, i set up the static IP inside the subnet range
at /etc/ltsp/dhcpd.conf

> range 10.10.10.20 10.10.10.250;

and out of it,

> range 10.10.10.40 10.10.10.250;


I know that somehow this is a network issue, i might not know enough
about networking, so that's why i feel like i'm missing some important
things here.

My result by trying to enable autologin with dynamic IPs was really
scary, imagine 15 screens looping on a start session error with blinking
black screens all at the same time ;).

IIRC, there was somewhere that said i could set MAC instead of IP on
lts.conf

So maybe i could set,
======================================================
[Default]
LDM_AUTOLOGIN = True

[01:23:45:67:89:0a]
LDM_USERNAME = ltsp-01
LDM_PASSWORD = user01


[01:23:45:67:89:NN]
LDM_USERNAME = ltsp-NN
LDM_PASSWORD = userNN

..........
======================================================

And get rid of the /etc/ltsp/dhcpd.conf modification once and for all,
since i'm such a mess touching several (network-)configurations files at
once.
I'll try that tomorrow since it's been a looong day trying to set this
up.

My success today was replacing iTALC by Epoptes, really handy ;)

I'll appreciate any comments on this, even if it's pointing to a good
and simple dhcpd manual ;).

Cheers.
-- 
Luis A. Guzmán García
¡Se Libre! - http://fsfla.org/selibre
The Hardware Database Project - http://www.h-node.org
GPG Key: EB153FAF

Attachment: signature.asc
Description: This is a digitally signed message part

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_____________________________________________________________________
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