Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Was able to get LTSP running under Gentoo
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
flickerfly
l33t
l33t


Joined: 08 Nov 2002
Posts: 677
Location: Lanham, MD

PostPosted: Wed Feb 19, 2003 4:45 pm    Post subject: blogcast of Gentoo LTSP setup Reply with quote

heino wrote:
...we want to update to an Dual Athlon MP 2400+ System and to use the complete performance of such a system Gentoo...


I'd enjoy hearing how you do with this. I'm working on a similar thing and trying to put together documentation as I go. I'd really appreciate it if you could scribble down your steps as you go so that I could check it with mine as I document. If you are a blogger, I'll give you a username and password to my greymatter setup so that you can post as you go in a "blogcast" as I've heard it called. If not, that's fine.

(You can see my current ALPHA draft at http://www.ritchietribe.net/~josiah/doc/ltsp-install.xml.)
------
edit: The above URL is incorrect. I have switched hosting services as they wiped out my entire data. Good news is that the next one is better. Check http://josiah.ritchietribe.net for the update. I haven't got it up, but will as soon as I can. My logs show someone already came looking. :D If it's not there when you're looking PM me and I'll be motivated some more.
_________________
An Evil Genious' Guide to Sheeple and How To Avoid Becoming One | 0x4C9EF4A


Last edited by flickerfly on Sat Mar 29, 2003 7:43 pm; edited 1 time in total
Back to top
View user's profile Send private message
flickerfly
l33t
l33t


Joined: 08 Nov 2002
Posts: 677
Location: Lanham, MD

PostPosted: Wed Feb 19, 2003 5:24 pm    Post subject: blogcast of Gentoo LTSP setup Reply with quote

Oops, was a duplicate post. Moderator, please delete.
_________________
An Evil Genious' Guide to Sheeple and How To Avoid Becoming One | 0x4C9EF4A


Last edited by flickerfly on Wed Feb 19, 2003 9:05 pm; edited 1 time in total
Back to top
View user's profile Send private message
lanius
Retired Dev
Retired Dev


Joined: 08 Dec 2002
Posts: 160

PostPosted: Wed Feb 19, 2003 8:47 pm    Post subject: Reply with quote

No problem, i can write few notes about it, but there is still one month to go till we get the new server :)
Back to top
View user's profile Send private message
flickerfly
l33t
l33t


Joined: 08 Nov 2002
Posts: 677
Location: Lanham, MD

PostPosted: Wed Feb 19, 2003 8:53 pm    Post subject: Reply with quote

heino wrote:
No problem, i can write few notes about it, but there is still one month to go till we get the new server :)


Great, I can wait. I probably won't have enough time to mess with it in the next month to get any where near as done as I'd like anyway. (Snow days are good for accomplishing these types of things as I found the last couple days.)

I'd like to have it done by early-summer though for those schools who may transition over the summer break. Seems like that's when it will most be needed.
_________________
An Evil Genious' Guide to Sheeple and How To Avoid Becoming One | 0x4C9EF4A
Back to top
View user's profile Send private message
lanius
Retired Dev
Retired Dev


Joined: 08 Dec 2002
Posts: 160

PostPosted: Wed Feb 19, 2003 8:54 pm    Post subject: Re: 5.0.8, not earlier Reply with quote

flickerfly wrote:
Quote:
If any of you have troubles with a workstation rebooting as soon as it downloads the kernel, try using the 5.0.8 release from www.rom-o-matic.net instead of 5.1.3 or 5.1.5


I'm assuming this is because of:
Quote:
NOTE: This Etherboot version *requires* that Linux kernels be tagged with mknbi-1.2-10 or later or they will not work!!
mknbi (the utility that tags kernels and other images so that they are network loadable) is available at

http:// etherboot.sourceforge.net/distribution.html


I haven't tested it yet, but I assume we could use the mknbi utility available at http://etherboot.sourceforge.net/distribution.html to build a new kernel in order to use the 5.1.x rom-o-matic stuff. Anybody doing this yet?


