NDAS beta driver for Mandriva

This contents are copied from http://www.ximeta.com/forum/viewtopic.php?t=117

NDAS driver build on mandriva with out any problems

Here are the steps I followed.

I will keep this link updated http://signalblue.com/howto/ndas/build_ndas_driver_for_mandriva2006.html

Prerequisite

Linux system Linux frequency 2.6.12-12mdksmp #1 SMP Fri Sep 9 17:43:23 CEST 2005 i686 Pentium III (Katmai) unknownGNU/Linux (Build System) GCC compiler build version (4.0.1-5mdk for Mandriva Linux release 2006.0)

Get Driver Tarball

wget http://code.ximeta.com/download/0.9.9/52/ndas-0.9.9-52.tar.gz

Note Other version may work (list above are the version the was used during build) 1. Install and configure the kernel source via urpmi

[root@frequency ]# urpmi kernel-source

installing kernel-source-2.6-2.6.12-12mdk.i586.rpm from /var/ftp/pub/Mandrivalinux/media/main3
Preparing... #############################################
1/1: kernel-source-2.6 #############################################

You will also need to install module-init-tools and modutils

#urpmi module-init-tools modutils
#urpmi modutils

2. Build the ndas rpm

#export NDAS_KERNEL_PATH=/usr/src/linux-2.6.12-12mdk/
#export NDAS_KERNEL_VERSION=2.6.12

# rpmbuild -tb ndas-0.9.9-52.tar.gz

and you will get the RPM file under

/usr/src/RPM/RPMS/i586/ndas-0.9.9-2.6.12.52.i586.rpm

3. Install the rpm

# rpm -ivh /usr/src/RPM/RPMS/i586/ndas-0.9.9-2.6.12.52.i586.rpm

4. Using NDAS driver To mount you device please read the README

#/usr/lib/ndas (You can start at Section 5)

If you can locate the installed file with the following command

#rpm -ql ndas

ndasadmin is located at (#/usr/sbin/ndasadmin)

thanks --Anthony Vattathil