1 (edited by CraXyOW3 2013-01-17 19:39:51)

Topic: [HELP] sc101-nbd custom package

I have tried to make my own custom package off this software but apparently something is wrong as it does not work.
Also someone named ZeroPain has done this once but any reference to how and where to get it is not available, his site is down and i cant find anything else regarding his work.

sc101-nbd site and source:
http://code.google.com/p/sc101-nbd/

My Makefile

include $(TOPDIR)/rules.mk

PKG_NAME:=sc101-nbd
PKG_VERSION:=0.03
PKG_RELEASE:=1

PKG_BUILD_DIR:=$(BUILD_DIR)/sc101-nbd-$(PKG_VERSION)
PKG_SOURCE:=sc101-nbd_$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://sc101-nbd.googlecode.com/files
PKG_MD5SUM:=92cc1a4f11c971fede8e0a1e69e1ce2d
PKG_CAT:=zcat

include $(INCLUDE_DIR)/package.mk

define Package/sc101-nbd
  SECTION:=base
  CATEGORY:=Network
  DEFAULT:=y
  TITLE:=Netgear Storage Central 101
  #DESCRIPTION:=This variable is obsolete. use the Package/name/description define instead!
  URL:=http://code.google.com/p/sc101-nbd/
endef

define Package/sc101-nbd/description
 The tools to use the sc101 newtork device on openwrt.
 This is Ian Wade's work.
endef

define Package/sc101-nbd/install
    $(INSTALL_DIR) $(1)/usr/sbin
    $(INSTALL_BIN) $(PKG_BUILD_DIR)/ut $(1)/usr/sbin/
endef

$(eval $(call BuildPackage,sc101-nbd))

The ut command is available after install is made, but everything regarding the nbd driver aint working.
This package it selves makes /dev/nbdX available but nothing was added there, so the nbd driver wasnt loaded when installed with this package. Tried loading it with insmod but nothing. Also my knowledge is "hobbyist" at best!

Even tried with the existing nbd package available through opkg but it does not work.

ANY help would be more than appreciated, surely something trivial i have missed!


Updated information on OWRT - Wiki
http://wiki.openwrt.org/toh/netgear/sc101

Re: [HELP] sc101-nbd custom package

If no one can help or wants to help, could someone atleast post a reference howto get this package working?
What i understand is that it is one cli and one driver.

Thanks beforehand.