[Ltsp-discuss] Changing from 1 nic setup to 2 nic setup - Ubuntu Hardy

2009-01-25 Thread Krsnendu dasa
I am using Ubuntu Hardy.

How do I change my server setup from one nic to a setup where the thin
client boot from one nic and the other nic connects to the rest of the
network.

Are there any tricks?

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_
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


Re: [Ltsp-discuss] Changing from 1 nic setup to 2 nic setup - Ubuntu Hardy

2009-01-25 Thread asmo . koskinen
 Are there any tricks?

No. Just run ltsp-update-sshkeys when you have added nic's and have
modified interfaces- and dhcpd.conf-files.

Best Regards Asmo Koskinen.


--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_
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


Re: [Ltsp-discuss] Changing from 1 nic setup to 2 nic setup - Ubuntu Hardy

2009-01-25 Thread Rob Owens
On Sun, Jan 25, 2009 at 07:16:48PM +0200, asmo.koski...@arkki.info wrote:
  Are there any tricks?
 
 No. Just run ltsp-update-sshkeys when you have added nic's and have
 modified interfaces- and dhcpd.conf-files.
 
What about NAT rules, so that the thin client network has access to the same 
network resources as the server?  Or is that handled automatically?

-Rob

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_
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


Re: [Ltsp-discuss] Changing from 1 nic setup to 2 nic setup - Ubuntu Hardy

2009-01-25 Thread asmo . koskinen
 What about NAT rules, so that the thin client network has access to the
 same network resources as the server?  Or is that handled automatically?

Yes - automatically, if you keep eth1 as 192.168.0.254; eth0 can be
whatever. I have done yet another howto in finnish about two nic's. I just
added another nic, use default interface (eth1/192.168.0.254) for
lan/dhcpd.conf and yes, it works just like when you install Alternate CD.
Howto is here:

http://wiki.ubuntu-fi.org/LTSP5_Perusasennus

Best Regards Asmo Koskinen.


--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_
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


Re: [Ltsp-discuss] Incomplete session list on ldm screen, Debian Lenny

2009-01-25 Thread Vagrant Cascadian
On Sat, Jan 24, 2009 at 08:49:31AM -0500, Rob Owens wrote:
 On my Debian Lenny machine with LTSP 5 and a fresh chroot environment, I get
 an incomplete list of options when I attempt to choose my session at the ldm
 screen.  These are my only options:
 
 Default
 Failsafe xterm

 I have Gnome and FVWM-Crystal installed, and see those options in my GDM
 screen.  When I log into a thin client, I get Gnome because that is my
 default.

sounds like ldminfod isn't set up on the server, which parses the
/usr/share/xsessions/*.desktop files for session types.

does /usr/sbin/ldminfod exist on your server? should be part of the ltsp-server
package.

grep ldminfod /etc/inetd.conf should return something like this:

  9571   stream  tcp nowait  nobody /usr/sbin/tcpd 
/usr/sbin/ldminfod

if it doesn't, try to add it with the command:

  update-inetd --group LTSP --add 9571   stream  tcp nowait  
nobody /usr/sbin/tcpd /usr/sbin/ldminfod

and restart inetd:

  invoke-rc.d openbsd-inetd restart

telnet 127.0.0.1 9571 should return something like this:

  Trying 127.0.0.1...
  Connected to 127.0.0.1.
  Escape character is '^]'.
  language:en_US.UTF-8
  language:es_US.UTF-8
  session:/usr/bin/icewm-session
  session:/usr/lib/gdm/gdm-ssh-session
  session:startxfce4
  session:/usr/bin/gnome-session
  session:awesome
  xsession:/etc/X11/Xsession
  rating:97

 Is there any way for me to manually add to the list of session choices?

you could tell inetd to run a different program on port 9571, but it sounds
like ldminfod just isn't set up correctly.

live well,
  vagrant

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_
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


Re: [Ltsp-discuss] Incomplete session list on ldm screen, Debian Lenny

2009-01-25 Thread Rob Owens
On Sun, Jan 25, 2009 at 03:19:10PM -0800, Vagrant Cascadian wrote:
 On Sat, Jan 24, 2009 at 08:49:31AM -0500, Rob Owens wrote:
  On my Debian Lenny machine with LTSP 5 and a fresh chroot environment, I get
  an incomplete list of options when I attempt to choose my session at the ldm
  screen.  These are my only options:
  
  Default
  Failsafe xterm
 
  I have Gnome and FVWM-Crystal installed, and see those options in my GDM
  screen.  When I log into a thin client, I get Gnome because that is my
  default.
 
 sounds like ldminfod isn't set up on the server, which parses the
 /usr/share/xsessions/*.desktop files for session types.
 
 does /usr/sbin/ldminfod exist on your server? should be part of the 
 ltsp-server
 package.
 
 grep ldminfod /etc/inetd.conf should return something like this:
 
   9571   stream  tcp nowait  nobody /usr/sbin/tcpd 
 /usr/sbin/ldminfod
 

ldminfod exists, and I get the output you've shown above.

 if it doesn't, try to add it with the command:
 
   update-inetd --group LTSP --add 9571   stream  tcp nowait  
 nobody /usr/sbin/tcpd /usr/sbin/ldminfod
 
 and restart inetd:
 
   invoke-rc.d openbsd-inetd restart
 
 telnet 127.0.0.1 9571 should return something like this:
 
   Trying 127.0.0.1...
   Connected to 127.0.0.1.
   Escape character is '^]'.
   language:en_US.UTF-8
   language:es_US.UTF-8
   session:/usr/bin/icewm-session
   session:/usr/lib/gdm/gdm-ssh-session
   session:startxfce4
   session:/usr/bin/gnome-session
   session:awesome
   xsession:/etc/X11/Xsession
   rating:97
 
telnet 127.0.0.1 9571 gives me:

Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
language:
language:en_US.UTF-8
Traceback (most recent call last):
  File /usr/sbin/ldminfod, line 128, in module
lines = get_sessions('/usr/share/xsessions/')
  File /usr/sbin/ldminfod, line 87, in get_sessions
variable, value = line.split('=')
ValueError: too many values to unpack
Connection closed by foreign host.

Obviously this is part of my problem, but I don't know what it means...
Some of my *.desktop files in /usr/share/xsessions contain a lot of lines for 
alternate languages (which I don't speak).  Just throwing that out there in 
case it's the cause of the too many values to unpack error.

-Rob

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_
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