Page 6 of 7 FirstFirst ... 4567 LastLast
Results 76 to 90 of 92

Thread: Some more tips and tricks

  1. #76
    Join Date
    Dec 2007
    Location
    The Netherlands - Eindhoven
    Posts
    1,767
    /sbin/wshaper start eth1 -1 900
    this code works quite well... however, still no bigger speeds than 8mbit with download
    the downloading is more stable tough

  2. #77
    Quote Originally Posted by wirespot View Post
    No problem, you've fallen for a rather classic mistake. If you're setting up authentication backend as "htdigest" (auth.backend) then you have to use config directives with "htdigest" in them. You used "plain". So the correct line is:

    Code:
    auth.backend.htdigest.userfile = "/opt/etc/lighttpd/.passwd"
    The way you did it, lighttpd couldn't find a passwd file for the htdigest backend so obviously it wouldn't allow access.

    In the future, set up an error log file (server.errorlog = "/opt/var/log/lighttpd/error.log") and make sure /opt/var/log/lighttpd exists and is owned by the user and group the server runs as (see server.username and server.groupname). And when you have problems you just peek into that file and it will tell you what went wrong. If you had it ready now you would have most likely seen something like "can't find the htdigest passwd file" in there.
    Works like a charm, thanks!

  3. #78
    Quote Originally Posted by wirespot View Post
    Yes, you need to install a few other packages along with streamripper (audio codecs): libmad, faad2, libogg, libvorbis. Do "ipkg install" for each of them.

    I wonder why they weren't marked as required by the streamripper package. It's obvious that streamripper won't work without them -- the binary appears to be linked with all four and needs them in order to run.
    Thank you for your answer, I didn't have the time to try, but it must work
    I'm having some troubles with slow download speed using transmission on my wl-500gP v2, I must admit that all this is new for me (meaning linux and stuf), and an error from me it's possible, but i think is an transmission error.

    Can you help me with some sugestions?

    Thank you

  4. #79
    Quote Originally Posted by bogd_A View Post
    Thank you for your answer, I didn't have the time to try, but it must work
    I'm having some troubles with slow download speed using transmission on my wl-500gP v2, I must admit that all this is new for me (meaning linux and stuf), and an error from me it's possible, but i think is an transmission error.

    Can you help me with some sugestions?

    Thank you
    I still have the same error: streamripper: can't load library 'libfaad.so.0'

  5. #80

    torrentflux-b4rt 1.0-beta2 - Setup

    Hi to everyone!

    As I tried to set up torrentflux, everything went well, untill this part:

    torrentflux-b4rt 1.0-beta2 - Setup
    Database - Create Tables

    The installation will now attempt to create the database tables required for running torrentflux-b4rt.

    Error: Cannot connect to database.

    what could I do to finish this set up?
    thx

    btw: I'm a dummie when it comes to linux

  6. #81
    Quote Originally Posted by SeverusSneep View Post
    Solved the problem with apr-util. Apparently one or two packages could not be found, so installed them manually. Got the htdigest working.
    Which packages are they, and where to find them? I am having the exact same problem with library 'libuuid.so.1'.

  7. #82
    Test your server. If you can't log in, some common errors are:
    * wrong user and/or password
    * you didn't put the same realm in the conf and the password file
    * the password file can't be read (check permissions)
    * your browser can't do digest authentication

    Check your lighttpd error log (probably /opt/var/log/lighttpd/error.log) for clues.
    401 - Unauthorized from IE7 and also from FireFox
    What can i do?
    How to ceck permissions ???

    PROBLEM FIXED !!!
    Instead of auth.backend.htdigest.userfile i've putted auth.backend.plain.userfile (wrong)
    Last edited by lordu; 06-10-2008 at 20:37.

  8. #83
    I installed streamripper and got the same error as bogd_A:

    Quote Originally Posted by bogd_A View Post
    I still have the same error: streamripper: can't load library 'libfaad.so.0'
    I solved the problem with the installation of libfaad and libglib (which was missing as well)

    Code:
    ipkg install faad2 glib
    Streamripper is working fine now but is only able to rip mp3 and ogg streams. Since many radio streams (at least in Germany) only use realaudio and wma I looked for a way to rip these streams.

    I found mmsrip which is able to record any content coming from a mms server (video and audio streams) and works on my 500gP.

    So, if you want to install mmsrip here is a tutorial:

    Get the sourcecode and unzip it on your windows/linux system (I had trouble opening the tarball on my asus). Then move the mmsrip-0.7.0 folder on your box using samba or ftp and login.
    Move the mmsrip-0.7.0 folder on your box to /opt/bin/:
    Code:
    mvdir YOUR/FTP/OR/SAMBA/DIRECTORY/mmsrip-0.7.0 /opt/bin/
    Now we need buildroot and make to compile:
    Code:
    ipkg install make buildroot
    This may take a while (buildroot has around 40 mb).

    Then
    Code:
    cd /opt/bin/mmsrip-0.7.0/
    sh ./configure
    make
    make install
    mmsrip is installed in /usr/local/bin so we have to save to flash:
    Code:
    flashfs save && flashfs commit && flashfs enable && reboot
    If you want to make cronjobs with mmsrip, make sure you add :/usr/local/bin to the paths in your crontab.

    If mmsrip dies while doing the handshake, it might be caused by your firewall. I switched my firewall off and then on again and now everything is working fine...

    Maybe wirespot can include this in his streamripper post at the beginning of this thread.
    Last edited by Mokake; 07-11-2008 at 17:36.

  9. #84
    Done, I've linked to your post.

    The handshake hiccup may have something to do with the way MMS works. I read on the Wikipedia page that it tries UDP first and TCP second and tries RTSP first and MMS second. I'm not sure how mmsrip goes about it, but here's a tip: it may help to open 1755 and 554 in the firewall, both UDP and TCP, both in and out. You can find out how to do this in the first post of this thread (look for post-firewall). Just remember to use "vlan1" instead of $1 if you try the iptables commands from the command prompt as opposed to post-firewall.

    It would be nice if someone who uses mmsrip could run `netstat -tlnp` with it running and see what ports it's trying to use so we can confirm that opening these ports will really help.
    Last edited by wirespot; 06-11-2008 at 20:09.

  10. #85
    Thank you for linking to my post and thanks for your great tutorials. Forgot to mention that in my first post

    I still use the firewall from the webinterface since everything works fine with it.

    "netstat -tlnp" failed with "netstat: illegal option -- p" but "netstat -tuan" worked (see below).
    Mmsrip seems to use port 2545.
    Code:
    [admin@Asusbox root]$ netstat -tuan
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address           Foreign Address         State
    tcp        0      0 0.0.0.0:515             0.0.0.0:*               LISTEN
    tcp        0      0 192.168.1.1:139         0.0.0.0:*               LISTEN
    tcp        0      0 0.0.0.0:9100            0.0.0.0:*               LISTEN
    tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN
    tcp        0      0 0.0.0.0:21              0.0.0.0:*               LISTEN
    tcp        0      0 0.0.0.0:53              0.0.0.0:*               LISTEN
    tcp        0      0 0.0.0.0:5431            0.0.0.0:*               LISTEN
    tcp        0      0 0.0.0.0:3838            0.0.0.0:*               LISTEN
    tcp        0      0 127.0.0.1:80            127.0.0.1:2552          TIME_WAIT
    tcp        0      0 127.0.0.1:80            127.0.0.1:2553          TIME_WAIT
    tcp        0      0 127.0.0.1:80            127.0.0.1:2554          TIME_WAIT
    tcp        0      0 127.0.0.1:80            127.0.0.1:2550          TIME_WAIT
    tcp        0      0 92.229.xx.xx:2545       87.248.216.200:1755     ESTABLISHED
    tcp        0      0 127.0.0.1:80            127.0.0.1:2551          TIME_WAIT
    tcp        0      0 :::22                   :::*                    LISTEN
    tcp        0      0 ::ffff:192.168.1.1:22   ::ffff:192.168.1.:36142 ESTABLISHED
    tcp        0      0 ::ffff:192.168.1.1:22   ::ffff:192.168.1.:33849 ESTABLISHED
    udp        0      0 0.0.0.0:1024            0.0.0.0:*
    udp        0      0 192.168.1.1:137         0.0.0.0:*
    udp        0      0 0.0.0.0:137             0.0.0.0:*
    udp        0      0 192.168.1.1:138         0.0.0.0:*
    udp        0      0 0.0.0.0:138             0.0.0.0:*
    udp        0      0 127.0.0.1:34954         0.0.0.0:*
    udp        0      0 0.0.0.0:9999            0.0.0.0:*
    udp        0      0 0.0.0.0:53              0.0.0.0:*
    udp        0      0 0.0.0.0:67              0.0.0.0:*
    udp        0      0 0.0.0.0:1900            0.0.0.0:*
    [admin@Asusbox root]$
    Last edited by Mokake; 07-11-2008 at 17:39.

  11. #86
    That's just your outgoing port, connected to a remote server on port 80. Which means that mmsrip acts pretty much like a browser, so the firewall isn't causing problems for it.

    Install the net-tools package BTW, it has a better netstat and some other stuff. The netstat in the router firmware doesn't have -p (which shows you the process that owns a connection).

  12. #87

    need some help pls !!

    Hi

    i folowed the "SSL protected website" tutorial and every thing it`s ok , then i folowed "How to protect your webserver with a password" also works very well !

    But i have a little problem:
    after i installed SSL when i go to https://192.168.1.1:8082 the first page was the page with the programs menu !
    after i install webserver password when i go to https://192.168.1.1:8082 the first page is changed , they show me only a transmission page and a link to Transmission daemon CGI interface

    I want my first page back .. when i can chose any programs from list !!

    any advice?

    thx very much !

    PS: sory for my english !

  13. #88
    There's nothing in the "password protect" tutorial that changes the root dir, so please double-check what you put in server.document-root in the config file.

    Oh, and please make sure you're starting lighttpd with the same config file, at some point the SSL tutorial tells you to make a copy and use that. Have you applied both tutorials to the same config file? Is lighttpd starting with that file in both cases? Check your /opt/etc/init.d/S80-lighttpd* file.

  14. #89
    wirespot , yesss you have right !!
    now it`s works very well !
    initial server.document-root it was : "/mnt" and i change it like in tutorial : "/opt/share/www" ... that was the mistake !!
    now i change back to : /mnt/ and works !!!
    and yes i use on both tutorials with the same config file wich is : transmission-ssl.conf



    And one little think ,
    -I- if can tell me someone ohow i can open ports : ssh 22 , and 8082 , because i want to connect from my work to web interface , or to putty ssh on the router !
    -II- i use streamripper and the script made by chef wirespot , but in shell console i run the comand rip URL , and the streaming start , when i close the windows of putty , the streamripper close !
    how i can run the script and to work .. even i close putty window ???





    Quote Originally Posted by wirespot View Post
    There's nothing in the "password protect" tutorial that changes the root dir, so please double-check what you put in server.document-root in the config file.

    Oh, and please make sure you're starting lighttpd with the same config file, at some point the SSL tutorial tells you to make a copy and use that. Have you applied both tutorials to the same config file? Is lighttpd starting with that file in both cases? Check your /opt/etc/init.d/S80-lighttpd* file.
    Last edited by xplay; 10-11-2008 at 20:39.

  15. #90
    Quote Originally Posted by xplay View Post
    -I- if can tell me someone ohow i can open ports : ssh 22 , and 8082 , because i want to connect from my work to web interface , or to putty ssh on the router !
    See the first post in this thread.

    -II- i use streamripper and the script made by chef wirespot , but in shell console i run the comand rip URL , and the streaming start , when i close the windows of putty , the streamripper close !
    how i can run the script and to work .. even i close putty window ???
    You need to install the screen or dtach package and run it inside them. Look around, there must be a tutorial for them too.

Page 6 of 7 FirstFirst ... 4567 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •