time-nuts@lists.febo.com

Discussion of precise time and frequency measurement

View all threads

lightweight webserver for, e.g., NTP widget

L
lists@lazygranch.com
Tue, Feb 12, 2013 9:14 PM

I think those SBCs have insufficient RAM (128M on the biggest board.) . 512M seems to be OK (which is where most community boards are at). The Panda ES is double that.

Now those SBC have sata ports, so swap space isn't quite as detrimental as on SBCs that use the SDHC for swap. Still, I rather have the RAM.

-----Original Message-----
From: Didier Juges shalimr9@gmail.com
Sender: time-nuts-bounces@febo.com
Date: Tue, 12 Feb 2013 13:47:41
To: Discussion of precise time and frequency measurementtime-nuts@febo.com
Reply-To: Discussion of precise time and frequency measurement
time-nuts@febo.com
Subject: Re: [time-nuts] lightweight webserver for, e.g., NTP widget

If you decide to go with one of the SBCs at embeddedarm.com, I have a Wiki page on my web site documenting how I have set mine up.

Didier

Www.ko4bb.com

Sent from my Droid Razr 4G LTE wireless tracker.

-----Original Message-----
From: Jim Lux jimlux@earthlink.net
To: Discussion of precise time and frequency measurement time-nuts@febo.com
Sent: Mon, 11 Feb 2013 4:02 PM
Subject: [time-nuts] lightweight webserver for, e.g., NTP widget

I'm intrigued by the possibility of using a lightweight web server to
provide a management/user interface to test equipment or appliances
(e.g. like the NTP server recently discussed, or a box with mixers and
counters).

I've built some web interfaces to very small things using Arduinos and
Rabbits, and it works ok for simple stuff (turning on and off switches),
but as soon as you start looking at a bit more complexity (e.g. you want
to move files around), a bit more sophistication on your server seems
useful.  Or, for instance, if you have a DDS you want to program to
follow a particular sequence of frequencies (e.g. to match a particular
Doppler profile, in my case). Or a data acquisition application.

The appeal that the "user client" is that any old web-browser is pretty
generic.

I've done this "sort of" by exposing a directory as a public share (SMB)
and then "browsing" to that file, using the file:// mechanism, but it
seems that actually having a real server might be useful (for things
like POST from a form, for instance)

But, on the other hand, it seems that something like Apache is a bit
much to manage.

Is there something that runs under Linux on a lightweight single board
PC (Raspberry pi or Intel Mini-ITX Atom mobos) that isn't too much of a
pain, and doesn't require you to be a full time web server administrator
to make it work?


time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
and follow the instructions there.


time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
and follow the instructions there.

I think those SBCs have insufficient RAM (128M on the biggest board.) . 512M seems to be OK (which is where most community boards are at). The Panda ES is double that. Now those SBC have sata ports, so swap space isn't quite as detrimental as on SBCs that use the SDHC for swap. Still, I rather have the RAM. -----Original Message----- From: Didier Juges <shalimr9@gmail.com> Sender: time-nuts-bounces@febo.com Date: Tue, 12 Feb 2013 13:47:41 To: Discussion of precise time and frequency measurement<time-nuts@febo.com> Reply-To: Discussion of precise time and frequency measurement <time-nuts@febo.com> Subject: Re: [time-nuts] lightweight webserver for, e.g., NTP widget If you decide to go with one of the SBCs at embeddedarm.com, I have a Wiki page on my web site documenting how I have set mine up. Didier Www.ko4bb.com Sent from my Droid Razr 4G LTE wireless tracker. -----Original Message----- From: Jim Lux <jimlux@earthlink.net> To: Discussion of precise time and frequency measurement <time-nuts@febo.com> Sent: Mon, 11 Feb 2013 4:02 PM Subject: [time-nuts] lightweight webserver for, e.g., NTP widget I'm intrigued by the possibility of using a lightweight web server to provide a management/user interface to test equipment or appliances (e.g. like the NTP server recently discussed, or a box with mixers and counters). I've built some web interfaces to very small things using Arduinos and Rabbits, and it works ok for simple stuff (turning on and off switches), but as soon as you start looking at a bit more complexity (e.g. you want to move files around), a bit more sophistication on your server seems useful. Or, for instance, if you have a DDS you want to program to follow a particular sequence of frequencies (e.g. to match a particular Doppler profile, in my case). Or a data acquisition application. The appeal that the "user client" is that any old web-browser is pretty generic. I've done this "sort of" by exposing a directory as a public share (SMB) and then "browsing" to that file, using the file:// mechanism, but it seems that actually having a real server might be useful (for things like POST from a form, for instance) But, on the other hand, it seems that something like Apache is a bit much to manage. Is there something that runs under Linux on a lightweight single board PC (Raspberry pi or Intel Mini-ITX Atom mobos) that isn't too much of a pain, and doesn't require you to be a full time web server administrator to make it work? _______________________________________________ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there. _______________________________________________ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there.
DJ
Didier Juges
Wed, Feb 13, 2013 12:23 AM

