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: laptop weather station server, laptop gathers/post weather date to web< Next Oldest | Next Newest >
rhackenb Offline





Group: Members
Posts: 17
Joined: Jan. 2004
Posted: Jan. 24 2004,04:25 QUOTE

I recently inherited a Compaq Presario 486 laptop with 24 meg of RAM and a 180 mhz processor.  It's battery is shot and under Windows 98 it hangs if I try to descend into a folder.  

I decided to see if I could use Damn Small Linux on it to replace a desktop RH Linux box to gather weather data from a One-Wire weather station and post the data to my webpage.

After doing an HD install, I needed apps that were not available from the DSL package or apps:

 *  gnuplot (I simply copied over the RH gnuplot executable and it worked immediately)

 *  ncftp (I copied all the client executables from www.ncftp.org and they worked out of the box)

 *  lynx (I had to compile lynx on my RH linux box and then copy the executable and lynx.cfg file over...worked as is after I put the cfg file in /usr/local/lib)

 * sample_devices (a One-Wire weather station piece of code for collecting data from the station...worked as is)

 *  my Perl code for processing data, for building plots and web pages,  and for pushing the pages to my external site (the code runs because I am not using any special Perl modules that probably do not exist on the DSL distribution).

The only piece that I am currently lacking is MySQL.  I will try to port it over but I suspect that it will be a challenge.  Has anyone done that yet?  I thought I saw that Postgres was available for DSL but I can't find it.  I would prefer MySQL.

In summary, I am totally blown away with DSL.  It installs and works without much effort at all.  I am also impressed that various RH Linux apps copy right over and work.

I now have a laptop that can run day and night posting web pages without the power consumption of the desktop that I had been using.  It's not online yet but will be soon.  If I can't get a MySQL running, I can work with text files.

What I can't get running is the XServer but I don't really need it because the machine isn't intended for use by a human.

Good work, Damn Small Linux crew.

-- bob
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Jan. 24 2004,08:39 QUOTE

Bob,
Instead of MySQL, you might want to take a look at sqlite it is in DSL.
Back to top
Profile PM WEB 
rhackenb Offline





Group: Members
Posts: 17
Joined: Jan. 2004
Posted: Jan. 25 2004,17:49 QUOTE

Thanks for the suggestion.  I pulled down the latest version from the site (2.8.11) and moved it to the laptop.  With a slight change in the table creation script, I was able to build the table that I need to record the weather.  I was able to load my historical data into the database without a problem.

BTW, the distribution that I am using for DSL already contained version 2.4.7.  I tried to load the table that I built with 2.8.11 and got an 'unsupported file format' error.  Not sure what that is about but I will go with the newer version.

sqlite is just what I need.

-- bob
Back to top
Profile PM 
libretto Offline





Group: Members
Posts: 336
Joined: Oct. 2003
Posted: Jan. 29 2004,11:34 QUOTE

Dear rhackenb,

Where did you get the 'sample_devices' code? I'm looking to play around with 1-wire devices under linux.


--------------
Small Radio,  Small Laptop, DSL Linux
Back to top
Profile PM WEB 
Minigig Offline





Group: Members
Posts: 6
Joined: Feb. 2004
Posted: Feb. 21 2004,08:38 QUOTE

Sorry I know this is way off topic , but i notice you said you have a 486 180 Mhz , and the fastest 486 (4x86)Cyrix , Amd , or Intel has made was 486 Dx-4 133Mhz (i had overclocked a couple a 486's from 150 to 200(rare),but that was in a desktop)

Sorry again(not that big of a deal) , Just Kinda curious about that.
Back to top
Profile PM AOL MSN 
6 replies since Jan. 24 2004,04:25 < 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: laptop weather station 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