mknbi is already in the portage tree. To make your own kernel image for an ltsp system you have to build your kernel and than convert it to an ltsp-kernel with the ltsp-initrd-kit (http://sourceforge.net/project/showfiles.php?group_id=17723).
Back to top
View user's profile Send private message
flickerfly
l33t
l33t


Joined: 08 Nov 2002
Posts: 677
Location: Lanham, MD

PostPosted: Mon Feb 24, 2003 9:14 pm    Post subject: Reply with quote

heino wrote:
mknbi is already in the portage tree.

Great!!
_________________
An Evil Genious' Guide to Sheeple and How To Avoid Becoming One | 0x4C9EF4A
Back to top
View user's profile Send private message
lanius
Retired Dev
Retired Dev


Joined: 08 Dec 2002
Posts: 160

PostPosted: Mon Mar 31, 2003 6:49 pm    Post subject: Reply with quote

Here's our new PC a Dual Athlon MP 2400+ with 2GB RAM ^^ Ok in the next two weeks I'll try to install ltsp on gentoo. I'll make some notes, so we can write a documentation for it ;D
Back to top
View user's profile Send private message
flickerfly
l33t
l33t


Joined: 08 Nov 2002
Posts: 677
Location: Lanham, MD

PostPosted: Mon Mar 31, 2003 6:54 pm    Post subject: Reply with quote

heino wrote:
Here's our new PC a Dual Athlon MP 2400+ with 2GB RAM ^^ Ok in the next two weeks I'll try to install ltsp on gentoo. I'll make some notes, so we can write a documentation for it ;D


Gotta love getting packages in the mail. :)

:-) glad to hear your still here. If you want I could setup a greymatter blog space to help keep notes or you can post them here or you can just get them to me as you wish. Thanks for agreeing to it. I'm looking forward to the whole deal.

What are you using for terminals?
_________________
An Evil Genious' Guide to Sheeple and How To Avoid Becoming One | 0x4C9EF4A
Back to top
View user's profile Send private message
lanius
Retired Dev
Retired Dev


Joined: 08 Dec 2002
Posts: 160

PostPosted: Tue Apr 01, 2003 7:13 am    Post subject: Reply with quote

There are about 40 Pentium I 130Mhz and 10 Pentium II 300Mhz Terminals. Don't think we need a blog space, I will just post my notes here or write you an mail :)
Back to top
View user's profile Send private message
flickerfly
l33t
l33t


Joined: 08 Nov 2002
Posts: 677
Location: Lanham, MD

PostPosted: Tue Apr 01, 2003 2:44 pm    Post subject: Reply with quote

heino wrote:
Don't think we need a blog space, I will just post my notes here or write you an mail :)


OK, sounds good.
_________________
An Evil Genious' Guide to Sheeple and How To Avoid Becoming One | 0x4C9EF4A
Back to top
View user's profile Send private message
alec
Apprentice
Apprentice


Joined: 19 Apr 2002
Posts: 270
Location: Here

PostPosted: Wed Apr 02, 2003 4:58 am    Post subject: Reply with quote

Please post them here - I for one am very interested in hearing, and it's great community knowledge. Better yet set up a detailed "Documents, Tricks, and Tips" how-to or some XML goodness!
Back to top
View user's profile Send private message
lanius
Retired Dev
Retired Dev


Joined: 08 Dec 2002
Posts: 160

PostPosted: Wed Apr 02, 2003 7:23 am    Post subject: Reply with quote

alec wrote:
Please post them here - I for one am very interested in hearing, and it's great community knowledge. Better yet set up a detailed "Documents, Tricks, and Tips" how-to or some XML goodness!


This is exactly what I wanted to do ;D
Back to top
View user's profile Send private message
lanius
Retired Dev
Retired Dev


Joined: 08 Dec 2002
Posts: 160

