473,473 Members | 2,092 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

NSLU2 and python - a love story ?

Has anybody done any work using Python on the Linksys NSLU2[1][2]? I'm
especially interested in stuff related to compiling additional modules,
like PIL. There are allready a bunch of stuff available in the current
replacement-firmware, but PIL seems to be missing.

If you haven't heard about the NSLU2-box yet start with the references
below and then google for it. It's very small, quiet, cheap and runs a
complete linux system, with python available ( and MySQL, PostgreSQL,
Apache etc etc ). It's very cool =)

Anyway, any information related to python and the nslu2-box are of
interest.

Regards,
Thomas

References :
[1] : http://www.nslu2-linux.org/
[2] :
http://www.linksys.com/products/prod...id=43&prid=640

Jul 19 '05 #1
3 2386

"Thomas W" <th***********@gmail.com> wrote in message
news:11**********************@g43g2000cwa.googlegr oups.com...
If you haven't heard about the NSLU2-box yet start with the references
below and then google for it. It's very small, quiet, cheap and runs a
complete linux system, with python available ( and MySQL, PostgreSQL,
Apache etc etc ). It's very cool =)
[1] : http://www.nslu2-linux.org/
[2] :
http://www.linksys.com/products/prod...id=43&prid=640


The Linksys product literature [2] never mentions the word Linux, so I
gather a) that it is an add-on and b) that the user group [1] is quite
unofficial. For those curious, the price is about $100.

The product lit also says 0 about the internal hardware but I found this:
http://www.nslu2-linux.org/wiki/Info/CPUOverview. 266 Mhtz, 32 Mb Ram + 8
MB flash, which is pretty minimal these days. So unless one wants it for
the designed purpose (or similar), it is not obviously cheap.

I am curious what Python application you have in mind.

Terry J. Reedy


Jul 19 '05 #2
Well, AFAIK people are running web-sites using apache, php and mysql on
it and with ok performance. I'm not saying this would replace a real
server, but for normal home-use with not too much traffic it seems to
do the job.

It's a fact that Linksys uses a somewhat modified version of linux on
the NSLU2, maybe they don't advertise it on their web-page, but who
cares? They got similar products based on or running linux which also
have replacement-firmware. The point is that alot of people have
modified their NSLU2, which by the way don't remove any of the
functionality of the original product as I understand it, and made it
possible to do cool things with it; run a subversion server for their
projects etc. and by adding up to two large ( 300GB + ) drives you have
enought storage for most things. And FYI the root filesystem can be
stored on one of the USB-devices. It doesn't have to be stored on the
8MB flash.

My interest in it is due to the fact that my current two servers makes
alot of noise, are big and uses alot of eletricity. If I could replace
them with a NLSU2 running linux and python I could use all my allready
developed software on a system costing 1/10th of my current server,
with almost no noise and consume very little eletricity. I just think
that's very interesting.

The first project I have in mind is a web-interface to my digital image
collection, in which I can organise the pictures in categories, add
metadata, generate galleries and slideshows etc. From what I can see
the NSLU2 would have little problems serving this specific purpose, in
addition to serving the images thru samba as well so I can access them
with my laptop, my KISS DP-558 PVR and my XBox. The
"distro"/replacement-firmware for the NSLU2 allready have most of the
modules I need ( CherryPy, pySQLite/SQLite ). The only thing missing
is, as I said earlier, PIL.

I think anything running linux and especially Python, is awsome, I'll
admit that. Perhaps I'm just blinded by all that and cannot see the
fact that 266Mhz isn't enough "juice". But I really do think the NSLU2
is suitable for running a project like I described above, based on the
stuff I've read about other projects using the box. If I'm wrong a
heads up would be great so I can save my money. Save money to buy a
mini mac/mini intel/barebone, because that's the alternative for me
right now, and really silent barebone systems tend to cost alot more,
generate heat and use electricity like a normal computer ( and pack
alot more punch of course ).

I don't own a NSLU2 yet, but intend to buy one soon. If the python
project is successful I'll post some info here.

Jul 19 '05 #3

"Thomas W" <th***********@gmail.com> wrote in message
news:11**********************@g49g2000cwa.googlegr oups.com...
have replacement-firmware. The point is that alot of people have
modified their NSLU2, which by the way don't remove any of the
functionality of the original product as I understand it,
There are two replacement firmware images. One extends the original
firmware functionality (moving data back and forth from ethernet/internet
to usb strorage). The other, for Linux experts, replaces it.
My interest in it is due to the fact that my current two servers makes
alot of noise, are big and uses alot of eletricity.
I had not thought of that aspect.
The first project I have in mind is a web-interface to my digital image
collection, in which I can organise the pictures in categories, add
metadata, generate galleries and slideshows etc. From what I can see
the NSLU2 would have little problems serving this specific purpose, in
addition to serving the images thru samba as well so I can access them
with my laptop, my KISS DP-558 PVR and my XBox. The
"distro"/replacement-firmware for the NSLU2 allready have most of the
modules I need ( CherryPy, pySQLite/SQLite ). The only thing missing
is, as I said earlier, PIL.

I think anything running linux and especially Python, is awsome, I'll
admit that. Perhaps I'm just blinded by all that and cannot see the
fact that 266Mhz isn't enough "juice".


It depends on your image sizes and amount of processing you want to do on
the NSLU2. For uncompressed TIFFs from multimegapixel cameras, 32MB will
be cramped. One can apparently expand memory, but "A new kernel will be
necessary to enable usage of the extra memory. " I don't know if this
means the new kernel in either or both the replacements or one that one has
to supply.

60K jpeg web images are a different story.

For interactive processing of such large images (like color correction,
edge finding, etc) my experience (with 300-400MH Win machines) suggests
that you might find 256MH somewhat pokey. But I don't know what you are
used to with your laptop or current servers. I don't know what 'generate
gallery' requires.

Terry J. Reedy

Jul 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

25
by: Allenabethea | last post by:
Jython is 100% java coded python. Python objects work with javacompilers and Virtual machines. I am a hobby programmer so the technical reasons are probably beyond me... Why is python...
5
by: Zachary | last post by:
Hello, I've recently thought of how ideal Python is for the development of what used to be called text adventures. In case any of you don't know, these were basically sort of a computer game in...
89
by: Radioactive Man | last post by:
In python 2.3 (IDLE 1.0.3) running under windows 95, I get the following types of errors whenever I do simple arithmetic: 1st example: >>> 12.10 + 8.30 20.399999999999999 >>> 1.1 - 0.2...
8
by: eScrewDotCom | last post by:
eScrew Welcome to eScrew! eScrew is eScrew and this is eScrew story. eScrew will tell you eScrew story if you promise eScrew to consider eScrew story as joke. eScrew story is very funny. eScrew...
53
by: Michael Tobis | last post by:
Someone asked me to write a brief essay regarding the value-add proposition for Python in the Fortran community. Slightly modified to remove a few climatology-related specifics, here it is. I...
29
by: walterbyrd | last post by:
Some think it will. Up untill now, Java has never been standard across different versions of Linux and Unix. Some think that is one reason that some developers have avoided Java in favor of...
0
by: Rafael Marin Perez | last post by:
Hello, I am Rafael Marin Perez, and work as a researcher in University of Murcia (Spain). We are using the Network Storage Link for USB2.0 (NSLU2) device to desploy a wireless sensor network...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.