NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
gabbano
Jan 28, 2009Aspirant
NewCS on ReadyNAS DUO!
Hi all,
I dont know if this is the right place to post but...
I managed to get my hands on a NewCS verision compiled for ReadyNas. It seems to be working all right exept the Kernel for ReadyNAS does not have "Serial Device Convertor" compiled so my Phoenix USB readers never get mapped to tty\USB\x .
I have read in some forums and it seems to be 2 missing for this to work.
usbserial
ftdi_sio
Someone know how to compile these files for the ReadyNas, someone know where to find information about this?
I dont know if this is the right place to post but...
I managed to get my hands on a NewCS verision compiled for ReadyNas. It seems to be working all right exept the Kernel for ReadyNAS does not have "Serial Device Convertor" compiled so my Phoenix USB readers never get mapped to tty\USB\x .
I have read in some forums and it seems to be 2 missing for this to work.
usbserial
ftdi_sio
Someone know how to compile these files for the ReadyNas, someone know where to find information about this?
35 Replies
Replies have been turned off for this discussion
- nasolopenziAspirantnevermind my last post! problem solved!
:roll: - rosensAspirantHi all,
I have successfully installed NewCS with a Smargo Smartreader - and it's running fine.
But is it possible to make a script so NewCS startup automatically at bootup? Now I have to insmod the drivers and start NewCS manually everytime i boot the NAS.
Hope someone brighter than me can post a solution.
Thanks in advance
regards rosens - super_poussinVirtuosowe call that an add-on :)
- WhoCares_Mentor
rosens wrote: But is it possible to make a script so NewCS startup automatically at bootup?
As already stated by super-poussin, you can always make an addon of your project. If you don't want to go through all the steps neccessary, the easy solution would be to create a startup script like for example "00_newcs.sh" and put it in the /var/spool/frontview/boot/ directory. Make sure the script is owned by admin (by doing a "chown admin:admin 00_newcs.sh"). This script will get executed on every startup.
Likewise, if you need to shut down some drivers/daemons when powering down the ReadyNAS, you can put another script in /var/spool/frontview/shutdown. The same rules as above apply.
-Stefan - rosensAspirant
WhoCares? wrote: rosens wrote: But is it possible to make a script so NewCS startup automatically at bootup?
As already stated by super-poussin, you can always make an addon of your project. If you don't want to go through all the steps neccessary, the easy solution would be to create a startup script like for example "00_newcs.sh" and put it in the /var/spool/frontview/boot/ directory. Make sure the script is owned by admin (by doing a "chown admin:admin 00_newcs.sh"). This script will get executed on every startup.
Likewise, if you need to shut down some drivers/daemons when powering down the ReadyNAS, you can put another script in /var/spool/frontview/shutdown. The same rules as above apply.
-Stefan
Thanks Stefan,
So if I make a script with the lines:
insmod /usr/local/bin/newcs/usbserial.ko
insmod /usr/local/bin/newcs/ftdi_sio.ko
/usr/local/bin/newcs/./newcs -c newcs.xml
and do as you say - it should do the trick?
regards rosens - super_poussinVirtuoso
rosens wrote: WhoCares? wrote: rosens wrote: But is it possible to make a script so NewCS startup automatically at bootup?
As already stated by super-poussin, you can always make an addon of your project. If you don't want to go through all the steps neccessary, the easy solution would be to create a startup script like for example "00_newcs.sh" and put it in the /var/spool/frontview/boot/ directory. Make sure the script is owned by admin (by doing a "chown admin:admin 00_newcs.sh"). This script will get executed on every startup.
Likewise, if you need to shut down some drivers/daemons when powering down the ReadyNAS, you can put another script in /var/spool/frontview/shutdown. The same rules as above apply.
-Stefan
Thanks Stefan,
So if I make a script with the lines:
insmod /usr/local/bin/newcs/usbserial.ko
insmod /usr/local/bin/newcs/ftdi_sio.ko
/usr/local/bin/newcs/./newcs -c newcs.xml
and do as you say - it should do the trick?
regards rosens
when you do a startup script , you need to provide full path to executable :)
/sbin/insmod /usr/local/bin/newcs/usbserial.ko
/sbin/insmod /usr/local/bin/newcs/ftdi_sio.ko
/usr/local/bin/newcs/newcs -c newcs.xml - rosensAspirantCool thanks! :D
The script should contain these lines:
/sbin/insmod /usr/local/bin/newcs/usbserial.ko
/sbin/insmod /usr/local/bin/newcs/ftdi_sio.ko
/usr/local/bin/newcs/newcs -c /usr/local/bin/newcs/newcs.xml
regards rosens - WhoCares_MentorI know it's a silly question but did you try:
/usr/local/bin/newcs -c /full/path/to/newcs.xml
already?
-Stefan - rosensAspirant8) Yep - thanks again Stefan!
It starts up fine with that syntax.
rosens - WhoCares_Mentor
rosens wrote: 8) Yep - thanks again Stefan!
It starts up fine with that syntax.
You're welcome ;)
Mind if I ask you to *not* edit your posts in such a way that comments following your post become "out of context"? <beg>
-Stefan
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!