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.

#1 2008-03-28 12:26:46

SweMart
Member
From: Stockholm, Sweden
Registered: 2008-03-18
Posts: 14

Addons to fonz's fun_plug 0.5 experimental

Hi!

I've created a few addons to fonz's fun_plug version 0.5. You can download the packages here:
http://sara.homeunix.net/fun_plug/0.5/

Currently the following packages are available for download:
Sudo 1.6.9p14 - A tool that enables the execution as the root user without the need of a root password
ProFTPD 1.3.1 including mod_tls - A FTP daemon that implements SSL/TLS enabled FTP transfers
lftp 3.6.3 - A FTP client supporting SSL/TLS

More packages will be added soon.

Cheers,
Martin

Last edited by SweMart (2008-03-28 21:18:27)

Offline

 

#2 2008-03-28 15:01:49

kikkeraap
Member
Registered: 2008-03-19
Posts: 17

Re: Addons to fonz's fun_plug 0.5 experimental

Thnx verry much! more packages are always welcome!

Offline

 

#3 2008-03-28 15:51:07

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: Addons to fonz's fun_plug 0.5 experimental

Good work. I've added your sudo package to: http://dns323.kood.org/howto:ffp
If you add more packages, you might want to add them there, too.

Offline

 

#4 2008-03-28 20:31:09

ojve
Member
Registered: 2008-03-02
Posts: 28

Re: Addons to fonz's fun_plug 0.5 experimental

Excellent! Just what I've been looking for!

Could anyone do this with rtorrent? Then I'd be overjoyed:)

Offline

 

#5 2008-03-28 21:04:22

SweMart
Member
From: Stockholm, Sweden
Registered: 2008-03-18
Posts: 14

Re: Addons to fonz's fun_plug 0.5 experimental

fonz wrote:

Good work. I've added your sudo package to: http://dns323.kood.org/howto:ffp
If you add more packages, you might want to add them there, too.

Will do.

Offline

 

#6 2008-03-28 21:11:49

ojve
Member
Registered: 2008-03-02
Posts: 28

Re: Addons to fonz's fun_plug 0.5 experimental

Could someone describe how to add users to proftpd? Please?

//T

Offline

 

#7 2008-03-28 21:17:48

SweMart
Member
From: Stockholm, Sweden
Registered: 2008-03-18
Posts: 14

Re: Addons to fonz's fun_plug 0.5 experimental

ojve wrote:

Could someone describe how to add users to proftpd? Please?

//T

You add users like normal, via the D-Link web interface.

Offline

 

#8 2008-03-28 22:38:38

bzhou
Member
Registered: 2008-02-15
Posts: 171

Re: Addons to fonz's fun_plug 0.5 experimental

ojve wrote:

Excellent! Just what I've been looking for!

Could anyone do this with rtorrent? Then I'd be overjoyed:)

Code:

# ipkg list | grep -i torrent
btpd - 0.13-1 - BTPD is a bittorrent client consisting of a daemon and a cli client, which can be used to read and/or manipulate the daemon sta
clutch - 0.4-3 - WebUI for the Transmission BitTorrent client
ctcs - 1.4-9 - CTorrent Control Server (CTCS) is an interface for monitoring and managing Enhanced CTorrent clients
ctorrent - 1.3.4-2 - CTorrent is a BitTorrent client written in the C programming language.
enhanced-ctorrent - dnh3.2-10 - Enhanced CTorrent is a revised version of CTorrent
libbt - 1.05-5 - a C library implementing the core BitTorrent protocol
libtorrent - 0.12.0-2 - libtorrent is a BitTorrent library with a focus on high performance and good code.
py-bittorrent-common - 5.0.9-1 - BitTorrent is a scatter-gather network file transfer tool.
py24-bittorrent - 5.0.9-1 - BitTorrent is a scatter-gather network file transfer tool.
py25-bittorrent - 5.0.9-1 - BitTorrent is a scatter-gather network file transfer tool.
rtorrent - 0.8.0-1 - rtorrent is a BitTorrent client for ncurses, using the libtorrent library.
torrent - 1.4-7 - a collection of scripts that processes torrent files
transmission - 1.06+r5332-1 - lightweight BitTorrent client and daemon with WWW interface

