Page 6 of 11 FirstFirst ... 45678 ... LastLast
Results 51 to 60 of 109

Thread: My take on setup ipkg on box office device

  1. #51
    Join Date
    Dec 2009
    Location
    Canada (ON)
    Posts
    2,036

    Default

    Quote Originally Posted by kyle12 View Post
    :
    I was running out of Ram, that's what was causing the bus errors. However, when I downloaded a video file than attempted to play it, it was corrupt. I'm going to try loading ext2/3 or something on the HD and see how far I get with that (Depending on what the 100mb Linux partition is on the drive)
    Due to lack of power of the PBO my .rtorrent.rc settings are quite conservative. I also had the max_memory_usage = 128M to make sure that I will not run out of memory and hang the PBO. Here's a copy of my rtorrent.rc below.

    Code:
    # This is an example resource file for rTorrent. Copy to
    # ~/.rtorrent.rc and enable/modify the options as needed. Remember to
    # uncomment the options you wish to enable.
    
    # Minumum amount of peers to connect per torrent, if available.
    min_peers = 40
    
    # Minumum amount of peers to connect per torrent.
    max_peers = 60
    
    # Same as above but for seeding completed torrents (-1 = same as downloading)
    min_peers_seed = 10
    max_peers_seed = 20
    
    # Maximum number of simultanious uploads per torrent.
    max_uploads = 4
    
    # Global download rate in KiB. "0" for unlimited.
    download_rate = 0
    
    max_memory_usage = 128M
    
    send_buffer_size = 768K
    receive_buffer_size = 10K
    
    # Global upload rate in KiB. "0" for unlimited.
    upload_rate = 60
    
    # Default directory to save downloaded files. Note it doesn't support
    # space yet.
    directory = /tmp/btdownload/
    
    # Watch a directory for new torrents, and stop those that have been deleted.
    schedule = watch_directory,10,10,load_start=/tmp/hdd/volumes/HDD1/torrent/*.torrent
    schedule = untied_directory,10,10,stop_untied=
    schedule = tied_directory,10,10,start_tied=
    
    # Close torrents when diskspace is low.
    #schedule = low_diskspace,5,60,close_low_diskspace=100M
    
    # Default session directory. Make sure you don't run multiple instance
    # of rtorrent using the same session directory. Perhaps using a
    # relative path?
    session = /opt/share/torrent/session
    
    # The ip address reported to the tracker.
    #ip = rakshasa
    
    # The ip address the listening socket and outgoing connections is
    # bound to.
    #bind = rakshasa
    
    # Port range to use for listening.
    port_range = 51777-51777
    
    # Start opening ports at a random position within the port range.
    #port_random = no
    
    # Check hash for finished torrents. Might be usefull until the bug is
    # fixed that causes lack of diskspace not to be properly reported.
    #check_hash = no
    
    # Set whetever the client should try to connect to UDP trackers.
    #use_udp_trackers = yes
    
    # Alternative calls to bind and ip that should handle dynamic ip's.
    #schedule = ip_tick,0,1800,ip=rakshasa
    #schedule = bind_tick,0,1800,bind=rakshasa
    
    #
    # Do not modify the following parameters unless you know what you're doing.
    #
    
    check_hash = no
    # Hash read-ahead controls how many MB to request the kernel to read
    # ahead. If the value is too low the disk may not be fully utilized,
    # while if too high the kernel might not be able to keep the read
    # pages in memory thus end up trashing.
    hash_read_ahead = 8
    
    # Interval between attempts to check the hash, in milliseconds.
    #hash_interval = 100
    
    # Number of attempts to check the hash while using the mincore status,
    # before forcing. Overworked systems might need lower values to get a
    # decent hash checking rate.
    hash_max_tries = 5
    
    # Max number of files to keep open simultaniously.
    #max_open_files = 128
    
    # Number of sockets to simultaneously keep open.
    #max_open_sockets = <no default>
    
    
    # Example of scheduling commands: Switch between two ip's every 5
    # seconds.
    #schedule = "ip_tick1,5,10,ip=torretta"
    #schedule = "ip_tick2,10,10,ip=lampedusa"
    
    # Remove a scheduled event.
    #schedule_remove = "ip_tick1"
    
    # Stop torrents when reaching upload ratio in percent,
    # when also reaching total upload in bytes, or when
    # reaching final upload ratio in percent.
    # example: stop at ratio 2.0 with at least 200 MB uploaded, or else ratio 20.0
    #schedule = ratio,60,60,"stop_on_ratio=200,200M,2000"
    #schedule = ratio,30,60,stop_on_ratio=200
    
    # Enable the default ratio group.
    ratio.enable=
    
    # Change the limits, the defaults should be sufficient.
    ratio.min.set=200
    ratio.max.set=200
    ratio.upload.set=20M
    
    # Changing the command triggered when the ratio is reached.
    system.method.set = group.seeding.ratio.command, d.close=, d.erase=
    
    
    
    # Encryption options, set to none (default) or any combination of the following:
    encryption = allow_incoming, try_outgoing, enable_retry
    #
    # The example value allows incoming encrypted connections, starts unencrypted
    # outgoing connections but retries with encryption if they fail, preferring
    # plaintext to RC4 encryption after the encrypted handshake
    #
    # encryption = allow_incoming,enable_retry,prefer_plaintext
    
    # Enable DHT support for trackerless torrents or when all trackers are down.
    # May be set to "disable" (completely disable DHT), "off" (do not start DHT),
    # "auto" (start and stop DHT as needed), or "on" (start DHT immediately).
    # The default is "off". For DHT to work, a session directory must be defined.
    #
    dht = auto
    
    dht_port = 51778
    
    # UDP port to use for DHT.
    #
    # dht_port = 6881
    
    # Enable peer exchange (for torrents not marked private)
    #
    peer_exchange = yes
    
    #
    # Do not modify the following parameters unless you know what you're doing.
    #
    scgi_port = 127.0.0.1:5000
    I cannot take credit for these values I found them on another site where they were using the WDTV box and install rtorrent on it. I increase the Max _memory_usage a bit since the WDTV only has 128M memory while I believe the PBO has 256M of memory (not sure on that though). Anyhow those setting works good for me.

  2. #52
    Join Date
    Feb 2010
    Posts
    640

    Default

    Just an FYI for this thread (sorry for the double-posting but it seemed relevant here, too):

    Quote Originally Posted by snappy46 View Post
    This procedure does not work anymore [under firmware 04] since we can not even create a symbolic link (ln) /opt to the root directory. The fact that ipkg-cl is no longer available in the firmware is no big deal since you can just download it untar it (unzipped) then run it. Just type the following in a writable directory on your HDD using telnet: wget http://www.kovari.priv.hu/download/ipkg-cl.tgz and that file will be there again which you can use to install its big brother ipkg.ipk. That was just an observation I made in regards to the ipkg-cl file not being there anymore. Of course if you have not formatted your HDD like I did then all the stuff you had previous to upgrading to P04 should still be there.
    Hey Snappy46-

    Following the instructions here on how to increase the partition size allowed me to get the space needed to create symbolic links and then install ipkg in Patriot's Firmware 04.

    -wigout

    http://minimodding.com/blogpost37-Cu...Style_threaded
    h t t p://minimodding.com/blogpost37-Custom-root-Partition?postId=37&offset=0&find=&sort_mode=creat ed_desc&comments_parentId=1003&comments_per_page=1 &thread_style=commentStyle_threaded

  3. #53
    Join Date
    Dec 2009
    Location
    Canada (ON)
    Posts
    2,036

    Default

    Quote Originally Posted by wigout View Post
    Just an FYI for this thread (sorry for the double-posting but it seemed relevant here, too):



    Hey Snappy46-

    Following the instructions here on how to increase the partition size allowed me to get the space needed to create symbolic links and then install ipkg in Patriot's Firmware 04.

    -wigout

    http://minimodding.com/blogpost37-Cu...Style_threaded

    Thanks wigout; I am aware that making changes to the image of the firmware can be use to accomplish that; but I was hoping it could be done without doing that. Doing it that way involves a change to the firmware image every time a new firmware is available (which I admit rarely happen with the PBO). I also read on some previous post here or some other site about deleting some of the unused fonts to create more room but I have not experimented much with that since P04 did not offer anything worth while for me and broke more things than fixed any. It was just easier for me to go back to P02 and keep experimenting with that. I will however keep that link handy for when the dust settle and that a final firmware is issued and I wish to had some more functionality (If any more functionality is needed; heah! I am a dreamer).

    Appreciate your inputs and now everyone knows that they can accomplish a lot of what this thread and others are about eventhough they have P04 firmware installed. I still believe however that if you want to try and experiment with any type of optware; downgrading to P02 is by far the easiest thing to do consider what P04 offers.

    Cheers!!! Happy testing and experimenting !!!!

  4. #54
    Join Date
    Dec 2009
    Location
    ON, Canada
    Posts
    4,910

    Default

    Quote Originally Posted by snappy46 View Post
    I also read on some previous post here or some other site about deleting some of the unused fonts to create more room
    Not to drift the thread, but this opens possibilities for adding more languages for subtitle support, I am pretty sure that this issue wasn't discussed here ..
    any hints on where to find it ?!

  5. #55
    Join Date
    Dec 2009
    Location
    Canada (ON)
    Posts
    2,036

    Default

    Quote Originally Posted by aasoror View Post
    Not to drift the thread, but this opens possibilities for adding more languages for subtitle support, I am pretty sure that this issue wasn't discussed here ..
    any hints on where to find it ?!
    I am not home right now so I do not have access to the PBO but I believe if memory serves that the fonts can be found in this directory: /usr/local/bin/Resource/ .

  6. #56
    Join Date
    Dec 2009
    Location
    ON, Canada
    Posts
    4,910

    Default

    Quote Originally Posted by snappy46 View Post
    I am not home right now so I do not have access to the PBO but I believe if memory serves that the fonts can be found in this directory: /usr/local/bin/Resource/ .
    Yup I found them, but they seem to be the menu fonts not the subtitle fonts (as far as I can tell)

  7. #57
    Join Date
    Dec 2009
    Location
    Canada (ON)
    Posts
    2,036

    Default

    Quote Originally Posted by aasoror View Post
    Yup I found them, but they seem to be the menu fonts not the subtitle fonts (as far as I can tell)
    Your guess is as good if not better than mine. Sorry if can't be more helpful.

  8. #58
    Join Date
    May 2010
    Posts
    2

    Default

    Hello. New to both Linux and PBO. Recently purchased a PBO and update the firmware to P05 with Bootware 18. Also added a Hitachi 500gb/2.5" HDD. After about 10 days of reading and trying, finanlly able to telnet and log in as "root".
    My next task is to install ipkg. Followed the opening post but run into problem on the 3rd line:

    ln -sf /tmp/hdd/root/opt /opt

    with following respond:

    ln: /opt: Operation not permitted

    Any help will be appreciated. Many thanks.

  9. #59
    Join Date
    Dec 2009
    Location
    ON, Canada
    Posts
    4,910

    Default

    Quote Originally Posted by Wan2Know View Post
    Hello. New to both Linux and PBO. Recently purchased a PBO and update the firmware to P05 with Bootware 18. Also added a Hitachi 500gb/2.5" HDD. After about 10 days of reading and trying, finanlly able to telnet and log in as "root".
    My next task is to install ipkg. Followed the opening post but run into problem on the 3rd line:

    ln -sf /tmp/hdd/root/opt /opt

    with following respond:

    ln: /opt: Operation not permitted

    Any help will be appreciated. Many thanks.
    The instructions here wont work for post P02 firmwares.
    Here is what you need to do.
    • First upgrade to P05-B (for bootcode 16) though you do have bootcode 18 but this version is compatible and will allow you the modding that P05-B for bootcode 18/20 wont.
    • Then follow the instructions here for installing optware ipkg.
    [*]Still new..? check the wiki. [*]Your shares gone for no reason ? Create a machine shortcut. [*]Trashing the G-adapter? upgrade cheaply to N. [*]Getting the hang of it? get organized .. add share shortcuts. [*]Getting sick of it ? it never hurts to rant here [*]Wishing for the time machine? give your PBO a makeover. [*]Bricked it while doing so ? unbrick it for $5[*]Not into cross flashing? keep it semi-official [*]Too lazy to read all that ? you asked for it.[*] Thank U PBO

  10. #60
    Join Date
    Feb 2010
    Location
    Round Rock TX
    Posts
    1,076

    Default

    Hey Aasoror these issues would be fixed with what I was talking about using a flashdrive to standardize adding options to the PBO/ACRBO and wouldn't matter about if you have / write access or not. I haven't seen a use to run any of these things YET but I think if we got snappy and wig looking at this we could have an easy to deploy solution with instructions that would apply to adding any additional options to the boxes and make it much more user friendly. I hardwire and do everything over the network so for me it is no big deal to give up one of the usb ports fulltime but some like turning their boxes into some kind of apocalyptic looking creature with stuff hangin everywhere.

Posting Permissions

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