DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#126 2013-01-05 11:11:51

Mijzelf
Member / Developer
Registered: 2008-07-05
Posts: 709

Re: Packages for FFP 0.7

Komano wrote:

i found this problem to be linked to /etc/fstab/

I don't know the 320, but I can imagine this file just doesn't exist, or has the wrong contents (not reflecting the actual mounts). I can also imagine it actually needs /etc/mtab, which might not be there. You can create one by executing

Code:

ln -s /proc/mounts /etc/mtab

I can also imagine that the deamon searches in /ffp/etc/, in which case a symlink could solve the problem. strace could tell you that.

I assume your script is ran via "sh CreatePackageList.sh bzip2" ?

It's returning me an error "CreatePackageList.sh: line 208: exec: CreatePackageList.sh: not found"

Make it executable (chmod a+x CreatePackageList.sh), and run just ./CreatePackageList.sh bzip2. On that line the script is exec'ing itself

Code:

exec $0

and I suppose this can only be done on executables.

Offline

 

#127 2013-01-05 18:19:48

Komano
Member
Registered: 2011-06-10
Posts: 42

Re: Packages for FFP 0.7

Thanks for the tips Mijzelf!

Still learning the ropes on Linux smile

Offline

 

#128 2013-01-28 13:42:08

Himijana
New member
Registered: 2013-01-28
Posts: 2

Re: Packages for FFP 0.7

Thanks a lot for your package compilation Mijzelf! Awesome!

Could I bother you to upgrade mldonkey 3.1.0 to 3.1.3 maybe? (pretty please) ;-)
Reason is that support for magnet links was added in mldonkey in 3.1.3 and that's kind of crucial.

Offline

 

#129 2013-01-28 16:37:00

Mijzelf
Member / Developer
Registered: 2008-07-05
Posts: 709

Re: Packages for FFP 0.7

mldonkey-3.1.3-arm-1.txz. Let me know if it works for you.

Offline

 

#130 2013-01-28 17:56:24

Himijana
New member
Registered: 2013-01-28
Posts: 2

Re: Packages for FFP 0.7

Yes, works perfectly.
Many thanks!! ^_^

Mijzelf == Hero

Offline

 

#131 2013-02-01 11:29:49

memiks
Member
Registered: 2011-09-02
Posts: 72

Re: Packages for FFP 0.7

Hello,

I compile a minecraft server for NAS, this server is based on c++ port of minecraft java server.
http://mc-server.org/


You can find this package here: http://ffp.memiks.fr/pkg/MCServer-1182-arm-1.txz

for this package you need screen
and start /ffp/start/MCServer.sh

after that you can access to webadmin through http://nasip:8081/ (admin / admin)

could you please test ? I do not have minecraft for the moment...

Fred

Offline

 

#132 2013-02-03 19:42:01

jotenakis
Member
Registered: 2010-05-02
Posts: 25

Re: Packages for FFP 0.7

is there a way to have oabi packages for
syslog
openvpn
mysecureshell
?

Offline

 

#133 2013-02-05 10:52:59

memiks
Member
Registered: 2011-09-02
Posts: 72

Re: Packages for FFP 0.7

jotenakis wrote:

is there a way to have oabi packages for
syslog
openvpn
mysecureshell
?

Hello, I finally create a script to chroot a ffp oabi in ffp arm installation.
And I am able to compile packages for OABI or ARM installation of fun_plug.

Now, I will compile all my packages for oabi and make update of my repository ASAP

Fred.

Last edited by memiks (2013-02-05 10:53:13)

Offline

 

#134 2013-02-06 08:28:43

KyleK
Member
From: Dresden, Germany
Registered: 2007-12-05
Posts: 1178

Re: Packages for FFP 0.7

You think you could make that script available for others?
I currently always have to reboot twice to compile packages for ffp-0.5, ffp-0.7-arm and ffp-0.7-oabi, which I rarely do smile

Offline

 

#135 2013-02-06 13:58:47

memiks
Member
Registered: 2011-09-02
Posts: 72

Re: Packages for FFP 0.7

Ok I made this script : http://ffp.memiks.fr/run_chroot.sh to chroot FFP 0.7 OABI into already installed FFP 0.7 ARM

just do :
create a new folder for exemple :
mkdir ./your_ffp_folder_chroot

go into it :
cd ./your_ffp_folder_chroot

get script, change permission
wget http://ffp.memiks.fr/run_chroot.sh
chmod a+x ./run_chroot.sh

execute it :
./run_chroot.sh

you will arrived to a shell in chroot environnement ( ./your_ffp_folder_chroot will be / of the chroot system).
to quit just type exit.

If you start ./run_chroot "slacker -Uu" you will update slacker sites and go to update interface and after that quit chroot.

I made it after see this page : http://www.inreto.de/ffp/0.7/oabi/extra … README.txt

You can test it and tell me if it works for you.