See http://www.nslu2-linux.org/wiki/Optware/Dns323 on setup.

Offline

 

#9 2008-05-19 20:31:56

ChamPro
Member
Registered: 2008-04-05
Posts: 12

Re: Addons to fonz's fun_plug 0.5 experimental

How about a small request for a package that provides a slightly easier text editor? Maybe nano?

Offline

 

#10 2008-05-20 00:10:54

bzhou
Member
Registered: 2008-02-15
Posts: 171

Re: Addons to fonz's fun_plug 0.5 experimental

ChamPro wrote:

How about a small request for a package that provides a slightly easier text editor? Maybe nano?

Code:

# ipkg list | egrep -i 'editor|emacs|nvi'
ed - 0.9-1 - Line editor
emacs22 - 22.1-1 - Emacs is the extensible, customizable, self-documenting real-time display editor.
hexcurse - 1.55-2 - A versatile ncurses-based hex editor.
jed - 0.99.18-1 - A powerful yet friendly text editor.
joe - 3.5-1 - Joe's own editor. A text editor with wordstar-like and emacs-like keybindings.
jove - 4.16.0.70-2 - A tiny, fast editor with emacs keybindings
mg - 20080305-1 - mg is a Public Domain EMACS style editor.
moe - 0.9-1 - My own editor, a powerful, 8-bit clean text editor for ISO-8859 and ASCII character encodings.
nano - 2.1.1-1 - A pico like editor
ne - 1.43-1 - The nice editor.
nvi - 1.79-2 - The original Berkeley Vi.
qemacs - 0.3.1-1 - QEmacs (for Quick Emacs) is a very small but powerful UNIX editor.
sed - 4.1.5-3 - Stream editor.
ssam - 1.9-1 - A stream editor that uses the UTF routines and understands the sam command set. It is analogous to sed.
uemacs - 4.0.15-2 - uEmacs/PK, Full screen editor based on MicroEMACS 3.9e.
vim - 7.1-1 - Yet another version of the vi editor.
zile - 2.2.59-1 - Zile is Lossy Emacs, a small, fast, and powerful Emacs clone.

See http://www.nslu2-linux.org/wiki/Optware/Dns323 on setup.

Offline

 

#11 2008-05-20 05:45:24

abubin
Member
Registered: 2007-11-01
Posts: 59

Re: Addons to fonz's fun_plug 0.5 experimental

Yes, nano!!! I want!!!

Will try to follow the guide to install ipkg on fonz's funplug 0.5. Hope this works.

Thank you very much for the effort.

Last edited by abubin (2008-05-20 05:45:51)

Offline

 

#12 2008-05-20 16:29:43

ChamPro
Member
Registered: 2008-04-05
Posts: 12

Re: Addons to fonz's fun_plug 0.5 experimental

Thanks a bunch. I didn't expect so many choices!

Offline

 

#13 2008-05-20 17:13:20

abubin
Member
Registered: 2007-11-01
Posts: 59

Re: Addons to fonz's fun_plug 0.5 experimental

cool!!! manage to install nano, finally!!! whew....

Thanks for the help. The guide on installing ipkg is also very good. Just a minor thing...

In your guide,

To configure that feed as the default feed, just add in /opt/etc/ipkg.conf

src dns323 http://ipkg.nslu2-linux.org/feeds/optwa … /unstable/


The trailing / is not needed. But strangely it still works because when I get packages, i see :

Downloading http://ipkg.nslu2-linux.org/feeds/optwa … -1_arm.ipk

Notice the double slash after "unstable".

Oh well, not really an issue cause it still works.

Again, thanks!!!

Offline

 

#14 2008-05-20 18:11:06

abubin
Member
Registered: 2007-11-01
Posts: 59

Re: Addons to fonz's fun_plug 0.5 experimental

Ah...when I reboot the DNS323, settings for the ipkg will be gone.

So, I created a startup script in /ffp/start called ipkg.sh

#!/ffp/bin/sh
mkdir -p /opt
mkdir -p /mnt/HD_a2/ipkg/opt
mount -o bind /mnt/HD_a2/ipkg/opt /opt
export PATH=/opt/bin:/opt/sbin:$PATH


chmod a+x ipkg.sh

This should get it running on boot up.

Last edited by abubin (2008-05-20 18:22:32)

Offline

 

#15 2008-05-20 18:15:36

SilentException
Member
From: Island of Krk, Croatia
Registered: 2008-05-04
Posts: 148

Re: Addons to fonz's fun_plug 0.5 experimental

you could make a script in start folder or just add these to fun_plug (near the end)

mkdir -p /opt
mount --bind /mnt/HD_a2/ipkg/opt /opt

if you use ffp0.5 add the edit the PATH in /ffp/etc/profile

done smile


D-Link DNS-323 v1.05 fun_plug-ed + many mods,  2 x 320GB Seagate Barracuda 7200.10 RAID0, Cat6 Gigabit Network, 9k Jumbo Frames, Average (WRITE): 19,32 MB/sec, Average (READ): 28,6 MB/sec

Offline

 

#16 2008-05-20 18:24:23

abubin
Member
Registered: 2007-11-01
Posts: 59

Re: Addons to fonz's fun_plug 0.5 experimental

SilentException wrote:

you could make a script in start folder or just add these to fun_plug (near the end)

mkdir -p /opt
mount --bind /mnt/HD_a2/ipkg/opt /opt

if you use ffp0.5 add the edit the PATH in /ffp/etc/profile

done smile

Okay, that will work too...thanks.

Offline

 

#17 2008-05-20 23:15:01

bzhou
Member
Registered: 2008-02-15
Posts: 171

Re: Addons to fonz's fun_plug 0.5 experimental

abubin wrote:

cool!!! manage to install nano, finally!!! whew....

Just a minor thing...

src dns323 http://ipkg.nslu2-linux.org/feeds/optwa … /unstable/

The trailing / is not needed. But strangely it still works because when I get packages.

Thanks, updated.

Offline

 

#18 2008-05-21 00:52:10

grmek
Member
Registered: 2008-05-14
Posts: 11

Re: Addons to fonz's fun_plug 0.5 experimental

Having problems here... did the abubin's procedure with ipkg.sh file, which starts successfully, but:

/mnt/USB # zcat $ipkg_name | tar -xOvf - ./data.tar.gz | zcat | tar -C / -xvf -
./
./opt/
./opt/etc/
...
...
./opt/bin/ipkg-opt

/mnt/USB # /opt/bin/ipkg list
Successfully terminated.

/mnt/USB # /opt/bin/ipkg install nano_2.1.1-1_arm.ipk
Installing nano (2.1.1-1) to root...
Nothing to be done
An error ocurred, return value: 1.
Collected errors:
ERROR: Cannot satisfy the following dependencies for nano:
         ncurses
/mnt/USB #



Any ideas? I'm running ffp0.5 off USB stick, which works OK. I've altered the path in ipkg.sh accordingly..

regards.

Offline

 

#19 2008-05-21 04:07:09

bzhou
Member
Registered: 2008-02-15
Posts: 171

Re: Addons to fonz's fun_plug 0.5 experimental

grmek wrote:

Having problems here... did the abubin's procedure with ipkg.sh file, which starts successfully, but:
/mnt/USB # /opt/bin/ipkg list
Successfully terminated.

This indicates that /opt/etc/ipkg.conf is not setup correctly. See http://www.nslu2-linux.org/wiki/Optware/Dns323 and search for /opt/etc/ipkg.conf.

After the feed setup, "/opt/bin/ipkg update; /opt/bin/ipkg list" should give you a long list of available packages.

When you install a package, you just need to use "/opt/bin/ipkg install package_name", it will use the feed to find the right ipk, and fulfill all dependencies automatically.

Offline

 

#20 2008-05-21 05:21:27

abubin
Member
Registered: 2007-11-01
Posts: 59

Re: Addons to fonz's fun_plug 0.5 experimental

