hardware:fritzbox
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
hardware:fritzbox [2010/11/19 17:36] – Michele Porelli | hardware:fritzbox [2012/09/04 16:18] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Fritz!Box 7270 ====== | ====== Fritz!Box 7270 ====== | ||
===== Software ===== | ===== Software ===== | ||
- | * mt-daapd | + | ==== mt-daapd |
- | * MLDonkey | + | - Download {{: |
- | * Debian | + | - put it in your external storage attached to your fritzbox |
+ | - extract it | ||
+ | - edit mt-daapd.conf | ||
+ | - make a startup script like the following: | ||
+ | < | ||
+ | ## start and stop the DAAP daemon | ||
+ | |||
+ | ## import global paths | ||
+ | . / | ||
+ | |||
+ | OPTDIR=$ROOT/ | ||
+ | DAEMON=$OPTDIR/ | ||
+ | DAAPD_OPTS="" | ||
+ | DAAPD_CONFIG_FILE=$OPTDIR/ | ||
+ | |||
+ | case " | ||
+ | start) | ||
+ | echo -n " | ||
+ | if [ ! -s " | ||
+ | echo " missing or empty config file $DAAPD_CONFIG_FILE" | ||
+ | exit 1 | ||
+ | fi | ||
+ | ROOT=" | ||
+ | echo " | ||
+ | ;; | ||
+ | stop) | ||
+ | echo -n " | ||
+ | killall $DAEMON >/ | ||
+ | echo " | ||
+ | ;; | ||
+ | |||
+ | restart) | ||
+ | set +e | ||
+ | echo -n " | ||
+ | killall $DAEMON >/ | ||
+ | sleep 2 | ||
+ | ROOT=" | ||
+ | echo " | ||
+ | ;; | ||
+ | |||
+ | *) | ||
+ | echo " | ||
+ | exit 1 | ||
+ | esac | ||
+ | |||
+ | exit 0</ | ||
+ | ==== MLDonkey | ||
+ | | ||
+ | - put it in your external storage attached to your fritzbox | ||
+ | - extract it | ||
+ | - make a startup script like the following: | ||
+ | < | ||
+ | ## start and stop the MLDonkey daemon | ||
+ | |||
+ | ## import global paths | ||
+ | . / | ||
+ | |||
+ | echo Imported global path... | ||
+ | |||
+ | OPTDIR=$ROOT/ | ||
+ | DAEMON=$OPTDIR/ | ||
+ | |||
+ | case " | ||
+ | start) | ||
+ | LD_LIBRARY_PATH=$OPTDIR/ | ||
+ | export LD_LIBRARY_PATH | ||
+ | |||
+ | echo -n " | ||
+ | rm $OPTDIR/ | ||
+ | ROOT=" | ||
+ | echo " | ||
+ | ;; | ||
+ | stop) | ||
+ | echo -n " | ||
+ | killall $DAEMON >/ | ||
+ | rm $OPTDIR/ | ||
+ | echo " | ||
+ | ;; | ||
+ | |||
+ | restart) | ||
+ | set +e | ||
+ | echo -n " | ||
+ | killall $DAEMON >/ | ||
+ | rm $OPTDIR/ | ||
+ | sleep 2 | ||
+ | ROOT=" | ||
+ | echo " | ||
+ | ;; | ||
+ | |||
+ | *) | ||
+ | echo " | ||
+ | exit 1 | ||
+ | esac | ||
+ | |||
+ | exit 0</ | ||
+ | |||
+ | === Configuring the core for remote access === | ||
+ | |||
+ | 1) Login with telnet (or ssh) as root user in your FritzBox | ||
+ | |||
+ | 2) Go in mldonkey' | ||
+ | |||
+ | '' | ||
+ | |||
+ | 3) Open a telnet session to the core: | ||
+ | |||
+ | '' | ||
+ | |||
+ | 4) For security reason I advise to assign a password to the default mldonkey user (which is " | ||
+ | |||
+ | '' | ||
+ | |||
+ | 5) Ok, now we need to authenticate: | ||
+ | |||
+ | '' | ||
+ | |||
+ | 6) Now we can add the IPs (we are almost done!) (here you must add the IP of yours computers): | ||
+ | |||
+ | '' | ||
+ | |||
+ | 7) Close the telnet session and logout from the machine: | ||
+ | |||
+ | '' | ||
+ | |||
+ | |||
+ | === Setup a GUI on your machine === | ||
+ | |||
+ | Personally I use sancho but [[http:// | ||
+ | |||
+ | This step is very simple: | ||
+ | |||
+ | '' | ||
+ | |||
+ | '' | ||
+ | |||
+ | '' | ||
+ | |||
+ | The other things is not important | ||
+ | |||
+ | === Configure MLDonkey === | ||
+ | |||
+ | 1) Go in the preferences and change mldonkey networks ports (if you are using sancho you can simply go in ' | ||
+ | |||
+ | 2) NAT these port on your router and/or firewall | ||
+ | |||
+ | === F.A.Q. | ||
+ | |||
+ | * Q: Where are my files?? | ||
+ | * A: Files downloaded was in $OPTDIR/ | ||
+ | |||
+ | |||
+ | * Q: I can't see .mldonkey folder | ||
+ | *A: :) change your file manager settings to show hidden files/ | ||
+ | |||
+ | |||
+ | *Q: I've problem with some torrents | ||
+ | *A: Unfortunately MLDonkey isn't a 100% bit torrent compatible client and some client ban you. To solve this problem change BT-user_agent. (If the value is BitTorrent/ | ||
+ | |||
+ | |||
+ | *Q: When I try to transfer files to/from my FritzBox it works but very slowly | ||
+ | *A: MLDonkey use a lot of resource, the only thing that you can do is stop MLDonkey or other processes when you would transfer files | ||
+ | |||
+ | ==== Debian | ||
+ | Please follow one of the million guide about debootstrap, | ||
===== Tips ===== | ===== Tips ===== | ||
* [[http:// | * [[http:// | ||
===== Links ===== | ===== Links ===== | ||
* [[http:// | * [[http:// |
hardware/fritzbox.1290184608.txt · Last modified: 2012/09/04 16:08 (external edit)