[HELP] How To Create OPTWARE Instalation Package »  Show posts from    to     

Storlink devices community


35HD-DUAL-NAS-E - [HELP] How To Create OPTWARE Instalation Package



dan20 [ Saturday, 13 November 2010, 08:56 ]
Post subject: Re: [HELP] How To Create OPTWARE Instalation Package
DocBrown wrote: [View Post]
dan20 wrote: [View Post]

Hi,
you don't have to do anything on the windows side.
Just connect via putty to the NAS, it should work.

After installation all files should reside in /mnt/ide3/optware.

You may try "ls /opt" on the NAS via telnet, this is the directory the init-script maps the /mnt/ide3/optware directory to.
If it doesn't exist, the script wasn't executed properly.
Last thing you could try to check if the script ran on startup may be a "ps w | grep sshd".
If it gives you back the process and not just another "grep sshd" than the ssh-daemon is running on your system.
The output has to show something like this:
1635 root 3492 S /opt/sbin/sshd
...

You can try to execute the init-script manually and see if you can use the ipkg-command afterwards. (without rebooting)

Another tip might be to use al linux filesystem on the NAS. (eg. ext3)
I don't know if all this works under a fat filesystem.


Hi

Got sorted out!
The problem was the missing RC.D folder. I did a reinstall of the optware and afterwards everything worked fine. MC running IPKG working etc..
I use EXT3 as file sytem on the NAS no question about it ( would bee windows 7 poor support
in that case). Still I can`t reach the Share sytem under windows (SAMBA etc ) and do some file opperations, which I probably should avoid but still...

Very greatful for Youre help
Dan


DocBrown [ Saturday, 13 November 2010, 11:10 ]
Post subject: Re: [HELP] How To Create OPTWARE Instalation Package
Quote:

Start: transmission-daemon -f -B
On /root/.config/transmission-daemon all new folders created by Transmission (setting.json too)
Edit of setting.json to change temp and download dir (default a root folder: no space).

Transmission 2.11-1 work on GigaNas but... on restart /root/.config/transmission-daemon will erased.

Will someone work on it?

Image


Hi,
maybe this might help:
https://trac.transmissionbt.com/wiki/ConfigFiles

As far as I understand it, by default the transmission-daemon stores all config files in the home of the user that executed it.
But you can try to set the TRANSMISSION_HOME variable manually to a place on the HDD.
With: TRANSMISSION_HOME=/mnt/md1/someplace
Than execute the transmission-daemon and look if it has created the files in this folder.


Or you can try to run it as another user e.g. "admin":

First look if this user has a home on the mounted hdd by typing:
"cat /etc/passwd"
as root.

Here is the syntax of passwd described:
http://www.cyberciti.biz/faq/unders...wd-file-format/

You will find this information in the web-interface of the NAS under "accounts" too.

If the "admin"-user has a home on e.g. "/mnt/md1/admin", then login as "admin" via telnet or ssh and start transmission-daemon the usual way.
It should save all the necessary config-files in the admin home home, thus keeping it after a reboot.

If it doesn't work, try to set the $HOME-Variable by hand.
Login as "admin" and type "HOME=/mnt/md1/admin", you could use any other path here that does exist on you hdd.
To see if the variable is set right, type "echo $HOME".
The output should be: /mnt/md1/admin.


askanio [ Saturday, 13 November 2010, 20:54 ]
Post subject: Re: [HELP] How To Create OPTWARE Instalation Package
DocBrown wrote: [View Post]
Quote:

Start: transmission-daemon -f -B
On /root/.config/transmission-daemon all new folders created by Transmission (setting.json too)
Edit of setting.json to change temp and download dir (default a root folder: no space).

Transmission 2.11-1 work on GigaNas but... on restart /root/.config/transmission-daemon will erased.

Will someone work on it?



Hi,
maybe this might help:
https://trac.transmissionbt.com/wiki/ConfigFiles

As far as I understand it, by default the transmission-daemon stores all config files in the home of the user that executed it.
But you can try to set the TRANSMISSION_HOME variable manually to a place on the HDD.
With: TRANSMISSION_HOME=/mnt/md1/someplace
Than execute the transmission-daemon and look if it has created the files in this folder.


Or you can try to run it as another user e.g. "admin":

First look if this user has a home on the mounted hdd by typing:
"cat /etc/passwd"
as root.

Here is the syntax of passwd described:
http://www.cyberciti.biz/faq/unders...wd-file-format/

You will find this information in the web-interface of the NAS under "accounts" too.

If the "admin"-user has a home on e.g. "/mnt/md1/admin", then login as "admin" via telnet or ssh and start transmission-daemon the usual way.
It should save all the necessary config-files in the admin home home, thus keeping it after a reboot.

If it doesn't work, try to set the $HOME-Variable by hand.
Login as "admin" and type "HOME=/mnt/md1/admin", you could use any other path here that does exist on you hdd.
To see if the variable is set right, type "echo $HOME".
The output should be: /mnt/md1/admin.


Thankyou Doc, but don't work. Transmission even try to find setting on root.
But this work:
transmission-daemon -f -B -g /mnt/md1/public/applications/transmission/.config/transmission-daemon.

I copy .config folder from root to /mnt/md1/public/applications/transmission.
After restart, telnet and run as up: Transmission start to verify and resume all torrents.

At this point may be usefull a script .sh on /mnt/md1/local/etc/rc.d for autostart...


jacklazy [ Saturday, 18 December 2010, 17:05 ]
Post subject: Re: [HELP] How To Create OPTWARE Instalation Package
DocBrown wrote: [View Post]
askanio wrote: [View Post]
Installation complete! But now? What useful package?

Depends on what you want to do.
Rsync for example is interesting if you want to do a backup on an external USB-HDD.
Ffmpeg or vlc might be useful for transcoding media for streaming purposes. (don't know if the arm processor is fast enough though)
The ssh-server is already installed and you can use it now for save file-transfer instead of ftp and for login of course. (I turned off telnet completely)
You have the freedom of choice now...


bert9000 [ Tuesday, 28 December 2010, 19:07 ]
Post subject: Re: [HELP] How To Create OPTWARE Instalation Package
@askanio

I think you could create a simple script named 30_transmission.sh

#!/bin/sh
transmission-daemon -f -B -g /mnt/md1/public/applications/transmission/.config/transmission-daemon

copy to /mnt/md1/local/etc/rc.d then
chmod +x /mnt/md1/local/etc/rc.d/30_transmission.sh

The script will run at every boot.

P.S. I'm using Transmission official package, installed from
http://www.embeded-systems.net/software.htm
it works great, no need to manual install!

bye
Alberto


askanio [ Tuesday, 28 December 2010, 21:47 ]
Post subject: Re: [HELP] How To Create OPTWARE Instalation Package
bert9000 wrote: [View Post]
@askanio

I think you could create a simple script named 30_transmission.sh

#!/bin/sh
transmission-daemon -f -B -g /mnt/md1/public/applications/transmission/.config/transmission-daemon

copy to /mnt/md1/local/etc/rc.d then
chmod +x /mnt/md1/local/etc/rc.d/30_transmission.sh

The script will run at every boot.

P.S. I'm using Transmission official package, installed from
http://www.embeded-systems.net/software.htm
it works great, no need to manual install!

bye
Alberto


Thank, I'll try.
The original version is 1.72.
With Optware installation and update I've the last version (2.13) with many more information and improved performance. It's the same version that run on Freenas. Try!


askanio [ Friday, 31 December 2010, 14:47 ]
Post subject: Re: [HELP] How To Create OPTWARE Instalation Package
bert9000 wrote: [View Post]
@askanio

I think you could create a simple script named 30_transmission.sh

#!/bin/sh
transmission-daemon -f -B -g /mnt/md1/public/applications/transmission/.config/transmission-daemon

copy to /mnt/md1/local/etc/rc.d then
chmod +x /mnt/md1/local/etc/rc.d/30_transmission.sh

The script will run at every boot.

P.S. I'm using Transmission official package, installed from
http://www.embeded-systems.net/software.htm
it works great, no need to manual install!

bye
Alberto


Don't work...


TheDrake [ Tuesday, 06 December 2011, 00:42 ]
Post subject: Re: [HELP] How To Create OPTWARE Instalation Package
askanio wrote: [View Post]
bert9000 wrote: [View Post]
@askanio

I think you could create a simple script named 30_transmission.sh

#!/bin/sh
transmission-daemon -f -B -g /mnt/md1/public/applications/transmission/.config/transmission-daemon

copy to /mnt/md1/local/etc/rc.d then
chmod +x /mnt/md1/local/etc/rc.d/30_transmission.sh

The script will run at every boot.

P.S. I'm using Transmission official package, installed from
http://www.embeded-systems.net/software.htm
it works great, no need to manual install!

bye
Alberto


Don't work...


I had same problem with mediatomb autostart. I fixed it using a script to link ipkg startfile script in /etc/rc.d

Eg: with the following script in /mnt/ide3/local/etc/rc.d/ I finally get mediatomb to autostart at every boot.

Code: [Hide]
  1. #!/bin/sh  
  2. ln -sf /opt/etc/init.d/S90mediatomb /etc/rc.d/S90mediatomb.sh 


Ramanjit81 [ Monday, 13 July 2015, 13:03 ]
Post subject: Re: [HELP] How To Create OPTWARE Instalation Package
Hi there,

I own two of these boxes but for years I've had problem setting them up and using them properly.

I have them both on RAID with 2x 1TB HDDs. I want to use one of them as a remote backup of the other.


I came this thread and would appreciate if you would be so kind as to answer as many of the following queries that you can for me. First of all - Has there been any update of this package.




Powered by Icy Phoenix based on phpBB