Insufficient RAM for what applications? (not argumenting, just curious, since it has been running Apache and a couple of services just fine)

I understand 64MB (like the board I use) is a little skimpy by today's standards, but when you don't run a GUI, it goes a long way.

Didier

Sent from my Droid Razr 4G LTE wireless tracker.

-----Original Message-----
From: lists@lazygranch.com
To: Discussion of precise time and frequency measurement time-nuts@febo.com
Sent: Tue, 12 Feb 2013 3:17 PM
Subject: Re: [time-nuts] lightweight webserver for, e.g., NTP widget

I think those SBCs have insufficient RAM (128M on the biggest board.) . 512M seems to be OK (which is where most community boards are at). The Panda ES is double that.

Now those SBC have sata ports, so swap space isn't quite as detrimental as on SBCs that use the SDHC for swap. Still, I rather have the RAM.

-----Original Message-----
From: Didier Juges shalimr9@gmail.com
Sender: time-nuts-bounces@febo.com
Date: Tue, 12 Feb 2013 13:47:41
To: Discussion of precise time and frequency measurementtime-nuts@febo.com
Reply-To: Discussion of precise time and frequency measurement
time-nuts@febo.com
Subject: Re: [time-nuts] lightweight webserver for, e.g., NTP widget

If you decide to go with one of the SBCs at embeddedarm.com, I have a Wiki page on my web site documenting how I have set mine up.

Didier

Www.ko4bb.com

Sent from my Droid Razr 4G LTE wireless tracker.

-----Original Message-----
From: Jim Lux jimlux@earthlink.net
To: Discussion of precise time and frequency measurement time-nuts@febo.com
Sent: Mon, 11 Feb 2013 4:02 PM
Subject: [time-nuts] lightweight webserver for, e.g., NTP widget

I'm intrigued by the possibility of using a lightweight web server to
provide a management/user interface to test equipment or appliances
(e.g. like the NTP server recently discussed, or a box with mixers and
counters).

I've built some web interfaces to very small things using Arduinos and
Rabbits, and it works ok for simple stuff (turning on and off switches),
but as soon as you start looking at a bit more complexity (e.g. you want
to move files around), a bit more sophistication on your server seems
useful.  Or, for instance, if you have a DDS you want to program to
follow a particular sequence of frequencies (e.g. to match a particular
Doppler profile, in my case). Or a data acquisition application.

The appeal that the "user client" is that any old web-browser is pretty
generic.

I've done this "sort of" by exposing a directory as a public share (SMB)
and then "browsing" to that file, using the file:// mechanism, but it
seems that actually having a real server might be useful (for things
like POST from a form, for instance)

But, on the other hand, it seems that something like Apache is a bit
much to manage.

Is there something that runs under Linux on a lightweight single board
PC (Raspberry pi or Intel Mini-ITX Atom mobos) that isn't too much of a
pain, and doesn't require you to be a full time web server administrator
to make it work?


time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
and follow the instructions there.


time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
and follow the instructions there.


time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
and follow the instructions there.

