ferg
Full Member
Posts: 119
|
Post by ferg on Oct 6, 2007 6:47:19 GMT 7
I have been looking around for ages to find the correct implemenations for my fundamental functions of the n2100. Firstly gallery, music and video support. Now i have read that the gallery on the n2100 is pretty restrictive and so the best allround solution is the twonky media module listed here. However is this the best? I will install a 512mb module soon so the resources shouldn't be an issue. I just really want to have flexibility in the way i can transfer and show/listen to various media formats. How is the gallery on twonky? How to you configure twonky with windows media, and amarok? What video formats does it cover? Does the version downloadable from the wiki have the 30 day limit? oh and did anything come of this thread? Next is my real gripe, the BT module. Now i have installed the mldonkey module but it is not as well written as i would like. Could anyone tell me what the possibility of these clients being made into a module? I would be willing to try and compile one of these myself, but i am hardware designer not a software engineer. I download a lot of linux iso's and magic media and its such a pain to have trackers that are not compatible with the current bt modules. Could anyone offer me advice on how to acheive the above?
|
|
|
Post by getmythe on Oct 26, 2007 20:03:24 GMT 7
I'm a hardware designer myself and therefore can only give hints ... ;D
You're best bet is to install a chrooted debian system on your n2100. Have a look at the wiki for instructions. Then install whatever libraries are required by the sources you want to compile (incl. the development versions of course). Last but not least configure the sources to compile a statially linked binary. In case of mldonkey this was a no brainer since the makefile included the static link option.
|
|
ferg
Full Member
Posts: 119
|
Post by ferg on Oct 27, 2007 5:46:44 GMT 7
hmm, i never thought about it that way. I had hoped to be able to cross compile from my ubuntu installation on my pc. Currenltly i am using the N2100 as a backup drive as well. I might see if i can get a cheap low capacity sata drive to do some dev work on the n2100 with, then i can install debian on that without fluffing up my current install.
cheers for the advice
|
|
|
Post by getmythe on Oct 27, 2007 19:15:34 GMT 7
Your average stuff like ssh, rsync, firefly, ... may be compiled with the cross compile setup. As soon as you are looking at bigger projects like p2p clients, apache, php, mysql, etc. you run into trouble since autoconf is generating small arm executables to be able to generate a proper config file. Running those arm executables will fail in the cross compile environment as there is no arm emulator available. That's why I recommend a full debian chroot on the n2100 as a base for larger projects.
The fasted way to get an up to date chrooted debian installed is with the help of META. Just tell it to install slimserver for you and you'll get a minimal debian system installed in directory /raid/slimserver.
|
|
ferg
Full Member
Posts: 119
|
Post by ferg on Oct 31, 2007 5:38:19 GMT 7
Ok, i have done some more digging and out of the list of clients i have narrowed the field down to two that are feasible. rtorrent is a possibility, it has 2 web gui interfaces, however they are both written in php. I doubt the n2100 has enough oomph or php installed. there is a debain strain, which may make it the easier option debian.ghostbar.ath.cx/btpd looks promising, and i have no doubt that most of the members here could probably run it via ssh and that may turn out to be the bast option. The only gui i have founds is for mac osx. I am really surprised there is not a web gui, but i'll keep looking. i have looked at the improved enhanced ctorrent and its web interface, but for now i'll see if i create another option since i believe i heard that someone is trying to update the old module.
|
|
snua
New Member
Posts: 6
|
Post by snua on Oct 31, 2007 20:42:29 GMT 7
The N2100 has php (2.1.06 firmware anyway). The Dokuwiki module uses it (Dokuwiki written in php). On the oomph side, it is a little sluggish alright.
|
|
|
Post by getmythe on Nov 1, 2007 21:26:06 GMT 7
Unless the php code you intend to use is very very basic, e.g. does not have any special needs like network support, image support, ... You are out of luck. The n2100 php module is rather minimalistic. Before getting mad trying to find out why the php you installed is not working, check what features are required and compare them against the features supported by the n2100.
Create file phpinfo.php with the following contents "<?php phpinfo() ?>", upload it into /img/htdocs and open it in your web browser. You will find a very short list of supported features.
|
|
ferg
Full Member
Posts: 119
|
Post by ferg on Nov 2, 2007 4:25:25 GMT 7
oh, and here are the results: i'll try and get the attention of some of the web gui guys from rtorrent and see what they say.
|
|
ferg
Full Member
Posts: 119
|
Post by ferg on Nov 2, 2007 5:00:30 GMT 7
I think i have found most of my info, i am checking things against the 2.1.05 source that was downloadable.
Using the rtwi for rtorrent-
i think the php install has the pre-requisites, although i am not sure about xmlrpc-c.
for the alternative wtorrent:
so it seems that we might be good on both counts. Although i think rtwi seems that little bit mroe developed.
|
|
ferg
Full Member
Posts: 119
|
Post by ferg on Nov 2, 2007 6:44:36 GMT 7
ok, i need a way to verify that there php has these extensions, or at least be able to enable them! They are in the directory of the source firmware, so shouldn't they be available?
xml, xsl, xmlrpc
i suspect this should be in the php.ini file.
Could anyone point me in the right direction. I have look in the httpd/conf directory and the file in there didn't contain any of the above. i am looking for lines like
";extension=php_xmlrpc.dll ";extension=php_xmlrpc.*" and ";extension=php_xsl.*"
any thoughts?
|
|