PostPosted: Mon Apr 07, 2003 2:07 pm    Post subject: Reply with quote

Ok here's my first draft ;D

http://cojobo.bonn.de/~h_wendel/gentoo/ltsp.html

sure there is much work to do on it, so feedback is welcomed :)
Back to top
View user's profile Send private message
flickerfly
l33t
l33t


Joined: 08 Nov 2002
Posts: 677
Location: Lanham, MD

PostPosted: Fri Apr 18, 2003 12:51 am    Post subject: Reply with quote

heino wrote:
Ok here's my first draft ;D

http://cojobo.bonn.de/~h_wendel/gentoo/ltsp.html

sure there is much work to do on it, so feedback is welcomed :)


Cool, your using guide XML.

Some proofreading and thoughts as I'm reading
Proof Reading:
    *Under Installation >Preliminaries
    "Note: Alle examples presume" change to "All the examples..." maybe?
    *Under Configuration > Display Manager
    "Note: XDM and GDM didn't work fore me, I used GDM" change to "XDM and KDM ... I used GDM"

Thoughts:
    *What version are used for this tutorial?
    *I had a lot more packages that wanted to install (probably because I USE="gnome kde") Might be worth mentioning.
    *My /etc/exports portion was added automatically except for the "sync" option
    */etc/xinetd.d/tftp was already edited appropriately
    *It would be good to get some other syslog prog examples
    *Maybe we should write a little shell script for adding workstations into /etc/hosts that would take a range and add automatically
    *You could make notes in you dhcpd.conf with the proper Guide XML. If you're interested I'll look it up quick and post it.
    *I'd be interested to hear more about your issues with gdm, xdm and kdm


Anyone know how to get msyslog to accept log reports from other computers?

I appreciated your comment about the kernel. I was having issues with that. Thanks.
_________________
An Evil Genious' Guide to Sheeple and How To Avoid Becoming One | 0x4C9EF4A
Back to top
View user's profile Send private message
lanius
Retired Dev
Retired Dev


Joined: 08 Dec 2002
Posts: 160

PostPosted: Fri Apr 18, 2003 8:36 am    Post subject: Reply with quote

OK, I updatet some items, please read through again :)

Quote:
Maybe we should write a little shell script for adding workstations into /etc/hosts that would take a range and add automatically

Don't think so ;D

Quote:
I'd be interested to hear more about your issues with gdm, xdm and kdm

KDM is working fine for me, gdm isn't starting at all and xdm does accept remote connections randomly.

mfg, heino :)
Back to top
View user's profile Send private message
flickerfly
l33t
l33t


Joined: 08 Nov 2002
Posts: 677
Location: Lanham, MD

PostPosted: Sat Apr 19, 2003 5:15 pm    Post subject: Reply with quote

heino wrote:
OK, I updatet some items, please read through again :)

Quote:
Maybe we should write a little shell script for adding workstations into /etc/hosts that would take a range and add automatically

Don't think so ;D

Quote:
I'd be interested to hear more about your issues with gdm, xdm and kdm

KDM is working fine for me, gdm isn't starting at all and xdm does accept remote connections randomly.

mfg, heino :)


I'm at my relatives house right now, but as I was fixing the printer, took the opportunity to "test" the printer and printed it out to proof read later.

I saw you added the comments in the code. That's a good touch. I'll say more after I've looked over better.

Thanks!
_________________
An Evil Genious' Guide to Sheeple and How To Avoid Becoming One | 0x4C9EF4A
Back to top
View user's profile Send private message
Freak_NL
Apprentice
Apprentice


Joined: 27 Jun 2002
Posts: 261
Location: The Netherlands

PostPosted: Wed Apr 23, 2003 9:00 am    Post subject: Reply with quote

Code:
# /etc/init.d/nfs start
# /etc/init.d/nfs start


Am I overlooking something here or are you making sure NFS really really is started? :?

All-inall, great document :)
Back to top
View user's profile Send private message
flickerfly
l33t
l33t


