Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: screen saver server, Finding stuff for strange project< Next Oldest | Next Newest >
Urban_Yeti Offline





Group: Members
Posts: 3
Joined: Dec. 2004
Posted: Dec. 29 2004,12:01 QUOTE

Y-ellow All.
   This DSL box will be my 4th linux boxen but please assume I'm a nubee. I'm just not sure where else I should ask these questions.

Project Description: For want of a better term, it's to be a screen-saver server. I would say it's one of my more "off the wall" brain waves but actually, in this case, it's off the ceiling. The basic idea is to turn an old P90 into a pair of very colourful down-lights. A pair of equally old VGA monitors are mounted in the ceiling behind a grill. The computer should basically, boot up into a screen saver or a series of images displayed as a slide show. You can't actually see much of an image on the monitors behind the grill but it should radiate out patterns of colours around the studio.

The Problem(s): In a nut shell, is there something equivalent to RedHat's rc.local file. Where one can add all the things that it'll do after all the booting and initialization is done. In particular, to run a series of hdparm commands etc. Also to run up the ssh daemon. And of course, boot straight into a screen saver or slide show.

At the moment the box is sitting on my bench and I have access to it through X/flux. It's also on the network and I prefer to talk to it from over here in my comfie chair. (via ssh)When it's finally working, it'll be largely inaccessible and any configuration work will have to be done over the network.

While I'm doing the screen saver thing, I'd also like to make use of the fact it's on a network and use some of the ports to control other lights. The electronics side of the thing is a no-brainer for me but I'm a bit out of my depth with anything soft. I only mention this because I'll want to have the flexability to add these things later without disturbing the basic system.

Another problem I have is with ssh. It tells me the terminal isn't set up properly. I'm just not sure what's not set up. Certainly I can't run things like MC thru ssh and 'less' spits up a warning error. It also tends to go bananas if I over step the end of any given file I might be looking at with it.

The system also seems to want to re-configure X. Not always but usually I don't have a mouse on boot up and have to run xsetup.sh to get it back. Often it's set to a video mode that the display card isn't capable of. Like 1024x768x32, The card is capable of 800x600x16 at best. And even that's actually overkill for the intended application.

It's all running off a 200meg hard drive on a system that WILL NOT boot from the CD. (the BIOS is too old for that kind of thing.) And it currently has 32meg of RAM. But I'm hoping to cut that to 16 when things are a bit more locked down. See how that works out later.

The last requirement is that it be as silent as possible. Thus the need to use hdparm to send the hd to sleepybyes as much as possible. (I'll deal with the other cooling issues as well) But I mention this in that it often seems to periodically wake up the hard drive for no obvious reason. If there's a way to calm this down it would be really handy.

Sorry for the length of this post but I'm really hoping someone might have a magic wand handy. I've been bashing my head against this thing for over a week now.  Though I have to say, I'm really starting to like this distro. Bravo guys. Nice job.

Thanks in advance.
Back to top
Profile PM 
PipingFool Offline





Group: Members
Posts: 9
Joined: Dec. 2004
Posted: Dec. 29 2004,12:14 QUOTE

Wellllll..

Not exactly what I did. A friend of mine wanted something similar. Instead I had him install a dual VGA connection card. On one connection he has his monitor, the other one has a beamer installed on it. The beamer projects WinAMP's visualisations part into the room.

Of course, this all needs a rather powerful computer. BUT... you still could hook up the beamer instead of a monitor. I tell you it has LOTS of potential!


--------------
Why does a piper walk while playing his bagpipes? To get away from the sound!
Back to top
Profile PM 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: Dec. 30 2004,05:34 QUOTE

The bootscript that you are looking for is at /opt/bootlocal.sh

If you have done a full hard disk install, you can edit this file and then you are finished.

However, if you are running a frugal, poorman's or livecd install you need to enable the backup/restore process in order to save your new /opt/bootlocal.sh file.  The /opt/ directory is part of the RAMDISK so if you don't backup/restore the file it will disappear upon reboot.

FYI, if you want a quieter PC, you can either use a compact flash memory card with a compact flash / IDE interface to run as a fanless solid state "Hard drive", or you can also run DSL in "toram" mode where the entire OS is loaded into a RAMDISK and then the CDROM drive or hard drive is not used as part of OS functions.  But you need 128MB+ RAM in order to do this.
Back to top
Profile PM 
Urban_Yeti Offline





Group: Members
Posts: 3
Joined: Dec. 2004
Posted: Dec. 31 2004,03:56 QUOTE

Y-ellow all.
   And thanks very much. I've been following the advice and doing my own research but I'm not all that much further advanced. Suffering ADD, this stuff really ties me in knots sometimes. However, one thing that occurrs to me is that the bootlocal.sh script in /opt only happens after x is started? IE: only after a user has logged in.

I got SSH to run automatically by editing stuff in rc5.d , rcboot and init.d etc. However the network won't actually come up until I log into X. And even then, it seems to go off waiting for a dhcp response which it won't get because I don't use it on my network. Adding to that, the mouse still won't come up without a re-config of x first. Although I may have indeed fixed that with the mouse script in /opt. I just haven't tried it right now.

I don't know what the difference is between a frugal install and a full HD install. I thought a HD install was a HD install. End of story. I can't boot from a CD so it's not like I can do a live CD thing.

Out of interest and in case you were wondering how I actually got the thing installed. I actually plugged the 200 meg drive into another machine (PII) which COULD boot from the CD. I then did a first stage install to the hard drive on that box. I used all the intended hardware from the target box during this phase but it seems I needn't have bothered as it checks all that on boot anyway. I replaced the network card in the mean time anyway since the 3com card seems to have died.

And also just out of interest. I like the idea of using a projector. But if I could afford a projector, even an old epiphore type, I'd be using it to watch stuff on. Not that I could fit any kind of projector in here and find something flat to project it onto. But I'd often wanted to use a projector like this for live performances. But where the projector is actually projecting back into the audience like they use to do with lasers. The idea is that if there was some degree of focus to the back of the venue, then a computer generated "DOT" on the screen would actually behave somewhat like a laser. Only more colourful and more flexible. But I digress...

The purpose of this project is actually to use up some old technology that would otherwise find it's way into land-fill and be employed as a water-way polluter. The two VGA monitors are old. One of them was given to me with a view to ripping off the VGA cable to make a KVM cable with. The other, a friend found on the street (Literally) during hard rubish collection week. Thinking it was a whole computer (I know some computer illiterate people. Sad by true.) he dumped it at my place along with an old keyboard. I try to let nothing go to waste here and now that there were two identical monitors laying on their backs under my carport, it spawned the idea.

200wats of downlight with filtered gells for colour. Or a pair of computer monitors with coloured phosphor chewing up 200watts with the gain flat out. Do you think I'd take the easy option? The monitors aren't just bolted to the ceiling or anything. My builder mate and I, stripped them down and mounted them _IN_ the ceiling. Behind a long grill which is gold plated no less. (Always carry a suitable sized net, you never know what you might catch.) Now that the studio looks like Saddam's bathroom, I have to get some kind of picture on them. And I haven't even looked at a suitable screen saver to run yet.

I had indeed thought of running a pair of video cards. I tried it but it was looking hard enough just getting x up on the one at the time. Instead I'm stepping back to plan B. which is to simply build a Y adaptor. No buffering since I'll probably be running the monitors near to flat chat anyway. And it doesn't matter that the picture is the same on both.

In the mean time, here's my latest clue. To get X up of it's own accord, would I actually have to boot into single user mode? I have to admit that I'm not really clued up on exactly how X works. Espeically in DSL. Where the log-in is actually on the command line and doesn't seem to call X unless you're actually logged in.  Sorry if I seem confused but what can I say. I'm confused. And that's on a good day.

Anyway, thanks very much once again folks. I'm most grateful for your thoughts and advice.
Be absolutely Icebox.
Back to top
Profile PM 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: Dec. 31 2004,08:08 QUOTE

A full hd-install will create a Linux partition on your hard drive and then uncompress the entire file system from the CD and copy it over to the hard drive. It will probably use up about 125-140MB of hard drive space to do an hd install and you will need some extra space for a swap partition (64MB should do it).

So a full hd install will work on your system but it won't leave much room leftover for expansion or for userfile storage.


A frugal install works differently.  With a frugal install, the read-only compressed filesystem is copied over directly from the livecd.  So basically it is like running a virtual livecd but from your faster hard drive.  The other advantage is that the compressed frugal installation only takes about 50MB of disk space, leaving plenty of room for personal file storage and swap partition. Loading up files from the operating system is slightly slower than a regular hard drive install because the CPU needs to decompress them on-the-fly while the files are loading up but my guess is that the speed penalty is minimal compared to the extra free disk space that is created.


Hope this helps.
Back to top
Profile PM 
6 replies since Dec. 29 2004,12:01 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: screen saver server

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code