Ticket #1112 (new enhancement)
NDAS packets for Ubuntu 9.04 Jaunty
| Reported by: | arnaud.faucher | Owned by: | hootch |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.1 |
| Component: | xplat | Version: | 1.1-XX |
| Severity: | normal | Keywords: | |
| Cc: | cpu/chip: | i386 | |
| Linux Distribution: | Ubuntu | Linux Dist Version: | 9.04 |
| Kernel Version (Result of "uname -r"): | 2.6.28-13-generic |
Description
Following ticket #1110, here are packets for Ubuntu 9.04 i386. These packets should work for 9.10 too.
In order to install, please refer to HowToBuildDEB.
Don't forget to remove all /usr/src/ndas* files before to install the packages.
Attachments
Change History
comment:2 follow-up: ↓ 3 Changed 3 years ago by wwiki
Hello , I test them without patch . But I can't have a slot.
cat /proc/ndas/devs Name ID Key Serial Ver Status Slots VERBATIM 6RFN0DHKQX524A4* Yes 000006801032898 N/A Offline
dmesg [ 872.990658] ndas: Initializing NDAS driver version 1.1.24 [ 872.991565] ndas: Setting max request size to 64kbytes [ 872.991614] ndas: registering network interface eth0 [ 872.991617] SN|1|sal_netdev_open|/usr/src/modules/ndas/sal/net.c:599|ing name=eth0|modprobe,0:9:32.247,3472:1 [ 872.991629] SN|1|sal_netdev_get_mtu|/usr/src/modules/ndas/sal/net.c:693|MTU=1500 [ 872.991634] |modprobe,0:9:32.247,3484:1 [ 872.991636] ndas: registering network interface eth1 [ 872.991638] SN|1|sal_netdev_open|/usr/src/modules/ndas/sal/net.c:599|ing name=eth1|modprobe,0:9:32.247,3472:1 [ 872.991645] SN|1|sal_netdev_get_mtu|/usr/src/modules/ndas/sal/net.c:693|MTU=1500 [ 872.991650] |modprobe,0:9:32.247,3484:1 [ 872.991652] ndas: registering network interface pan0 [ 872.991654] SN|1|sal_netdev_open|/usr/src/modules/ndas/sal/net.c:599|ing name=pan0|modprobe,0:9:32.247,3472:1 [ 872.991661] SN|1|sal_netdev_get_mtu|/usr/src/modules/ndas/sal/net.c:693|MTU=1500 [ 872.991665] |modprobe,0:9:32.247,3484:1 [ 873.001541] PF|1|init_ndasproc|/usr/src/modules/ndas/block/procfs.c:504|ing|modprobe,0:9:33.0,3532:2 [ 873.001712] ndas: registered ndas device at major number 60 [ 884.008068] BL|1|ndcmd_dev_changed|/usr/src/modules/ndas/block/ctrldev.c:576|ing serial=000006801032898 name=VERBATIM online=0|nd/dpcd1,0:9:44.2,3456:6 [ 884.008093] BL|1|ndcmd_dev_changed|/usr/src/modules/ndas/block/ctrldev.c:587|Device VERBATIM is not healthy|nd/dpcd1,0:9:44.2,3456:6
I install it on ubuntu 9.04 2.6.28-13-generic with ext4.
comment:3 in reply to: ↑ 2 Changed 3 years ago by arnaud.faucher
Replying to wwiki:
Do you have a /etc/modprobe.d/ndas-core.conf file ? If not, because it seems you are connecting to your NDAS device using eth0, put this line into the /etc/modprobe.d/ndas-core.conf file:
options ndas-core ndas_dev=eth0
(if you're using another network interface, change eth0 for this interface name)
comment:4 Changed 3 years ago by wwiki
Thank you for answer.
I add /etc/modprobe.d/ndas-core.conf with eth0 and eth1 . I restart /etc/init.d/ndas service
sudo ndasadmin register 6RFN0-DHKQX-524A4-DLXCQ-E54T6 -n VERBATIM NDA|1|ndc_register|fail to ioctl=-15|/home/arnaud/ndas-1.1-24/admin/ndasadmin.c:1011
cat /proc/ndas/devs
Name ID Key Serial Ver Status Slots VERBATIM 6RFN0DHKQX524A4* Yes 000006801032898 N/A Offline
I can't have NetDisk online.
comment:5 Changed 3 years ago by arnaud.faucher
Can you try to put only one line in the /etc/modprobe.d/ndas-core.conf (with the interface you use to connect to the drive).
Are you inside a virtual machine ?
comment:6 Changed 3 years ago by wwiki
Hello,
I tried to put one other line. Nothing good.
I use a switch.
Internet -- Gateway -- switch -- PC1 192.0.168.10 DHCP
-- Netdisk 192.0.168.11 DHCP
After I enable DHCP and NDAS on setup netdisk . I can access in read mode.
Now I look for access in read/write mode.
/etc/fstab /dev/ndas-01032898-0p1 /media/netdisk vfat defaults,user,noauto 0 0
comment:7 Changed 3 years ago by wwiki
To solve it ,
I copy mount option USB KEY. so /etc/fstab
dev/ndas-01032898-0p1 /media/netdisk vfat rw,nosuid,nodev,uhelper=hal,shortname=mixed,uid=1000,utf8,umask=077,flush 0 0
Write mode work for little file. Big file gateway will be overflowed . ( Internet -- Gateway is one Internet Box.
:)