Joined: 08 Nov 2002
Posts: 677
Location: Lanham, MD

PostPosted: Wed Apr 23, 2003 7:38 pm    Post subject: Reply with quote

I wonder, just for the sake of discussion, if it would be easier to simply add each portion to the rc and then at the end switch to rc default rather than starting each individually. Just a thought that might remove some confusion and dumb it down, but you also lose some significant learning room too... Just another random thought.

Might also be good to put a resource link to burning eproms and stuff like that. That is where the power really comes into play with this. Here's a list fo good resources


When are you submitting it to bugs.gentoo.org for addition? It would be great to get this out and translated too. An increase in the Gentoo LTSP user base would only be good. :-)
_________________
An Evil Genious' Guide to Sheeple and How To Avoid Becoming One | 0x4C9EF4A
Back to top
View user's profile Send private message
flickerfly
l33t
l33t


Joined: 08 Nov 2002
Posts: 677
Location: Lanham, MD

PostPosted: Sat Apr 26, 2003 2:39 pm    Post subject: kernel Reply with quote

Just another thought. I didn't seen anything about config of the kernel. The server kernel needs to have Socket Filtering and Packet Socket enabled.
_________________
An Evil Genious' Guide to Sheeple and How To Avoid Becoming One | 0x4C9EF4A
Back to top
View user's profile Send private message
lanius
Retired Dev
Retired Dev


Joined: 08 Dec 2002
Posts: 160

PostPosted: Sun Apr 27, 2003 2:51 pm    Post subject: Reply with quote

Sorry, that i didn't reply earlier, the forum didn't send me a notice, so i didn't look into the thread.

I had a little accident and lost the document, maybe somebody saved it or has it still in his browser-cache *hope*
Back to top
View user's profile Send private message
flickerfly
l33t
l33t


Joined: 08 Nov 2002
Posts: 677
Location: Lanham, MD

PostPosted: Mon Apr 28, 2003 4:04 pm    Post subject: Reply with quote

heino wrote:
Sorry, that i didn't reply earlier, the forum didn't send me a notice, so i didn't look into the thread.

I had a little accident and lost the document, maybe somebody saved it or has it still in his browser-cache *hope*


Nope, but I do have a printout of it somewhere. Unless my wife threw it out. I'll check on that when I get home and get back to you.
_________________
An Evil Genious' Guide to Sheeple and How To Avoid Becoming One | 0x4C9EF4A
Back to top
View user's profile Send private message
flickerfly
l33t
l33t


Joined: 08 Nov 2002
Posts: 677
Location: Lanham, MD

PostPosted: Tue Apr 29, 2003 2:36 am    Post subject: Reply with quote

Good News I found the print out.

1. Intro
- What is LTSP
2. Installation
- Preliminaries: Just a gentoo base-system
Important: All the examples presume that your server's IP is 192.168.0.254, your domain is named yourdomain.com and your network is 192.168.0.0/255.255.255.0
Important: This tutorial is based on ltsp-core version 3.0.7.
- Installation: The easiest step ...
Code PRE= Emerging LTSP
# ACCEPT_KEYWORDS="~x86" emerge ltsp-core

This will install the following packages (and it's dependencies)...

Note: If you have the kde/gnome useflag set, it will also install a complete kde/gnome system.
3. Configuration ... I'll come back and type us some more later
_________________
An Evil Genious' Guide to Sheeple and How To Avoid Becoming One | 0x4C9EF4A
Back to top
View user's profile Send private message
lanius
Retired Dev
Retired Dev


Joined: 08 Dec 2002
Posts: 160

PostPosted: Tue Apr 29, 2003 3:22 pm    Post subject: Reply with quote

Oh, very thanx :):):)

I converted the first two chapters into xml again, old address:

http://cojobo.bonn.de/~h_wendel/gentoo/ltsp.html

