macsat.com OpenWrt and ASUS WL Forum
March 12, 2010, 03:01:19 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?
Login with username, password and session length
News: Back to macsat.com
 
   Home   Help Search Login Register  
Pages: 1 ... 30 31 [32] 33 34 ... 36   Go Down
  Print  
Author Topic: MGB111 update  (Read 158557 times)
0 Members and 3 Guests are viewing this topic.
Aqualung
Jr. Member
**
Online Online

Posts: 74


Socialite


View Profile
« Reply #465 on: January 06, 2009, 15:15:43 PM »

I would recommend you to run the thin client and not the web-UI as it slows down the box a lot!

Thanks for the suggestion, but let me come clear about some of the terminology, as it's getting a little confusing:

So far we have:

1. Deluge client (deluge (or deluge.sh (the script)))
2. Thin client
3. Deluge daemon (deluged (or deluged.sh (the script)))
4. Deluge WebUI

Would you mind telling me which one's which please (simplifying, of course)? Is it that 1=4 and 2=3 (at least in this context)?

Also, I need some clarifications w/regards to the whole daemon & WebUI stuff: If I run both commands (deluge & deluged) as instructed, the Deluge WebUI is accessible only for the duration of the telnet session. After closing the telnet session (which can only be done inelegantly by closing the window(!)), I take it the deluge client (the "WebUI") gets shut off. Is that how it's supposed to work? (If that is so, then it seems to me to defeat the whole purpose of an autonomous WebUI in the first place!)

Moreover after firing up (only) the deluge daemon (deluged.sh), attempting to exit the telnet session via the exit command doesn't return me to the usual Vista command-line prompt. I only get a "logout" message, and that's where it stops. I have to close the cmd window, and open it anew, so that I can get back to running telnet, and logging back in onto the box. Is that how it's supposed to be? Or is this a bug of sorts?

Say now that I run only the deluge daemon on the box. How would I access it other than via the WebUI? I take it that I could also run the deluge command with different parameters, so that, in case the GUI dependencies are installed, I get the "GTK client" kick in and produce some graphic Deluge, right? But, as I understand, this is very slow too.

How else? (Gosh, this whole double-talk about "clients" everywhere has gotten me awfully confused... After all, Deluge is a (bit-torrent) client, right?)

Many thanks.

Aqualung
Logged
Georgousopoulos Christos
Newbie
*
Offline Offline

Posts: 37



View Profile WWW
« Reply #466 on: January 06, 2009, 16:35:39 PM »

Hi again,

All 1-4 are completely distinct. Let me try and explain to you.

Deluge daemon is activated by running the 'deluged.sh'. Without this you cannot do anything. It is the main application that manages the torrent files.

Now since the server is running you need to have an interface in order to interact with the server e.g. add/delete torrent files. There are three ways to do so, via:
1. web interface - WebUI
2. linux console  - deluge.sh
3. Thin client     - a deluge torrent client running on a separate machine (recommended)

Method 1 is quite heavy since a web-server & php has to run in the background in order to serve you with web-pages of information related to your server i.e. the interface managing the deluge server on your box. The web-server, php & deluged has obviously to run at your box and that makes it really slow.

Method 2 is pretty nice but has no graphical interface - very light.

Method 3 is what I recommend. And here is how it works. You start the deluged.sh daemon in your box. Then from a different machine (that has greater performance) e.g. a PC running vista, you start deluge torrent client (the version for windows). Now from the PC running the deluge you have the option of remotely connecting to the deluge server running on the box. In that instance what happens is that the deluge server running on the box feeds the deluge client running on PC with appropriate data. So, the server runs in the box but the client runs in the PC - which actually handles on the graphical stuff.

I would also recommend you to read a little bit carefully Filodej's blog and deluge web-site (specially the 'developers' section) - those site provide all the necessary information to your questions! - these are the sources from where I learned all about deluged...


Though, you might be interested in knowing the following - and maybe Filodej can help here...
Today that I have upgraded my deluge client running on vista PC to version 1.1.0-RC3, I can connect to the deluge server running on the box but no information are depicted i.e. I can see connection stats at the bottom of the bar but no torrent files- maybe this is an incompatibility between different versions.
Therefore I would recommend you to install the same version of deluge to your PC as the own that you have in your box.


In order to achieve deluge daemon to stay in the background run:
LD_PRELOAD="/usr/lib/libssl.so.0.9.7 /usr/lib/libboost_filesystem-gcc41-mt-1_35.so.1.35.0 /usr/lib/libgcc_s.so" deluged

Also, if you add the '-help' parameter to the above line, you will get all the possible parameters deluge can accept. There you will see that if you add, for instance, the parameter '-d' , the deluge will not be daemonised and therefore every time you close your window it is automatically shutdown.

Also, when you shut-down the server, either by 'ctrl+c', closing the window, 'halting' the server from the console client, deluge needs some time to close properly and this is the reason why it seems that the window is frozen...


hope that helps.


PS: I would recommend you for a start in order to get an idea, to ...
1. start the deluge daemon, maybe add the '-d' parameter in order to observer the console messages of the server. Then after the server loads completely, wait e.g 15-30 secs open another window and load the console client
2. The console client may be load by running 'deluge.sh'.
3. Once the client is loaded, type 'connect localhost' to connect to the server
4. type 'help' for getting a list of all possible console-commands.

good luck
2. 







Logged
Georgousopoulos Christos
Newbie
*
Offline Offline

Posts: 37



View Profile WWW
« Reply #467 on: January 06, 2009, 17:05:31 PM »

in case you need Deluge 1.0.6 for windows
I have uploaded it here for you:
http://rapidshare.com/files/180408724/deluge-1.0.6-32.msi.html

PS: it can be downloaded 10 times.

regards,
Christos
Logged
Georgousopoulos Christos
Newbie
*
Offline Offline

Posts: 37



View Profile WWW
« Reply #468 on: January 06, 2009, 17:52:40 PM »

or you can try this that has all the versions !
http://download.deluge-torrent.org/source
Logged
Aqualung
Jr. Member
**
Online Online

Posts: 74


Socialite


View Profile
« Reply #469 on: January 07, 2009, 21:49:01 PM »

All 1-4 are completely distinct. Let me try and explain to you.

Many thanks.

Quote
Method 3 is what I recommend.

Got it, method 3 it is.

Quote
I would also recommend you to read a little bit carefully Filodej's blog and deluge web-site (specially the 'developers' section) - those site provide all the necessary information to your questions! - these are the sources from where I learned all about deluged...

I've been going over these two left and right, day in and day out, for the past month. Not to mention scouring the Internet top to bottom. I am more confused than ever.

Quote
In order to achieve deluge daemon to stay in the background run:
LD_PRELOAD="/usr/lib/libssl.so.0.9.7 /usr/lib/libboost_filesystem-gcc41-mt-1_35.so.1.35.0 /usr/lib/libgcc_s.so" deluged

Did you find this line anywhere on the Deluge website?? Where?

Quote
Also, when you shut-down the server, either by 'ctrl+c', closing the window, 'halting' the server from the console client, deluge needs some time to close properly and this is the reason why it seems that the window is frozen...

After a clean installation (meaning install everything from scratch), i run deluged.sh to start the daemon, and then, at box prompt, I type exit just so I close the telnet session. After a "logout" message, things get stuck: I don't get a prompt anymore, regardless of how much time I give it (see this:

).

I even left it overnight like that. Nothing moves there. The only way I can get out of that is to hard-close the window. Is that how it's supposed to act? To me it looks fishy.
Logged
Aqualung
Jr. Member
**
Online Online

Posts: 74


Socialite


View Profile
« Reply #470 on: January 07, 2009, 22:07:20 PM »

PS: I would recommend you for a start in order to get an idea, to ...
1. start the deluge daemon, maybe add the '-d' parameter in order to observer the console messages of the server. Then after the server loads completely, wait e.g 15-30 secs open another window and load the console client
2. The console client may be load by running 'deluge.sh'.

That starts the GTK, right? Or the console? Doesn't the console start w/"null" or something? Or do I confuse these two as well? I didn't install GTK on the box (not interested).
Logged
ede
Newbie
*
Offline Offline

Posts: 4


View Profile
« Reply #471 on: January 08, 2009, 17:21:48 PM »

XBOX MEDIA SERVER
OK it seems I am one step closer to setting up  ushare on my MGB111 device to enable media sharing to work with my XBOX360.

I'm going to try and put together a step by step which will hopefully help others to customise their MGB111 to work as a UPnP (TM) A/V & DLNA Media Server with their XBOX360, if anyone notices any mistakes please correct me.

The files used were obtained from the  http://mgb111.pradnik.net website, its worth checking out.

The MGB111 device User Access Configuration was configured in [Guest] mode when i carried out the following.

Note: [Authorisation] mode wasn't enabled for this configuration setup.


1.) Type the following-->       Telnet 192.168.xxx.xxx - (The digits being your drives ip address)

2.) Hit Enter

3.) Type the following-->       cd /mnt/C/

4.) Hit Enter

5.) Type the follwing-->         wget http://mgb111.pradnik.net/addons/servers-av-upnp/ushare-1.1a2-xbox.tar

6.) The word Connected will then be displayed and also Length: 2,641,920 [application/x-tar]

7.) Type the following-->       tar xvf ushare-1.1a2-xbox.tar (to uncompress files to directory's)

8.) Hit Enter

9.) The following below will be displayed.*

Quote
*

./sys
./sys/share
./sys/share/locale
./sys/share/locale/fr
./sys/share/locale/fr/LC_MESSAGES
./sys/share/locale/fr/LC_MESSAGES/ushare.mo
./sys/share/locale/de
./sys/share/locale/de/LC_MESSAGES
./sys/share/locale/de/LC_MESSAGES/ushare.mo
./sys/etc
./sys/etc/ushare.conf
./sys/etc/init.d
./sys/etc/init.d/ushare
./sys/bin
./sys/bin/ushare
./sys/lib
./sys/lib/libupnp.a
./sys/lib/libupnp.la
./sys/lib/libupnp.so
./sys/lib/libupnp.so.2
./sys/lib/libupnp.so.2.0.3
./sys/lib/libixml.a
./sys/lib/libixml.la
./sys/lib/libixml.so
./sys/lib/libixml.so.2
./sys/lib/libixml.so.2.0.3
./sys/lib/libthreadutil.a
./sys/lib/libthreadutil.la
./sys/lib/libthreadutil.so
./sys/lib/libthreadutil.so.2
./sys/lib/libthreadutil.so.2.1.0


10.) Type the following-->       rm ushare-1.1a2-xbox.tar  (To remove Archive from drive)

11.) Telnet your device again, login the run the following:  ushare -x

12.) Switch on your xbox360 check your Videos, Pictures, Music ( Don't forget to change the source on your XBOX360 to MGB111 device.

Note, i am still trying to work this out myself, but I've had it partially working up to the point i'm showing here, although it only works while the telnet application is open, i haven't worked out how to make it automatically boot up with the drive yet.

Pro's & Cons Below:

Pros:
1) I've not yet and any problems at all video streams, I've even ad some High Definition movies running sweet from another room over wifi and its so far very impressive.

2) Videos Play pretty much instant so far.

3) Divx seems to be fully supported.


Cons:

This application works fine, but I recommend you use it to stream video and Images only.  The problem i found with using audio files is that it dumps them all in the same category i.e if you select the album tab on your console the console displays every single individual track under that tab, the same apply's to artist name and genre as well.


This helped me a lot ... but I still can´t get the connection between xbox360 and airlive WMU6500 running. I am struggeling with step 11 "login the run the following:  ushare -x" how do I run it? I´m working with WinXP and telnet ... I also read about this rc-local script - do I need this, what does it exactly do?

A different attempt of mine was to upload the config file via ftp, but that didn´t work because of some sort of write protection.


Please help ... I´ve been trying for hours now.

By the way ... is there a firmware that has the ushare thing already implemented? maybe a good allround fw with all the tweaks already made?

greetz ede
Logged
Georgousopoulos Christos
Newbie
*
Offline Offline

Posts: 37



View Profile WWW
« Reply #472 on: January 09, 2009, 09:09:02 AM »

Quote
Quote from: Georgousopoulos Christos on January 06, 2009, 16:35:39 PM
PS: I would recommend you for a start in order to get an idea, to ...
1. start the deluge daemon, maybe add the '-d' parameter in order to observer the console messages of the server. Then after the server loads completely, wait e.g 15-30 secs open another window and load the console client
2. The console client may be load by running 'deluge.sh'.

That starts the GTK, right? Or the console? Doesn't the console start w/"null" or something? Or do I confuse these two as well? I didn't install GTK on the box (not interested).

This starts the deluge daemon and the console client - no GUI interface.
Logged
filodej
Newbie
*
Offline Offline

Posts: 21


View Profile WWW
« Reply #473 on: January 09, 2009, 10:36:25 AM »

This starts the deluge daemon and the console client - no GUI interface.

Hello,

in my case the deluge.sh does run the GtkUI (rather than NullUI), it seems to me that it is the default behavior.
You can definitely change it if you modify the deluge.sh (in order to contain --ui=null argument) or by modifying the ui.conf file:

box# cat ~/.config/deluge/ui.conf
(dp1
S'default_ui'
p2
S'gtk'
p3
box# sed "s/S'gtk'/S'null'/g" ~/.config/deluge/ui.conf
(dp1
S'default_ui'
p2
S'null'
p3
box# sed -i "s/S'gtk'/S'null'/g" ~/.config/deluge/ui.conf


... for an explanation see deluge faq: [Howto start various UIs].

One more note regarding the deluge.sh/deluged.sh scripts: I have created it as a workaround for library preload, but I found them little bit inconvenient since they are not passing the command-line parameters (you cannot write e.g. deluge.sh --ui=null):

Instead of following contents:

deluge:
    LD_PRELOAD="/usr/lib/libssl.so.0.9.7 /usr/lib/libboost_filesystem-gcc41-mt-1_35.so.1.35.0" deluge
deluged:
    LD_PRELOAD="/usr/lib/libssl.so.0.9.7 /usr/lib/libboost_filesystem-gcc41-mt-1_35.so.1.35.0" deluged

... there should have been rather the following:

deluge:
    LD_PRELOAD="/usr/lib/libssl.so.0.9.7 /usr/lib/libboost_filesystem-gcc41-mt-1_35.so.1.35.0" deluge "$@"
deluged:
    LD_PRELOAD="/usr/lib/libssl.so.0.9.7 /usr/lib/libboost_filesystem-gcc41-mt-1_35.so.1.35.0" deluged "$@"

I am going to fix that in following version, for now you can fix it for yourself as follows:

box# sed -i 's/deluge$/deluge \"\$\@\"/g' `which deluge.sh`
box# sed -i 's/deluged$/deluged \"\$\@\"/g' `which deluged.sh`


Before you run the previous commands you can run them without the -i argument to make sure they do what is expected:

box# sed 's/deluge$/deluge \"\$\@\"/g' `which deluge.sh`
LD_PRELOAD="/usr/lib/libssl.so.0.9.7 /usr/lib/libboost_filesystem-gcc41-mt-1_35.so.1.35.0" deluge "$@"
box# sed 's/deluged$/deluged \"\$\@\"/g' `which deluged.sh`
LD_PRELOAD="/usr/lib/libssl.so.0.9.7 /usr/lib/libboost_filesystem-gcc41-mt-1_35.so.1.35.0" deluged "$@"


Regards,
Filodej
« Last Edit: January 09, 2009, 10:41:24 AM by filodej » Logged

Filodej's Linux groping:
http://filodej.blogspot.com/
Aqualung
Jr. Member
**
Online Online

Posts: 74


Socialite


View Profile
« Reply #474 on: January 09, 2009, 10:42:13 AM »

Dear Christos, dear Filodej, dear all,

As this thread has gotten awfully large, and as this Deluge discussion seems to be branching off from the initial intent of the initial poster, I will be starting another thread dedicated specifically to Deluge on WMU-6500FS or similar devices. Please do me the favor of joining me on the other thread.

Cheers,

Aqualung
Logged
ukez
Newbie
*
Offline Offline

Posts: 28


View Profile
« Reply #475 on: January 09, 2009, 19:09:02 PM »

I'll respond later buddy, dont worry though as it will work.. Grin
Logged

Is a member of the MGB111 syndicate
ESTIMULO
Newbie
*
Offline Offline

Posts: 7


View Profile
« Reply #476 on: January 10, 2009, 18:27:46 PM »

Dear Georgousopoulos Christos, dear Jeyes,

I see you've both had some success in installing Deluge on your boxes, so I figure I'd stop harassing Filodej, and ask you for help for a change. This is, as it were, your opportunity to "give back to the community," as they say Grin I would, hence, appreciate your help with this. I am prepared to allow either of you direct access to my box(es) via telnet, if push comes to shove.

For the life of me, I can't get this to work on either of my two Airlive boxes. I've followed Filodej's algorithm (http://filodej.blogspot.com/2008/11/wmu-6500fs-deluge-torrent-part-iv.html) religiously many times, but it still looks to me that it allows for subtle variations, as it is not fully 100% specific. It may be that his algorithm has some tacit presuppositions (presumably stemming from one's deeply ingrained Linux knowledge), and that's where things might have gone wrong in my case, as my Linux background is almost zilch. I can't imagine what could be otherwise.

I will be describing in the following the exact steps I've followed, specified down to sub-molecular level Cheesy

0. I run Vista Ultimate x64 SP1 on my PC; I use jEditOQMath (http://www.activemath.org/projects/jEditOQMath/) to edit files like env-ng and profile on my PC, as it is guaranteed to not mess with the encoding/formatting;
1. Public folder of the box's HDD empty; both boxes flashed to Joker's latest and greatest C009-M2 Advanced;
2. downloaded all required software, prerequisites and dependencies in the root of the Public folder, except for minimal-config.tar; used some download accelerator for this job (IE7Pro (http://www.ie7pro.com/)); note that I didn't follow all the steps listed in Filodej's "Configuration" section (http://filodej.blogspot.com/2008/06/wmu-6500fs-box-with-jokers-fw.html), as I didn't understand some of them, nor did it seem to be necessary--not, at least, according to his algorithm;
3. downloaded minimal-config.tar on my PC; edited both env-ng and profile with jEditOQMath, reinserted them back in the tar archive, and transferred this to the box (ftp://aqualung.homeip.net/); at this point I beg you to examine both files closely, as it is important that all configuration files are in order--this (configuration) is, I guess, the main place where things could've gone wrong;
4. Untarred all files listed in Filodej's list, in the order indicated (even though, I suspect, the order doesn't really matter):

tar xvf minimal-config.tar
tar xvjf libs-essential-20080502.tar.bz2
tar xvf util-linux.tar
tar xvf nfs-utils.tar
tar xvzf busybox2-extended.tar.gz
tar xvf modules-kernel.tar
tar xvf modules-kernel-extra.tar
tar xvzf bash-3.2.33-3.tar.gz

reboot via Airlive's WebUI

tar xvjf deluge-1.0.5-gcclibs.tar.bz2
tar xvjf glib-2.17.2.tar.bz2
tar xvjf readline-5.2.tar.bz2
tar xvjf boost-1.35.0.tar.bz2
tar xvjf python-2.5.2.tar.bz2
wget http://peak.telecommunity.com/dist/ez_setup.py
python ez_setup.py
tar xvjf dbus-1.2.1.tar.bz2
tar xvjf dbus-glib-0.76.tar.bz2
tar xvjf dbus-python-0.82.4.tar.bz2
tar xvjf pygobject-2.14.2.tar.bz2
tar xvjf pyxdg-0.15.tar.bz2

reboot via Airlive's WebUI

5. At this point I tried working w/o the "GUI dependencies":

tar xvjf deluge-1.0.5.tar.bz2

reboot via Airlive's WebUI

6 Ran deluged.sh;
7. attempted to connect to the Deluge WebUI from my PC: http://192.168.xxx.xxx:8112/; tried both IE7 and FireFox;
8. Nuffink.
9. I earlier tried w/GUI dependencies, even though I'll try it again, so above @ step 4 insert:

tar xvjf x11-7.1.tar.bz2
tar xvjf gtk+-2.13.3.tar.bz2
tar xvjf pycairo-1.4.12.tar.bz2
tar xvjf pygtk-2.12.1.tar.bz2
tar xvjf atk-1.22.0.tar.bz2
tar xvjf glade3-3.4.5.tar.bz2

before the last reboot.

Please tell me what I've done wrong. Some bad configuration? Some missing dependency/prerequisite?

Please help.

Many thanks.

Aqualung
Hello my friedns.
I followed those steps to try deluged.sh but I get this error:
Quote
[ESTIMULO@Airlive_Storage C]$ deluged.sh                   
/usr/bin/python: Can't resolve symbol '_Unwind_SjLj_Register'
[ESTIMULO@Airlive_Storage C]$
any idea?
Thanks and sorry my poor english.
Logged
Res
Newbie
*
Offline Offline

Posts: 2


View Profile
« Reply #477 on: January 10, 2009, 21:24:05 PM »

Hi,

first sorry for my bad english.
I have some trouble with my MGB111, I have the Pearl Version with  the Airlive Firmware. I testet the R400a8 FW this versions runs okay but i have te 2GB limit problem Torrent).
by the Firmware R400b4 or other ones  (FW C009-M2 Advanced, 400b4.c009m2)  i got my BIGGEST problem. I can only leech 1 Torrent when I startet the second it come *invalid Port*

Can anyone help me....... i need only the BT Client by my MGB111


Gruss
Logged
Aqualung
Jr. Member
**
Online Online

Posts: 74


Socialite


View Profile
« Reply #478 on: January 10, 2009, 21:59:08 PM »

i got my BIGGEST problem. I can only leech 1 Torrent when I startet the second it come *invalid Port*

That's why we've been looking for another BT client for a good while now, because the one that comes with the official GUI blows chunks. Read the stuff about Deluge--that seems to be your best bet for now.
Logged
ede
Newbie
*
Offline Offline

Posts: 4


View Profile
« Reply #479 on: January 10, 2009, 23:13:21 PM »

I have some trouble with my MGB111, I have the Pearl Version with  the Airlive Firmware. I testet the R400a8 FW this versions runs okay but i have te 2GB limit problem Torrent).
by the Firmware R400b4 or other ones  (FW C009-M2 Advanced, 400b4.c009m2)  i got my BIGGEST problem. I can only leech 1 Torrent when I startet the second it come *invalid Port*

That is strange ... I work with the WMU-6500FS and the R400a8 FW - torrent´s over 2gb and more torrents at the same time work fine with the clean standart fw. Although better scheduling features and something like peerguardian would be nice.


Gruss zurück...
...my german companero.
Logged
Pages: 1 ... 30 31 [32] 33 34 ... 36   Go Up
  Print  
 
Jump to:  

English Steel 1.6 © Saxon North Technologies
Powered by MySQL Powered by PHP Powered by SMF 1.1.10 | SMF © 2006-2009, Simple Machines LLC
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.089 seconds with 22 queries.