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 1, 2, 3, 4, 5  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
tyreth
Apprentice
Apprentice


Joined: 27 May 2002
Posts: 238
Location: Melbourne, Australia

PostPosted: Fri Jun 28, 2002 5:24 pm    Post subject: Was able to get LTSP running under Gentoo Reply with quote

I'm writing this post on a p133 with 32mb ram that is running as a thin client off my AMD Athlon 1.33ghz, using Gentoo :)

I posted earlier asking if anyone had done it. I thought I'd post here that it is possible, and not very difficult either. About as difficult as the first time I tried installing it on a supported distro :)

If you are interested, I used the RedHat 7.3 script as my base script (it was more similar than the mandrake script).

Had to get tftp working, and let gdm allow remote connections, and make sure the initialize script didn't overwrite some things (eg, using the shocking ltsp logo for gdm :)
Back to top
View user's profile Send private message
tyreth
Apprentice
Apprentice


Joined: 27 May 2002
Posts: 238
Location: Melbourne, Australia

PostPosted: Fri Jul 12, 2002 2:18 am    Post subject: Reply with quote

Here's a followup I gave to someone else with some extra details in case anyone needs help:

I just used the redhat-7.3.sh script I think, was closest. Just modify the script a little so it doesn't check what version you are running or something like that. Ah, this is what I did. I added the following bit to the install.sh script:

elif [ -f /etc/hosts.deny ]; then
DISTRO_NAME="Gentoo"
DISTRO_VERSION="2.4.19"
TEMPLATE_FILE="gentoo.sh"

and I created the gentoo.sh file by copying redhat-7.3.sh to gentoo.sh

Also had to make sure in.tftpd was installed, that's one of the two tftp packages for Gentoo, search the packages list. You will need to set up xinet.d if that is what you are using, create the file /etc/xinetd.d/tftp:

service tftp
{
disable = no
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
}

When it comes time to run /opt/ltsp/templates/ltsp_initialize - go through each manually, because there may be settings changes you don't want it to make.

Otherwise, the rest should be in the ltsp docs.
Back to top
View user's profile Send private message
jbarry
n00b
n00b


Joined: 27 May 2002
Posts: 55
Location: Panama

PostPosted: Fri Aug 02, 2002 2:38 am    Post subject: LTSP under Gentoo Reply with quote

Thanks so much for publishing your notes. I'm a Gentoo newbie and about to foolishly embark on my first attempt at setting up LTSP. You've given me a head start and if I make it through alright I'll do a good turn by publishing here any additional insights I might find.
Back to top
View user's profile Send private message
qwerty
n00b
n00b


Joined: 14 Jul 2002
Posts: 29
Location: Germany/Ruhrpott

PostPosted: Thu Aug 22, 2002 8:23 am    Post subject: Reply with quote

hey, thanks man!

ltsp is runnin
Back to top
View user's profile Send private message
Techie2000
Guru
Guru


Joined: 16 May 2002
Posts: 344

PostPosted: Fri Aug 23, 2002 3:43 am    Post subject: Reply with quote

If you made an ebuild the community would be forever greatful.
_________________
"And I'm right. I'm always right, but in this case I'm just a bit more right than I usually am." - Linus Torvalds
Back to top
View user's profile Send private message
tyreth
Apprentice
Apprentice


Joined: 27 May 2002
Posts: 238
Location: Melbourne, Australia

PostPosted: Tue Nov 12, 2002 9:25 am    Post subject: Reply with quote

Thought I'd add this note here - use atftp instead of netkit-tftp, because the latter gave me hassles, and the former worked properly straight away. You can use all the instructions I gave earlier for tftp with atftp.
Back to top
View user's profile Send private message
tyreth
Apprentice
Apprentice


Joined: 27 May 2002
Posts: 238
Location: Melbourne, Australia

PostPosted: Wed Nov 13, 2002 6:29 am    Post subject: Reply with quote

tyreth wrote:
Thought I'd add this note here - use atftp instead of netkit-tftp, because the latter gave me hassles, and the former worked properly straight away. You can use all the instructions I gave earlier for tftp with atftp.


Actually, this didn't solve my problems 100%. Check out this thread if you continue to have troubles:

https://forums.gentoo.org/viewtopic.php?t=22197
Back to top
View user's profile Send private message
flickerfly
l33t
l33t


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

PostPosted: Tue Nov 19, 2002 2:21 pm    Post subject: Rumors of an ebuild Reply with quote

I've heard rumors of an ebuild for this. Is it true? :?: I'm looking for it as I'd like to setup an LTSP lab at the College I work for and would much prefer Gentoo. Will it be in the portage tree soon?

Please say yes or point me to an ebuild. As Techie2000 said, "If you made an ebuild the community would be forever greatful." :D

I'm holding my breath for it... :oops:
_________________
An Evil Genious' Guide to Sheeple and How To Avoid Becoming One | 0x4C9EF4A
Back to top
View user's profile Send private message
kybber
Apprentice
Apprentice


Joined: 25 Jun 2002
Posts: 228
Location: Trondheim, Norway

PostPosted: Tue Nov 19, 2002 2:56 pm    Post subject: Reply with quote

I just saw this: http://www.pfm.ee/gentoo/ .

The link was found on a notice from october 10th on http://www.ltsp.org/
Back to top
View user's profile Send private message
jbarry
n00b
n00b


Joined: 27 May 2002
Posts: 55
Location: Panama

PostPosted: Tue Nov 19, 2002 5:15 pm    Post subject: ebuild broken? Reply with quote

Let us know if the ebuild actually builds for you. I tried it and encountered difficulty with "#emerge -p ltsp-core", which returns the warning that the requested ebuilds are masked.

I emailed David Snopek <xevol@newtonave.net> about it 9 days ago but haven't heard from him.
Back to top
View user's profile Send private message
digitalnick
Apprentice
Apprentice


Joined: 30 Jun 2002
Posts: 243
Location: Lawrence KS USA

PostPosted: Tue Dec 10, 2002 1:46 am    Post subject: Reply with quote

any updates on this everyone gettinng it working pretty well? many troubles .... im thinking of trying to convert a schooldistrict to linux wanting to use ltsp and as a gentoo user naturally id like to use gentoo as my distroo instead or redrat ;)
Back to top
View user's profile Send private message
phong
Bodhisattva
Bodhisattva


Joined: 16 Jul 2002
Posts: 778
Location: Michigan - 15 & Ryan

PostPosted: Tue Dec 10, 2002 2:43 am    Post subject: Reply with quote

This is a useful tip! As such, I'm moving it out of Other Things Gentoo to Documentation, Tips & Tricks.
_________________
"An empty head is not really empty; it is stuffed with rubbish. Hence the difficulty of forcing anything into an empty head."
-- Eric Hoffer
Back to top
View user's profile Send private message
mgirard
n00b
n00b


Joined: 30 Jul 2002
Posts: 64

PostPosted: Sat Dec 14, 2002 6:52 pm    Post subject: Re: ebuild broken? Reply with quote

jbarry wrote:
Let us know if the ebuild actually builds for you. I tried it and encountered difficulty with "#emerge -p ltsp-core", which returns the warning that the requested ebuilds are masked.

I emailed David Snopek <xevol@newtonave.net> about it 9 days ago but haven't heard from him.


In my ventures to setup and LTSP server on gentoo I encountered the same problem. The issue is that because portage has changed significantly (read: "advanced masking") you have to make a small change to the ltsp-core-3.0.7.ebuild file. Simply put the line:

Code:
KEYWORDS="x86"


into the file (I put mine right under HOMEPAGE) in order to "unmask" the file. Hopefully everything will work after that!

-Matt
Back to top
View user's profile Send private message
mgirard
n00b
n00b


Joined: 30 Jul 2002
Posts: 64

PostPosted: Thu Dec 19, 2002 9:05 pm    Post subject: Reply with quote

Allright, I am having a lot of trouble getting this all to work. I have been slowly working through each system (first the pxe stuff, then etherboot, etc). Only now I am really stuck on NFS.

The problem is that the client reports:
Code:
nfs server: 192.168.1.5 not responding, still trying


and after a little bit longer finally seems to give up with:
Code:
nfs: task 82 can't get a request slot


The problem here is that NFS is definetly running on the server. In fact the server logs show:
Code:
[rpc.mountd] authenticated mount request from ws002:688 for /opt/ltsp/i386 (/opt/ltsp/i386)

as soon as the first "not responding" message is displayed. Only it is responding, it is in the logs and according to showmount -a everything is keen. The kicker here is that I can nfs mount that directory (and the /home directories) flawlessly from my gentoo workstation (not the server, but on the same local network).

I enabled NFS 3 support in the kernel because it is supposed to be able to handle either 2 or 3 depending on the client. Could this be a factor here? Thanks for any help!

-Matt
Back to top
View user's profile Send private message
art
n00b
n00b


Joined: 22 Jun 2002
Posts: 47
Location: Ma

PostPosted: Sat Dec 28, 2002 7:18 pm    Post subject: ltsp Reply with quote

I used link from ltsp page and followed instrutions
emerged fine, there is no /opt/ltsp/templates file however.
anyone have this happen, and solution?
Back to top
View user's profile Send private message
flickerfly
l33t
l33t


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

PostPosted: Tue Feb 11, 2003 4:05 pm    Post subject: Build Reply with quote

I've tried:
    KEYWORDS="~x86" emerge -p ltsp-core3
    KEYWORDS="x86" ...
    USE="x86" ...
    USE="~x86" ...

and nothing seems to be working to unmask this package.. What's my problem?

I'd really like to get this working. Back in my RedHat days, LTSP was a great tool.
_________________
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 Feb 11, 2003 4:16 pm    Post subject: build (take2) Reply with quote

I tried:
ACCEPT_KEYWORDS="~x86" emerge -p ltsp-core
and still didn't work, but this time I got smart and tested it with
ACCEPT_KEYWORDS="~x86" emerge -p world
and that worked as it should. Any idea why an ebuild would pretend to be masked even when he mask is skipped over?
_________________
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 Feb 11, 2003 8:59 pm    Post subject: Solution Reply with quote

I figured it out:
I had to install by using the command
Code:

emerge ./ltsp-core-3.0.7.ebuild

Of course I had to be in the directory when issuing it (/var/local/portage for me)

Since I installed this on a mostly clean machine I had a whole screen full of dependencies, mostly from KDE I guess.

Anyone know why it wasn't picking this up on it's own? Perhaps this is why the ebuild hasn't made it into the tree yet. We'll see if it ever does...

edit:
Better explanation on this from Andres who is currently working on LTSP...
Andres Toomsalu wrote:
As of today ltsp-core is not in portage yet althou I expect it to commit
there by next week. Since then place the downloaded and unpacked
ltsp-core dir under /usr/portage/net-misc/ and do
'emerge /usr/portage/net-misc/ltsp-core/ltsp-core-3.0.7.ebuild'.
You have to use full path to ebuild. No packages.mask editing is needed.


Also note that he hopes to have LTSP in portage by next week. Yeah!!! (as of 2/12/2003)
_________________
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: Wed Feb 12, 2003 5:34 pm    Post subject: Reply with quote

Andres must have found some spare time, because LTSP is now in portage (albeit masked).

Code:
ACCEPT_KEYWORDS="~x86" emerge -p ltsp-core


No more full path names or downloading ebuilds! Let's get this things tested and start posting bugs if need be.

I'm going to be trying to put together some documentation (in Guide XML) for installing and setting up LTSP for Gentoo. Anyone have any tips that they'd care to share??
_________________
An Evil Genious' Guide to Sheeple and How To Avoid Becoming One | 0x4C9EF4A
Back to top
View user's profile Send private message
tyreth
Apprentice
Apprentice


Joined: 27 May 2002
Posts: 238
Location: Melbourne, Australia

PostPosted: Sat Feb 15, 2003 3:00 am    Post subject: Reply with 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 :)

That took me a while to work out what wrong.
Back to top
View user's profile Send private message
flickerfly
l33t
l33t


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

PostPosted: Sat Feb 15, 2003 4:01 pm    Post subject: 5.0.8, not earlier Reply with quote

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?
_________________
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 Feb 18, 2003 1:00 pm    Post subject: Reply with quote

Are there any isues about CFLAGS with ltsp under Gentoo? So for example if I have my march set to Athlon XP and my X-Terminal is a 486, will this work?
Back to top
View user's profile Send private message
tyreth
Apprentice
Apprentice


Joined: 27 May 2002
Posts: 238
Location: Melbourne, Australia

PostPosted: Tue Feb 18, 2003 1:17 pm    Post subject: Reply with quote

heino wrote:
Are there any isues about CFLAGS with ltsp under Gentoo? So for example if I have my march set to Athlon XP and my X-Terminal is a 486, will this work?


I don't think there are, because as far as I understand there are no binaries running on the thin client. And if there are, it is using the ltsp compiled xfree, so it will run on your system.

I've used it compiled for athlon-tbird server on a P4 2.4ghz and a celeron 1ghz workstation, and worked fine.
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 3:51 pm    Post subject: CFLAGS in LTSP Reply with quote

heino wrote:
Are there any isues about CFLAGS with ltsp under Gentoo? So for example if I have my march set to Athlon XP and my X-Terminal is a 486, will this work?


I'm pretty sure tyreth is correct. Everything, unless you tell it otherwise is running on the server hardware and sending screenshots. The kernel and some drivers do go over, but they are a different kernel than you run on the server based in /tftpboot/lts/. That kernel is specially tagged for this purpose. LTSP.org does provide tarballs for "local_apps" that runs stuff like OpenOffice on local hardware. I have not used it, but understand it is a bit of a pain, but may be worth the effort if this is bogging the server down. I could see a possible problem with CFLAGS in this area, but there is not yet a portage ebuild for "ltsp_local_apps", not to say you couldn't download it from the LTSP Download Sight.
_________________
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 4:21 pm    Post subject: Reply with quote

Ok thank you :) I'm currently running LTSP on a Debian 3.0 System with an Athlon 700 in school, but we want to update to an Dual Athlon MP 2400+ System and to use the complete performance of such a system Gentoo, so i just wanted to know if I can use the CFLAGS. Local apps are really a bit difficult, i didn't get it work right now.
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 1, 2, 3, 4, 5  Next
Page 1 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