Side Project


Forum: water cooler
Topic: Side Project
started by: kirch

Posted by kirch on Feb. 24 2004,13:53
Hi all.  I am really impressed with how tiny and featureful DSL is.  I have a project right now that requires a minimal linux install, but so far, nothing does what I need.

I am making a digital picture frame out of an old Thinkpad X20 laptop. Physically, I am almost there, but software wise I am being held up by a gigantic 400MB Redhat "minimal" install.  I need this to fit on a 128MB compact flash card.

The redhat install does everything I want but I cant copy it over to the CF card because its too damn big.  All I want is a tiny linux OS that will boot up, activate my WiFi card (ancient Prism based WPC11), grab a DHCP IP, mount an NFS share, and then use "fbi" or some other framebuffer picture viewer to constantly cycle through pictures in a directory on the NFS share. Oh and I want SSH access to the box.

Like I said, I got it all to work under RH, but it's a monster. I know I dont need half the crap on there, but if I delete the wrong thing then I have to start all over. I still wouldnt feel good about it, either, until I deleted all the non-essential crap.

DSL seems like a better starting point.  It's already damn small, and it was made for a read-only system.

Anyone want to help me out? I plan on making the project details available after I complete it (including the custom DSL image). I will gladly share the credit.

Some one please save me from a Redhat nightmare!  :(

Posted by realmy on Feb. 24 2004,22:22
Hey, I would liek to see a photo of what your doing.

Sounds somewhat, umm... cool, fun and silly at the same time :) heheh GREAT! :)

I know a CF card would be much cooler, but laptop HDD are so damn small, why not use one?

Posted by Rapidweather on Feb. 24 2004,23:40
Since the size of the flash device seems to be holding you up on putting your working Redhat setup on one, perhaps you could look at a 512 MB device, and see how much they want for one of those. You can get your setup going like you want. I think that DSL might be too much of a hassle to do what you have gotten Redhat to do, since this is a live cd setup, and can be modified, however, but problems do arise with a small distro like this.
The main thing is that you do have Redhat going like you want, which is excellent, really.
---
:)

Posted by kirch on Feb. 25 2004,21:38
realmy:  I'll see what I can do about some pics.  I do have a 5GB laptop drive that I am currently using.  The main reasons I dont like it are 1) it's too loud (most laptop drives seem loud to me) and 2) It's not solid state so it will wear out over time (picture frame will be on 24/7). Laptops arent made to be 24/7 machines, much less the harddrives in them. A CF would be quiet and much more durable I think.

Rapidweather: I am trying to keep cost down, so while I could get a 512MB CF card, it would only add on to the total price.  There's no real good reason why I shouldnt be able to fit a linux kernel and a few utils into 64MB much less 128MB. It should be a lot easier than it is. :(

Posted by Del on Feb. 26 2004,05:48
Kirch,
What exactly do you need/want assistance with? I'll help as I can, though that won't be much (time, my own projects, etc...)

Ya, DSL should work pretty well. Boot it up with the CD and see what you get. If 0.6.1 doesn't work, try 0.6.0. Keep on working backwards until you find one that runs the way you want it to from the CD. Then install it to a hard drive (a real HD, not the CF thing yet). Once it's on the HD, tweak it and make it work exactly the way you want. (quick note: make sure you're doing this on the hardware you will be using!) Okay, once it works just perfectly, then hook up the CF as /dev/hdb (or hdc, whatever) and run cfdisk to create a 32Mb swap partition, and a 96Mb ext2 partition. Make the ext2 part bootable, then copy all your hda over to hdb. Finally, 'chdir /mnt/hdb1' (or whatever is appropriate) and run lilo as needed to install the mbr on the CF. Shut down, move CF to /dev/hda, remove the HD, and reboot. Things should work.

No promises though. I'm not an expert, though I play one on TV.

Posted by kirch on Feb. 26 2004,13:01
Thanks for the tips, Del.  I dont think I'll have a problem getting the OS onto the CF card when the time comes.  I am more interested in knowing what DSL supports by default.  Does it have all of the following:
 
  SSH Server
  NFS Client
  Framebuffer Support
  PCMCIA Support
  Prism Wireless chipset support

If someone could download "fbi" on their DSL system and let me know if it works or not, that would be helpful.

< http://packages.debian.org/unstable/graphics/fbi >

Posted by Del on Feb. 26 2004,23:47
Well, I know there's an SSH server.
I think NFS client is there, but no promises (I don't personally use it).
I'm pretty sure framebuffer is there, one (of two) X server choices is framebuffer.
It seems that PCMCIA is not compiled into the kernel (not positive tho), but it should be trivial to recompile the kernel to add it. (John, if you read this, how about the oft-requested kernel .config file? Pretty please?)
I know nothing about wireless except what I read on Slashdot... If it's a kernel option, it's probably not there (although maybe modular). Again, trivial to recompile the kernel to add this though.

For kernel compiling on Debian, see < http://articles.linmagau.org/modules....tid=158 >

Posted by realmy on Feb. 27 2004,13:46
Hey,

Have you thought about the long term effect it will have on the monitor? I mean will it not burn the pictures into the screen?

sorry if this burst your bubble a little but it was just a random thought, sorry if im wrong, sorry if im right.

Posted by Xseraph on Feb. 27 2004,19:58
You could check out Zipslack at www.slackware.org

Contents of install can be found here... < ftp://sunsite.ualberta.ca/pub....DME.1st >

Posted by Del on Feb. 27 2004,21:49
Burn in should not be much of a problem on an LCD screen. Also, it sounds as if his picture frame will rotate displayed pictures, thus acting like a screensaver.
Posted by PhrozenFear on Mar. 10 2004,09:11
It should.

Oh, 0.6.1 and 0.6.0 (the two versions I have) have pcmcia support - they work on my laptop to detect my pcmcia network card and my pcmcia HD (unfortunately I can't use both at once without my dock station).  But PCMCIA does work.  sshd I haven't been able to work, but it could just be my stupidity.  Same with nfs.  And if I remember correctly, there's an apt-get package you can get for prism cards.

*checks*  Yup.  Prism support:
Code Sample

linux-wlan-ng  0.2.0-8             utilities for wireless prism2 cards
linux-wlan-ng- knoppix+0.2.0-      drivers for wireless prism2 cards
nfs-common     1.0.6-1             NFS support files common to client and serve
nfs-kernel-ser 1.0.5-3             Kernel NFS server support
pcmcia-cs      3.1.33-6            PCMCIA Card Services for Linux.
ssh            3.6.1p2-9           Secure rlogin/rsh/rcp replacement (OpenSSH)
sshstart-knopp 0.5-2               Starts SSH and sets a password for the knopp


So you can use those packages in your custom build.  And I'm sorry for the way it's cut off - it's how I got it from the knoppix shell.

Posted by DuMonk on Mar. 21 2004,10:56
Euhmz.... still a newby myself ... but

I believe there is something like Morphix out there. If I understood correctly you can configure your own linux from components there....

My one and half cents

Cheerz

Posted by guestuser on Mar. 31 2004,18:16
I *know* this is a dsl site, but you did say you were using a flash card. Check out Flonix. Designed for flash cards and what not and has a ton of packages with it. Just a thought.
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.