Insufficient RAM for what applications? (not argumenting, just curious, since it has been running Apache and a couple of services just fine) I understand 64MB (like the board I use) is a little skimpy by today's standards, but when you don't run a GUI, it goes a long way. Didier Sent from my Droid Razr 4G LTE wireless tracker. -----Original Message----- From: lists@lazygranch.com To: Discussion of precise time and frequency measurement <time-nuts@febo.com> Sent: Tue, 12 Feb 2013 3:17 PM Subject: Re: [time-nuts] lightweight webserver for, e.g., NTP widget I think those SBCs have insufficient RAM (128M on the biggest board.) . 512M seems to be OK (which is where most community boards are at). The Panda ES is double that. Now those SBC have sata ports, so swap space isn't quite as detrimental as on SBCs that use the SDHC for swap. Still, I rather have the RAM. -----Original Message----- From: Didier Juges <shalimr9@gmail.com> Sender: time-nuts-bounces@febo.com Date: Tue, 12 Feb 2013 13:47:41 To: Discussion of precise time and frequency measurement<time-nuts@febo.com> Reply-To: Discussion of precise time and frequency measurement <time-nuts@febo.com> Subject: Re: [time-nuts] lightweight webserver for, e.g., NTP widget If you decide to go with one of the SBCs at embeddedarm.com, I have a Wiki page on my web site documenting how I have set mine up. Didier Www.ko4bb.com Sent from my Droid Razr 4G LTE wireless tracker. -----Original Message----- From: Jim Lux <jimlux@earthlink.net> To: Discussion of precise time and frequency measurement <time-nuts@febo.com> Sent: Mon, 11 Feb 2013 4:02 PM Subject: [time-nuts] lightweight webserver for, e.g., NTP widget I'm intrigued by the possibility of using a lightweight web server to provide a management/user interface to test equipment or appliances (e.g. like the NTP server recently discussed, or a box with mixers and counters). I've built some web interfaces to very small things using Arduinos and Rabbits, and it works ok for simple stuff (turning on and off switches), but as soon as you start looking at a bit more complexity (e.g. you want to move files around), a bit more sophistication on your server seems useful. Or, for instance, if you have a DDS you want to program to follow a particular sequence of frequencies (e.g. to match a particular Doppler profile, in my case). Or a data acquisition application. The appeal that the "user client" is that any old web-browser is pretty generic. I've done this "sort of" by exposing a directory as a public share (SMB) and then "browsing" to that file, using the file:// mechanism, but it seems that actually having a real server might be useful (for things like POST from a form, for instance) But, on the other hand, it seems that something like Apache is a bit much to manage. Is there something that runs under Linux on a lightweight single board PC (Raspberry pi or Intel Mini-ITX Atom mobos) that isn't too much of a pain, and doesn't require you to be a full time web server administrator to make it work? _______________________________________________ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there. _______________________________________________ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there. _______________________________________________ time-nuts mailing list -- time-nuts@febo.com To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there.
JL
Jim Lux
Wed, Feb 13, 2013 3:57 AM

On 2/12/13 10:11 AM, Didier Juges wrote:

Before you know it, you are going to find that not having php (or Python, or Perl, or whatever your favorite scripting language is) is crippling. I recommend you bite the bullet and get a small ARM SBC big enough to run a full Linux distro. I use a TS-7553 from embeddedarm.com with great satisfaction for just things like that.

computing resources aren't really the problem.. It's the configuration
resources (i.e. time to set up the server and configure it properly).

I've been playing yesterday and today with a variety of the suggestions
made here and it's been fun.  python -m SimpleHTTPServer is pretty easy,
after all. (although doesn't do POST, etc.)

A bunch of the choices described here make it pretty easy to fire off
python or something else.

I haven't tried it on a Raspberry Pi yet, but I've been working with a
bunch of clunky old PCs I happened to have around.  Tomorrow I'll try a
couple of them on a 10 year old Via Mini-ITX box with compact flash I
have in my desk drawer that runs an old Debian distro.  If it runs on
that, it will run on anything.

On 2/12/13 10:11 AM, Didier Juges wrote: > Before you know it, you are going to find that not having php (or Python, or Perl, or whatever your favorite scripting language is) is crippling. I recommend you bite the bullet and get a small ARM SBC big enough to run a full Linux distro. I use a TS-7553 from embeddedarm.com with great satisfaction for just things like that. > computing resources aren't really the problem.. It's the configuration resources (i.e. time to set up the server and configure it properly). I've been playing yesterday and today with a variety of the suggestions made here and it's been fun. python -m SimpleHTTPServer is pretty easy, after all. (although doesn't do POST, etc.) A bunch of the choices described here make it pretty easy to fire off python or something else. I haven't tried it on a Raspberry Pi yet, but I've been working with a bunch of clunky old PCs I happened to have around. Tomorrow I'll try a couple of them on a 10 year old Via Mini-ITX box with compact flash I have in my desk drawer that runs an old Debian distro. If it runs on that, it will run on anything.