(never do an xsltproc xsl/guide_pre_lwe.xsl ltsp.xml > ltsp.xml ;D)
Back to top
View user's profile Send private message
flickerfly
l33t
l33t


Joined: 08 Nov 2002
Posts: 677
Location: Lanham, MD

PostPosted: Tue Apr 29, 2003 4:36 pm    Post subject: Reply with quote

Thanks for tossing my name up there on the page. You can use my real name, Josiah Ritchie {josiah -at- ritchietribe.net} as that would probably make it look more professional/fit Gentoo documentation and conventions.

3. Configuration: Etc-update
After the emerge process has finished there are several new configuration-files to install, just type in etc-update.
NOTE: All new files are modified versions of the old files, so it's safe (adn recommended) to overwrite all the old ones.
:System Logger
The system logger must be configured to accept remote connections.
If you use the old style sysklogd, you just have to add "-r" to the SYSLOGD entry in the /etc/conf.d/sysklogd.
:NFS
Next step: edit your /etc/exports file. There should at least be two lines in it:
Code PRE=/etc/exports
<insert /etc/exports here>
NOTE: You have to alter the network/netmask to match your network/netmask settings.
... then start nfs ...
Code PRE start nfs
<insert commands on starting nfs>
:XINETD/TFTP
Edit /ext/xinetd.d/tftp, change disable=yes to disable=no and start xinetd ...
Code PRE start xinetd
<insert commands to start inetd>
... more later when I get another second
_________________
An Evil Genious' Guide to Sheeple and How To Avoid Becoming One | 0x4C9EF4A
Back to top
View user's profile Send private message
flickerfly
l33t
l33t


Joined: 08 Nov 2002
Posts: 677
Location: Lanham, MD

PostPosted: Tue Apr 29, 2003 6:02 pm    Post subject: Reply with quote

and the final bit of this recovery::

:Hosts file
All workstations must be listed in /etc/hosts. Take a look at the example:
Code PRE=/etc/hosts example
<insert /etc/hosts here>
:DHCP
Edit your dhcp.conf...
Code PRE=Sample dhcpd.conf
<insert dhcpd.conf here>
...alter the IFACE sertting in /etc/conf.d/dhcp according to your needs...
...and start dhcpd...
Code PRE=Start dhcpd
<insert commands here>
Note: DHCPD needs CONFIG_PACKET and CONFIG_FILTER activated in the kernel.
:LTSP Config
Visit http://www.ltsp.org/documentation/ltsp-3.0-4-en.html#AEN903 for a full description of all options for /opt/ltsp/i386/etc/lts.conf.
:Displaymanager
Now you have to change the configuration for your displaymanager to accept remote connections.
XDM: In /etc/X11/xdm/xdm-config comment DisplayManager.requestPort: 0 out
KDM: In /usr/kde/3.1/share/config/kdm/kdmrc look for the [Xdmcp] section and change Enable = false to Enable = true.
GDM: In /etc/X11/gdm/gdm.conf look for the [xdmcp] section and change Enable = false to Enable = True.
and then start the displaymanager
Code PRE=start xdm
<insert commands here>
Warning: XDM and GDM didn't work for me, so I user KDM.
:Create a bootfloppy
You are nearly done, the last step is to create a boot-floppy, which is needed to start your workstations. God to http://www.rom-o-matic.net/5.0.9/, select your NIC, press Get ROM and write the image to a floppy...
Code PRE=write floppy image
cate nicfile.lzdsk > /dev/fd0
4. Troubleshooting
There are a lot of things that can ge the source of troube, but there are also several resources around which help you solve your problems:

    The official documentation: http://www.ltsp.org/documentation/, especially the Troubleshooting section.
    The gentoo IRC channel: irc.freenode.org #gentoo
    the ltsp irc channel: irc.freenode.org #ltsp

5. Final Notes
_________________
An Evil Genious' Guide to Sheeple and How To Avoid Becoming One | 0x4C9EF4A
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3, 4, 5  Next
Page 2 of 5

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum