Sunday, June 10, 2007

Ubuntu Gutsy Ximeta NDAS Howto

A month ago I bought a TREKSTOR NDAS device. This devices promises on it's package to be linux compatible. So after I unpacked the hardware and everything was running in Windows I tried to install it in linux. Unfortunately the stock feisty debian package I found didn't work with my WLAN configuration.

Now after I reinstalled ubuntu and upgraded to gutsy which comes right now with a 2.6.22er kernel I tried to build the driver from source. I had to patch the sources to make it work, but since it works flawlessly right now I provide my patch and a little compilation howto.

Download the current NDAS sources and my NDAS patch for linux kernel 2.6.22.


# installed some packages. I don't know which exactly, but you'll need
# at least the following:
apt-get install build-essential checkinstall linux-headers-generic

# extract and patch the ndas sources...
tar xvzf /path/to/ndas-1.1-2.tar.gz
cd ndas-1.1-2
patch -p1 < /path/to/ndas-1.1-2_kernel-2.22.patch

# you only need to set NDAS_KERNEL_VERSION if you
# don't want to compile ndas for the currently running
# kernel for example, if you're compling from within colinux
NDAS_KERNEL_VERSION=2.6.22-6-generic
make

# ndas_root must be exported for make install and
# checkinstall to work
export ndas_root=$(pwd)
# somehow I had to make install before checkinstall...
# this is no problem, since checkinstall will clean up
# the whole mess again
sudo make install
sudo checkinstall


After that you can start the NDAS service by issuing

/etc/init.d/ndas start

Configure your device by following the Ximeta NDAS driver documentation.

16 comments:

  1. Thanks so much for the post I just got an NDAS drive and had it working in Ubuntu 7.04 but when I tried to insall in tribe 2 (7.10) it wouldn't compile.

    I did have to go find 1.1-2 for your patch work (or maybe I didn't apply it to the 1.1-6 version properly. If anyone is look for this version it is hosted at.

    http://code.ximeta.com/dev/1.1/2/linux/

    Thanks again.

    ReplyDelete
  2. [...] http://klimek.box4.net/blog/2007/06/10/ubuntu-gutsy-ximeta-ndas-howto/ http://code.ximeta.com/dev/current/linux/ http://code.ximeta.com/trac-ndas/wiki/Usage [...]

    ReplyDelete
  3. [...] Manuel Klimek » Blog Archive » Ubuntu Gutsy Ximeta NDAS Howto A month ago I bought a TREKSTOR NDAS device. This devices promises on it’s package to be linux compatible. So after I unpacked the hardware and everything was running in Windows I tried to install it in linux. Unfortunately the stock feisty debian package (tags: ubuntu ndas linux howto) [...]

    ReplyDelete
  4. Hi.
    I was able to compile the updated 1.1-15 driver for gutsy gibbon without a problem and got it to work with standard ethernet. Unfortunately WLAN access doesn't work either. I stumbled across your blog here and followed the instructions. I tried to compile it against the latest kernel headers for gutsy, which at the moment is 2.6.22-16. Unfortunately it didn't work.
    So here are the questions:
    Will I have to downgrade to the lower kernel to compile this driver with your patch (which one are you guys using atm)?
    Will this drive even work with WLAN? If so how will I have to set it up? I read online that it is not recommended using this drive with a wireless LAN...
    Hope someone reads this and can help me.
    Thanks,
    Michael

    ReplyDelete
  5. Michael,

    I wasn't able to use WLAN with a newer version of the driver, too.

    Manuel

    ReplyDelete
  6. Hi. I would like to use my two ndas devices with UBUNTU 7.10 64 bit. I am new to linux. Can you help me? Is there a repository from which I can download the application?

    ReplyDelete
  7. Hey Manuel - I came across your patch and just wondered if you got ndas to work on a 2.6.23/24 kernel? There have been quite some bug reports on this, but ximeta seems not to be interested at all (not even responding to emails...). I thought maybe you had a look on this and prepared a new patch or something...hopefully (see: http://code.ximeta.com/trac-ndas/report/1)

    ReplyDelete
  8. Hi Mathias,

    sorry, but at the moment I'm not using the NDAS, I'm just plugging it directly into my PC.

    /Manuel

    ReplyDelete
  9. Thanks for the reply...it was worth asking. I wish they'd rather claim not to support Linux instead of writing a piece of software and just not maintain it....

    ReplyDelete
  10. Really disappointed about TREKSTOR they should not say they are Linux compatible.

    I do not recommend it... I got it and I feel stock with it.

    I contacted their customer support and they just send me to the Ximeta web site after a few email and phone calls.

    ReplyDelete
  11. 66bPnM flgoey72FdAa1nc830fNdKu

    ReplyDelete
  12. bnvgf wsjghpnm zmghyp lscagkv wzaoruif mfgd wktnchmuy

    ReplyDelete
  13. I installed Ubuntu 9.04 a few days ago. My Ximeta NetDisk just works. I did nothing to add it. It appears as a usb drive under Computer.

    Shawn

    ReplyDelete
  14. Hello there. I made an Ubuntu 7.10 package of ndas-1.1-24 accordling to [1] and it compiled and installed OK but I cannot connect through WLAN (receive Login Error in cat /proc/ndas/devs).

    I have checked the ID and key with no success.

    Is this a bug or am I doing something wrong?

    [1] http://code.ximeta.com/trac-ndas/wiki/HowToBuildDEB

    ReplyDelete
  15. Answering my own post, if you got Login Error after registering the device try add
    options ndas_core ndas_dev=wlanX
    to your /etc/modprobe.d/options - so it can pick the right interface.

    That solved my issue.

    ( I got the ndas_dev tip here: http://code.ximeta.com/trac-ndas/ticket/666 )

    On the other hand, is it supposed to be so slow as compared i.e. with FTP to the device?

    ReplyDelete
  16. gncx qwlsl [URL=http://www.porntubescan.com - free porn movies[/URL - iahpgu b ai o pfu

    ReplyDelete