Last edited by memiks (2013-02-06 13:59:07)

Offline

 

#136 2013-02-07 10:15:09

memiks
Member
Registered: 2011-09-02
Posts: 72

Re: Packages for FFP 0.7

jotenakis wrote:

is there a way to have oabi packages for
syslog
openvpn
mysecureshell
?

Hello I made a package for openvpn, you can test it.
http://ffp.memiks.fr/pkg/oarm/

I will check to compile mysecureshell and syslog wink

Fred.

Offline

 

#137 2013-02-12 21:07:30

jotenakis
Member
Registered: 2010-05-02
Posts: 25

Re: Packages for FFP 0.7

/ffp/sbin/openvpn: can't load library 'liblzo2.so.2'
despite I have installed http://ffp.memiks.fr/pkg/oarm/lzo-2.06-oarm-1.txz

Offline

 

#138 2013-02-13 10:39:25

memiks
Member
Registered: 2011-09-02
Posts: 72

Re: Packages for FFP 0.7

jotenakis wrote:

/ffp/sbin/openvpn: can't load library 'liblzo2.so.2'
despite I have installed http://ffp.memiks.fr/pkg/oarm/lzo-2.06-oarm-1.txz

Ok I see my package of lzo is bad, you can install it from uli repository.

I will update my lzo package...

sorry for the inconvenience...

Fred.

UPDATE: I update my package to include shared-library so you can update it by slacker -a lzo

Fred.

Last edited by memiks (2013-02-13 10:55:45)

Offline

 

#139 2013-02-16 00:21:49

jotenakis
Member
Registered: 2010-05-02
Posts: 25

Re: Packages for FFP 0.7

Thanks it works now
Have u tried to compile syslog ans mysecureshell ?

Last edited by jotenakis (2013-02-16 00:22:53)

Offline

 

#140 2013-03-09 04:04:22

jotenakis
Member
Registered: 2010-05-02
Posts: 25

Re: Packages for FFP 0.7

?

Offline

 

#141 2013-03-13 16:36:22

memiks
Member
Registered: 2011-09-02
Posts: 72

Re: Packages for FFP 0.7

Hello,

I finally found how to compile MySecureShell you can find it here: http://ffp.memiks.fr/pkg/mysecureshell-1.30-arm-1.txz (for EABI installation).

Of course, for security reason, I do not provide configuration file.

You must create it in /etc/ssh/sftp_config

Fred.

Open VPN is already compiled.

Offline

 

#142 2013-03-16 18:44:02

Stranger
Member
Registered: 2012-04-30
Posts: 26

Re: Packages for FFP 0.7

Fred, hello,

Do I have any chance you to compile NUT (for example, http://buildbot.networkupstools.org/~bu … nload.html) for ARM (DNS-343)?

It would be great.

Thanks in advance,
Stranger


D-Link DNS-343/FW1.06/4x2GB(RAID5), ffp-0.7 on USB,
full nfs-support, mc 4.8.1.756, nano 2.2.6, iStat 0.5.8, Lighttpd 1.4.39, mySQL 5.1.61, php 5.5.1-dev,
*NIX Time Machine-like backup, net-snmp 5.7.2, nut 2.6.5 (snmp-ups),
ownCloud 4.0.2, Transmission 2.81

Offline

 

#143 2013-03-18 11:31:14

memiks
Member
Registered: 2011-09-02
Posts: 72

Re: Packages for FFP 0.7

Stranger wrote:

Fred, hello,

Do I have any chance you to compile NUT (for example, http://buildbot.networkupstools.org/~bu … nload.html) for ARM (DNS-343)?

It would be great.

Thanks in advance,
Stranger

DONE : http://ffp.memiks.fr/pkg/nut-2.6.5-arm-1.txz
Could you please test ?

Package is compile with:
- usb support (need libusb package)
- snmp support (need snmp package)
- cgi support

this version is for ARM EABI only, if you need it for OABI system please send me a request wink

Best regards,
Fred.

Offline

 

#144 2013-03-19 21:15:47

Stranger
Member
Registered: 2012-04-30
Posts: 26

Re: Packages for FFP 0.7

Urah!!!!

You are my hero.

I'll test

Thanks a lot

Stranger


D-Link DNS-343/FW1.06/4x2GB(RAID5), ffp-0.7 on USB,
full nfs-support, mc 4.8.1.756, nano 2.2.6, iStat 0.5.8, Lighttpd 1.4.39, mySQL 5.1.61, php 5.5.1-dev,
*NIX Time Machine-like backup, net-snmp 5.7.2, nut 2.6.5 (snmp-ups),
ownCloud 4.0.2, Transmission 2.81

Offline

 

#145 2013-03-22 00:52:08

Stranger
Member
Registered: 2012-04-30
Posts: 26

Re: Packages for FFP 0.7

Repeat here too about the nut package:

1. snmp-ups is working as well as net-snmp!

2. could not understand whether .cgi works

3. does somebody need a short instruction (for snmp configs)?

3. Please place the "/ffp/start/upsd.sh.new" script into appropriate path with rw-r--r-- (644)  permissions

Content of the "/ffp/start/upsd.sh.new":

#!/ffp/bin/sh
# Original by Stranger

# PROVIDE: upsd
# REQUIRE: none

. /ffp/etc/ffp.subr

name="upsd"
command="/ffp/sbin/upsd"
upsd_configuration="/ffp/etc/upsd.conf"
upsd_flags=""
required_files="/ffp/etc/ups.conf"

extra_commands="reload logstart logstop"
start_cmd="upsd_start"
stop_cmd="upsd_stop"
status_cmd="upsd_status"
check_cmd="upsd_check"
reload_cmd="upsd_reload"
logstart_cmd="upsd_logstart"
logstop_cmd="upsd_logstop"

# user settings
ups_name="your-ups-name-here"
upsdrvctl_command="/ffp/bin/upsdrvctl"
log_command="/ffp/bin/upslog"
log_file="/path/to/log-file.log"
log_format="%TIME @Y@m@d,@H@M@S%,%VAR battery.charge%,%VAR input.voltage%,%VAR ups.load%,[%VAR ups.status%],%VAR ups.temperature%,%VAR input.frequency%"
mon_command="/ffp/sbin/upsmon"

upsd_start()
{
    echo "Starting driver"
    $upsdrvctl_command start 2>&1
    echo "Starting ups data server"
    $command 2>&1
    echo "Starting ups monitoring..."
    $mon_command 2>&1
}

upsd_stop()
{
    echo "Stopping ups monitoring..."
    $mon_command -c stop
    echo "Stopping ups data server"
    [ $(pidof -g upsd) -gt 0 ] && $command -c stop 2>&1
    echo "Stopping driver"
    $upsdrvctl_command stop 2>&1

}

upsd_status()
{

    if [ $(pidof -g upsmon) -gt 0 ]; then
    echo "ups monitoring are running... with pids $(pidof upsmon)"
    else
    echo "ups monitoring are stopped"
    fi

    if [ $(pidof -g upsd) -gt 0 ]; then
    echo "upsd services are running... with pids $(pidof upsd)"
    else
    echo "upsd services are stopped"
    fi

    if [ $(pidof -g snmp-ups) -gt 0 ]; then
    echo "snmp-ups drivers are running... with pids $(pidof snmp-ups)"
    else
    echo "snmp-ups drivers are stopped"
    fi
}

upsd_reload()
{
    echo "Reloading upsmon configuration ..."
    $mon_command -c reload 2>&1

    echo "Reloading upsd configuration ..."
    $command -c reload 2>&1

}

upsd_logstart()
{
    echo "Starting log to file ${log_file}"
    $log_command -f "$log_format" -s $ups_name -l "$log_file" 2>&1

}

upsd_logstop()
{
    echo "Stopping log to file ${log_file}"
    if [ $(pidof -g upslog) -gt 0 ]; then
    echo "log service is running... stopping it..."
    kill -9 $(pidof upslog) 2>&1
   
    else
    echo "log service is not running"
   
    fi
}

run_rc_command "$1"

Last edited by Stranger (2013-03-22 23:59:40)


D-Link DNS-343/FW1.06/4x2GB(RAID5), ffp-0.7 on USB,
full nfs-support, mc 4.8.1.756, nano 2.2.6, iStat 0.5.8, Lighttpd 1.4.39, mySQL 5.1.61, php 5.5.1-dev,
*NIX Time Machine-like backup, net-snmp 5.7.2, nut 2.6.5 (snmp-ups),
ownCloud 4.0.2, Transmission 2.81

Offline

 

#146 2013-04-08 13:36:42

jotenakis
Member
Registered: 2010-05-02
Posts: 25

Re: Packages for FFP 0.7

memiks wrote:

Hello,

I finally found how to compile MySecureShell you can find it here: http://ffp.memiks.fr/pkg/mysecureshell-1.30-arm-1.txz (for EABI installation).

Of course, for security reason, I do not provide configuration file.

You must create it in /etc/ssh/sftp_config

Fred.

Open VPN is already compiled.

can you provide a oarm package of mysecureshell ?

Thanks in advance

Offline

 

#147 2013-04-22 23:40:42

jotenakis
Member
Registered: 2010-05-02
Posts: 25

Re: Packages for FFP 0.7

?
Thanks

Offline

 

#148 2013-04-23 09:34:18

memiks
Member
Registered: 2011-09-02
Posts: 72

Re: Packages for FFP 0.7

jotenakis wrote:

can you provide a oarm package of mysecureshell ?

Thanks in advance

I try to compile mysecureshell but lot of dependencies did not compile without modification on OARM platform...

So I am not able to compile it... hmm sorry.

Memiks.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB