Project

General

Profile

Linksys NSLU2 as Server

With the help of Timo, and Benoît the Gambas author, Gambas and DomotiGaServer are now also able to run on ARM architecture like the Linksys NSLU2.
It has to be seen if there is enough power to run it properly, depending on the size of your HA installation, but technically it's possible. With the EIB, Digitemp, DSC, Gmail and Pachube support enabled there is about 15MB of memory usage of DomotiGaServer.

If you have other exotic (ARM) hardware you get it to run on, please let me know.

Install Debian

There are basically two options, 1 - install the Debian 5.0.3 install image with upslug2
Which gives you an install menu in Low memory mode with which you can format drives and install packages.
I couldn't get it to work (it failed during formatting my usb harddrive)

# apt-get update
# apt-get install screen joe

Another option is to connect your USB HD or stick to another Linux computer and unpack a tar file with all files on it.
This worked for me and is faster than the option above.

Install Gambas2

Install needed packages, I guess you can leave out the GUI and non-MySQL database ones to save space and time, but I didn't tested it yet.

# apt-get install build-essential subversion autoconf libbz2-dev libfbclient2 \
libmysqlclient15-dev unixodbc-dev libpq-dev libsqlite0-dev libsqlite3-dev \
libgtk2.0-dev libldap2-dev libcurl4-gnutls-dev libgtkglext1-dev libpcre3-dev \
libsdl-sound1.2-dev libsdl-mixer1.2-dev libsdl-image1.2-dev libsage-dev \
libxml2-dev libxslt1-dev libbonobo2-dev libcos4-dev libomniorb4-dev librsvg2-dev \
libpoppler-dev libpoppler-glib-dev libasound2-dev libesd0-dev libdirectfb-dev \
libaa1-dev libxtst-dev libffi-dev kdelibs4-dev firebird2.0-dev libqt4-dev mysql-client

# apt-get clean all
# mkdir -p /home/domotiga/install/gambas
# cd /home/domotiga/install/gambas
# svn checkout https://gambas.svn.sourceforge.net/svnroot/gambas/gambas/branches/2.0
# cd 2.0
# ./reconf-all && ./configure -C
# make install

Install USB-Client

You can use your NLSU as USB server/client.

# mkdir -p /home/domotiga/install
# wget http://incentivespro.com/usb-server-arm-le.tar.gz
# tar -zxvf usb-server-arm-le.tar.gz
# apt-get install linux-headers-2.6-ixp4xx
# cd /usr/src
# ln -s linux-headers-2.6.26-2-ixp4xx linux
# cd /usr/src/linux/drivers/usb/core
# apt-get install linux-source-2.6.26
# tar -xvf /usr/src/linux-source-2.6.26.tar.bz2 hcd.h
# tar -xvf /usr/src/linux-source-2.6.26.tar.bz2 hub.h
# apt-get remove linux-source-2.6.26
# cd /home/domotiga/install/usb-server
# ./installer.sh install-client 

Install DomotiGa

Install this like you normally do (see installation menu), and configure/run DomotiGaServer.

Related Resources

    Updated by: Alexie, Updated almost 6 years ago
    Access count: 71272 since 2011-08-25

    Attached Files

    Also available in: PDF HTML TXT