Warning: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in ..../includes/class_bootstrap.php(430) : eval()'d code on line 123
Установка и настройка rTorrent на Asus RT-N16
Page 1 of 14 12311 ... LastLast
Results 1 to 15 of 208

Thread: Установка и настройка rTorrent на Asus RT-N16

  1. Lightbulb Установка и настройка rTorrent на Asus RT-N16

    rTorrent RT-N16

    , :

    flashfs
    Code:
    flashfs disable
    reboot
    HDD:
    Code:
    fdisk /dev/sda
    
    d `enter` 1 `enter` d `enter` 2 `enter` d `enter` 3 `enter` w  `enter`
    Code:
    reboot
    I) , , MC

    HDD (1 - swap [256Mb], 2 - system [1024 Mb], 3 - data [ ]):
    Code:
    fdisk /dev/sda 
    
    m -  
    p -   
    d -   
    n -  
    
     swap: n `enter` p `enter` 1 `enter` `enter` +256M `enter` t `enter` 82 `enter` 
     system: n `enter` p `enter` 2 `enter` `enter` +1024M `enter` 
     data: n `enter` p `enter` 3 `enter` `enter` `enter` 
        : w `enter`
    . - :
    Code:
    fdisk -l
    
    Disk /dev/sda: 2096 MB, 2096889856 bytes
    65 heads, 62 sectors/track, 1016 cylinders
    Units = cylinders of 4030 * 512 = 2063360 bytes
    
       Device Boot      Start         End      Blocks  Id System
    /dev/sda1               1         125      251844  82 Linux swap
    /dev/sda2             126         622     1001455  83 Linux
    /dev/sda3             623        1016      793910  83 Linux
    swap ( , - ):
    Code:
    mkswap /dev/sda1
    swapon /dev/sda1
    (system data)
    Code:
    mke2fs -j /dev/sda2
    mke2fs -j /dev/sda3
    ( system, data):
    Code:
    mkdir  -p /tmp/harddisk 
    mount /dev/sda2 /opt 
    mount /dev/sda3 /tmp/harddisk

    Code:
    mkdir -p /tmp/local/sbin/
    wget http://www.studionr.ru/wl500/pre-mount -O /tmp/local/sbin/pre-mount
    wget http://www.studionr.ru/wl500/_post-mount -O /tmp/local/sbin/post-mount
    wget http://www.studionr.ru/wl500/_pre-shutdown -O /tmp/local/sbin/pre-shutdown
    wget http://www.studionr.ru/wl500/_post-firewall -O /tmp/local/sbin/post-firewall
    chmod +x /tmp/local/sbin/*
    , ,
    Code:
    mkdir -p /opt/etc/init.d
    wget http://www.studionr.ru/wl500/rc.unslung -O /opt/etc/init.d/rc.unslung
    chmod +x /opt/etc/init.d/rc.unslung
    HDD fstab
    Code:
    touch /usr/local/.files 
    echo "/etc/fstab" >> /usr/local/.files 
    touch /etc/fstab 
    echo "/dev/sda1 none swap sw 0 0" >> /etc/fstab 
    echo "/dev/sda2 /opt ext3 rw,noatime 1 1" >> /etc/fstab 
    echo "/dev/sda3 /tmp/harddisk ext3 rw,noatime 1 1" >> /etc/fstab

    Code:
    ipkg.sh update 
    ipkg.sh install ipkg-opt 
    ipkg update
    - MC. ncurses.
    Code:
    ipkg install ncurses 
    ipkg install mc
    II) Lighttpd, PHP rTorrent

    Code:
    ipkg install rtorrent
    ipkg install lighttpd
    ipkg install php
    ipkg install php-fcgi
    ipkg install coreutils
    ipkg install adduser
    ipkg install procps
    ipkg install grep
    ipkg install screen
    ipkg install gawk
    ipkg install which
    ipkg install tar
    /opt/etc/rtorrent.conf
    Code:
    wget http://www.studionr.ru/wl500/26_rtorrent.conf -O /opt/etc/rtorrent.conf

    Code:
    mkdir -p /tmp/harddisk/torrent/
    mkdir -p /tmp/harddisk/torrent/dl
    mkdir -p /tmp/harddisk/torrent/work
    mkdir -p /tmp/harddisk/torrent/session
    p2p:
    #
    Code:
    mkdir -p /opt/home/p2p
    # , :
    Code:
    /opt/bin/adduser -D --home /opt/home/p2p p2p
    # p2p :
    Code:
    /bin/chown p2p /opt/home/p2p
    /bin/chown p2p /tmp/harddisk/torrent/
    /bin/chown p2p /tmp/harddisk/torrent/dl
    /bin/chown p2p /tmp/harddisk/torrent/work
    /bin/chown p2p /tmp/harddisk/torrent/session
    /bin/chmod a+r /opt/etc/rtorrent.conf
    /bin/chmod a+x /opt/bin/rtorrent
    rtorrent /opt/etc/init.d/S99rtorrent
    Code:
    wget http://www.studionr.ru/wl500/S99rtorrent -O /opt/etc/init.d/S99rtorrent
    chmod +x /opt/etc/init.d/S99rtorrent
    chmod a+x /opt/bin/rtorrent
    chmod a+r /opt/etc/rtorrent.conf
    /usr/tmp/local/.files /tmp/local/root/.profile
    Code:
    echo "export TERMINFO=\"/opt/share/terminfo\"">>/tmp/local/root/.profile
    echo "export TERM=\"xterm\"">>/tmp/local/root/.profile
    echo "alias mc=\"mc -c\"">>/tmp/local/root/.profile
    echo "export LANG=\"ru_RU.UTF-8\"">>/tmp/local/root/.profile
    echo "export LC_ALL=\"ru_RU.UTF-8\"">>/tmp/local/root/.profile
    echo "alias ls=\"ls --color=auto -la\"">>/tmp/local/root/.profile
    echo "alias ps=\"ps axf\"">>/tmp/local/root/.profile
    echo "alias df=\"df -h\"">>/tmp/local/root/.profile
    echo "alias rt='su -c \"screen -r\" p2p'" >> /tmp/local/root/.profile
    echo "chmod a+rw \`tty\`" >> /tmp/local/root/.profile
    echo "stty start undef" >> /tmp/local/root/.profile
    echo "stty stop undef" >> /tmp/local/root/.profile
    chmod +x /tmp/local/root/.profile
    cp /tmp/local/root/.profile /opt/home/p2p/.profile
    chown p2p /opt/home/p2p/.profile
    echo "Configuring .files"
    echo "/etc/passwd" >> /usr/tmp/local/.files
    echo "/etc/group" >> /usr/tmp/local/.files

    Code:
    flashfs save && flashfs commit && flashfs enable
    p2p
    Code:
    cp /tmp/local/root/.profile /opt/home/p2p/.profile
    chown p2p /opt/home/p2p/.profile
    , rTorrent 2.6
    Code:
    echo "#!/bin/sh" >> /usr/local/sbin/post-boot
    echo "chmod 666 /dev/null" >> /usr/local/sbin/post-boot
    chmod +x /usr/local/sbin/post-boot
    touch /dev/null
    chmod 666 /dev/null
    - ruTorrent v.3
    Code:
    wget http://www.studionr.ru/wl500/rtorrent3.tar.gz -O rtorrent3.tar.gz
    tar -xzf rtorrent3.tar.gz -C /opt/share/www
    sleep 5
    rm /tmp/local/root/rtorrent3.tar.gz
    lighttpd
    Code:
    wget http://www.studionr.ru/wl500/26_lighttpd.conf -O /opt/etc/lighttpd/lighttpd.conf
    rTorrent
    Code:
    echo "iptables -I INPUT -p tcp --dport 51778 -j ACCEPT" >> /usr/local/sbin/post-firewall
    - c :
    Code:
    flashfs save && flashfs commit && flashfs enable && reboot
    III) ruTorrent
    rTorrent - 5 - 10
    ( 2.4 !!!)
    --------------------------------------------------------
    : WL-500W
    : 1.9.2.7-rtn-r1427 (Linux version 2.6.22.19)
    : 2
    --------------------------------------------------------
    : ? ???

    P/S .
    Last edited by Omega; 28-11-2010 at 14:26.

  2. #2
    valerakvb
    !

    . rtorrent :
    Code:
    rtorrent -n -o import=/opt/etc/rtorrent.conf
    , rtorrent - " .." ?

  3. Quote Originally Posted by Dimitroff View Post
    valerakvb
    !

    . rtorrent :
    Code:
    rtorrent -n -o import=/opt/etc/rtorrent.conf
    , rtorrent - " .." ?
    Code:
    ^A ^D (Ctrl + ) (Ctrl + D)
    Last edited by valerakvb; 10-04-2010 at 09:00.

  4. #4
    Quote Originally Posted by valerakvb View Post
    Code:
    ^A ^D (Ctrl + ) (Ctrl + D)
    , ctrl+q, rtorrent " .."

  5. #5
    Join Date
    Mar 2009
    Location
    Moscow
    Posts
    118
    "?" , -
    ASUS RT-N16 1.9.2.7-rtn () + + 2.0

  6. #6
    Quote Originally Posted by Dimitroff View Post
    . rtorrent :
    Code:
    rtorrent -n -o import=/opt/etc/rtorrent.conf
    , rtorrent - " .." ?
    , . /opt/etc/init.d/S99rtorrent ( rtorrent p2p screen ).
    , rtorrent rt, rtorrent - Ctrl+A Ctr+D ( screen)

  7. #7
    Quote Originally Posted by elico View Post
    , . /opt/etc/init.d/S99rtorrent ( rtorrent p2p screen ).
    , rtorrent rt, rtorrent - Ctrl+A Ctr+D ( screen)
    , " ..." .
    2.6

  8. Quote Originally Posted by CattheBlack View Post
    "?" , -
    .
    , rTorrent.
    , .
    ?
    Last edited by valerakvb; 11-04-2010 at 07:59.

  9. #9
    Join Date
    Mar 2009
    Location
    Moscow
    Posts
    118
    Quote Originally Posted by valerakvb View Post
    .
    , rTorrent.
    , .
    ?
    , , ... ,
    ASUS RT-N16 1.9.2.7-rtn () + + 2.0

  10. #10

    Question

    , , 2.4 ?
    - , ?
    Last edited by A_rchy; 11-04-2010 at 11:36.
    fw RT-N16-1.9.2.7-rtn-r1692

  11. #11
    Join Date
    Feb 2007
    Location
    Moscow, Russia
    Posts
    3,805
    Quote Originally Posted by A_rchy View Post
    , , 2.4 ?
    - , ?
    . 2.6. . , rtn. .

  12. #12
    RT-N16

    -, ,

    512 ( 768),

    32 7

    , 64

    50 10, ,

    ,


    1200 (10 ), 10 ... 12 , 300 ( 200)

    , ,

    10-15 , ...

    RT-N16 ,

  13. Quote Originally Posted by Gruzilkin View Post
    RT-N16

    -, ,

    512 ( 768),

    32 7

    , 64

    50 10, ,

    ,


    1200 (10 ), 10 ... 12 , 300 ( 200)

    , ,

    10-15 , ...

    RT-N16 ,
    . .
    Last edited by valerakvb; 21-04-2010 at 18:19.

  14. #14
    Join Date
    Mar 2009
    Location
    Moscow
    Posts
    118
    , , . 15 3 , . , ...
    ASUS RT-N16 1.9.2.7-rtn () + + 2.0

  15. #15
    Join Date
    Mar 2009
    Location
    Russia, Moscow
    Posts
    2,093
    Blog Entries
    32
    Quote Originally Posted by valerakvb View Post
    .
    , rTorrent.
    , .
    ,
    ?
    , ...


    "RT-N16" " " ...

Page 1 of 14 12311 ... LastLast

Similar Threads

  1. rtorrent i ograniczenie prędkości
    By lysolec in forum Polish Discussion - Polski (PL)
    Replies: 3
    Last Post: 30-12-2010, 08:23
  2. Yet another web front-end for rTorrent
    By Novik in forum WL-500g Custom Development
    Replies: 22
    Last Post: 16-10-2010, 16:58
  3. rtorrent
    By drozol in forum Polish Discussion - Polski (PL)
    Replies: 0
    Last Post: 21-02-2009, 09:06
  4. [How to] rtorrent & ntorrent
    By mancub in forum WL-500gP Tutorials
    Replies: 101
    Last Post: 18-12-2008, 08:21
  5. rTorrent and libTorrent
    By wrom in forum WL-500gP Q&A
    Replies: 43
    Last Post: 13-10-2008, 16:16

Tags for this Thread

Posting Permissions

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