grmek, did you just install the script directly?

You need to run the "how to use" steps in the website (http://www.nslu2-linux.org/wiki/Optware/Dns323) all the way at least once for it to work. Like bzhou stated, your ipkg.conf file is not configured properly. You need to manually add "src dns323 http://ipkg.nslu2-linux.org/feeds/optwa … able" into the config file. That is part of the steps in the "how to use" section.

Offline

 

#21 2008-05-21 11:11:54

SilentException
Member
From: Island of Krk, Croatia
Registered: 2008-05-04
Posts: 148

Re: Addons to fonz's fun_plug 0.5 experimental

how about moving optware discussion posts into optware thread? smile total hijack


D-Link DNS-323 v1.05 fun_plug-ed + many mods,  2 x 320GB Seagate Barracuda 7200.10 RAID0, Cat6 Gigabit Network, 9k Jumbo Frames, Average (WRITE): 19,32 MB/sec, Average (READ): 28,6 MB/sec

Offline

 

#22 2008-10-10 11:46:01

puterboy
Member
Registered: 2008-09-18
Posts: 306

Re: Addons to fonz's fun_plug 0.5 experimental

SweMart wrote:

Hi!

Currently the following packages are available for download:
Sudo 1.6.9p14 - A tool that enables the execution as the root user without the need of a root password
ProFTPD 1.3.1 including mod_tls - A FTP daemon that implements SSL/TLS enabled FTP transfers
lftp 3.6.3 - A FTP client supporting SSL/TLS

Thanks for the packages but would it be possible to use the proper fun_plug naming conventions of: <package>-<ver>-<rev>
Because otherwise some of the 'sed' scripts in the 'funpkg' package manager don't work properly....

THANKS!

Offline

 

#23 2009-01-08 22:53:00

duhblow7
Member
Registered: 2008-05-29
Posts: 18

Re: Addons to fonz's fun_plug 0.5 experimental

upgrading to OpenSSL 0.9.8g will break the proftpd build with this error at startup:

- mod_tls/2.1.2: compiled using OpenSSL version 'OpenSSL 0.9.8g 19 Oct 2007' headers, but linked to OpenSSL version 'OpenSSL 0.9.8h 28 May 2008' library

http://sara.homeunix.net/ is down.

Anybody have a mirror or the tarball with the latest proftpd?  Perhaps it was compiled against a different library of openssl as i haven't upgraded in a while.

Offline

 

#24 2009-01-09 16:53:48

madpenguin
Member
Registered: 2008-12-25
Posts: 77

Re: Addons to fonz's fun_plug 0.5 experimental

duhblow7 wrote:

Anybody have a mirror or the tarball with the latest proftpd?

Sure.... http://www.proftpd.org/

I REALLY wish people would adhere to the GPL and atleast provide build scripts along side their packages.

I'm in the middle of completely re-bootstrapping funplug because I just don't know how things were built. That and I've found a couple issues with existing packages.

If anyone decides to help the community out and provide funplug packages, please consider compliance with the terms of the GPL. Some of us don't like to blindly install pre-compiled binaries. You never know what sort of nasties might be hiding in there. Intentional or otherwise.

http://www.jaguarlinux.com/pub/DNS-323/

Atleast with the above option, you have no one to blame but yourself if things go wrong.

Last edited by madpenguin (2009-01-28 05:50:57)

Offline

 

#25 2009-01-09 17:22:46

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: Addons to fonz's fun_plug 0.5 experimental

madpenguin wrote:

I REALLY wish people would adhere to the GPL and atleast provide build scripts along side their packages.

I'm in the middle of completely re-bootstrapping funplug because I just don't know how things were built.

If you're looking for my build scripts, see 'Sources' in http://dns323.kood.org/howto:ffp#links

But you already know that..

I found several of his packages less than desirable

I must have missed some of your posts. But looking through your previous posts, I could only find
http://dns323.kood.org/forum/p24298-200 … tml#p24298
Still, I don't see where the problem with my packages is.

Last edited by fonz (2009-01-09 17:33:03)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB