Thanks for the hint. However, this is not what I intended. A Thin client will
boot much faster, does not need to spin its hard disk (after booting) and
will thus consume less energy (running longer on battery) and produce less
noise.
In the meantime I found out how to use ltsp. Since this has been asked
many times before, here the solution:
The problem is, that although ltsp 4.2 has all the necassary modules, they
are not in the initrd image. So we have to add them. I did all the following
on the server as root, but I am not sure if this is necassary for all the steps
(for the first step it defenitely is):
1. become root and unpack the initrd supplied by ltsp 4.2. If you want to
use another kernel, you have to change the version number:
:su
:mkdir initrd
:cd initrd
:cat /tftpboot/lts/2.6.17.8-ltsp-1/initramfs.gz | gunzip | cpio -id
2. Add the missing PCMCIA modules (dont know, if they are all needed)
cp -r /opt/ltsp/i386/lib/modules/2.6.17.8-ltsp-1/kernel/drivers/pcmcia
lib/modules/2.6.17.8-ltsp-1/kernel/drivers/
3. Add the modules to modules.dep:
Edit 'lib/modules/2.6.17.8-ltsp-1/modules.dep' (in the initrd directory you
created before) and add all the lines begining with
'/lib/modules/2.6.17.8-ltsp-1/kernel/drivers/pcmcia' from
'/opt/ltsp/i386/lib/modules/2.6.17.8-ltsp-1/modules.dep'.
4. Add the following three lines near to the beginning of 'init' (in the initrd
directory you created before):
> ...
>[ "${SLEEP}" -gt 0 ] && sleep ${SLEEP}
>
>echo "modprobing yenta_socket ..." # jba 2007-02-02
>modprobe yenta_socket # jba 2007-02-02
>sleep 3 # jba 2007-02-02
>
>if [ -z "${NIC}" ]; then
> ...
5. Now we can pack our own initrd:
:find ./ | cpio -H newc -o | gzip > ../myinitrd.gz
6. Next step is to put the created Initial ram disk (myinitrd.gz) and the kernel
(/tftpboot/lts/2.6.17.8-ltsp-1/initramfs.gz) on the laptops harddisk and boot
them. There are several ways to do so (lilo, loadlin, syslinux, ...). Since I
have
only a floppy connected to my laptop, I installed DOS, copied the kernel,
initrd
and loadlin.exe (be sure to use the latest version, I think its 1.6c) to a
directory
named c:\ltsp and put a batchfile there named ltsp.bat with
loadlin bzimage initrd=myinitrd.gz root=/dev/ram0 rw vga=791
I then added the following to the end of autoexec.bat:
cd ltsp
call ltsp
Thats it. After rebooting your laptop you should see the display manager of
your
server comming up (of course after setting up your server with ltsp as
described
in the manuals).
I only tested this with my wired PCMCIA network card. However, I think it
should
also be applicable to wireless PCMCIA cards. Maybe with some tweaking.
@LTSP-developers: Why are the PCMCIA-drivers are missing in the distributed
initrd?
The image wont get much bigger and it would help users of older laptops very
much.
Have fun,
Juergen
> -----Ursprüngliche Nachricht-----
> Von: [email protected]
> Gesendet: 03.02.07 03:11:37
> An: [email protected]
> Betreff: Re: [Ltsp-discuss] LTSP and PCMCIA
> On Fri, 02 Feb 2007 09:24:17 +0100
> Juergen Bausa <[EMAIL PROTECTED]> wrote:
>
> > I have a laptop (Toshiba Portege 7020) with PCMCIA ethernet
> > adapter (LevelOne FPC-0101TX), I want to connect to my server
> > (debian sarge) using LTSP. I installed the LTSP 4.2 debian package
> > (from LTSP.org) and set up everything on the server.
> >
>
> I had a setup where I had an OLD Thinkpad 380D. What I did was
> installed Debian on it. (Chose Debian cause of the minimal install). I
> got the wireless card working. Then I set-up an automatic login to the
> command line. (I don't have the link anymore, but google will help you
> here). Then, for that user that had the "auto login" I set up the
> .bashrc file to run a script called ltsp.sh
>
______________________________________________________________________
XXL-Speicher, PC-Virenschutz, Spartarife & mehr: Nur im WEB.DE Club!
Jetzt gratis testen! http://freemail.web.de/home/landingpad/?mc=021130
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_____________________________________________________________________
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