Page 1 of 11 123 ... LastLast
Results 1 to 10 of 109

Thread: My take on setup ipkg on box office device

  1. #1
    Join Date
    Feb 2010
    Posts
    3

    Default My take on setup ipkg on box office device

    I just bought a box office device, I would like to share the my steps to install ipkg on box office, once you have ipkg setup, you can install loads of software on box office to make it a multifunctional server.

    telnet to box office, login as root. There is no root password in there, so you might want to edit /usr/local/etc/passwd to give it a root password.

    Code:
    mkdir /tmp/hdd/root/opt
    mount -o remount,rw /
    ln -sf /tmp/hdd/root/opt /opt
    mount -o remount,r /
    mkdir /opt/tmp
    cd /opt/tmp
    wget  http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/uclibc-opt_0.9.28-13_mipsel.ipk
    ipkg-cl install uclibc-opt_0.9.28-13_mipsel.ipk
    wget  http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/ipkg-opt_0.99.163-10_mipsel.ipk
    ipkg-cl install ipkg-opt_0.99.163-10_mipsel.ip
    rm *.ipk
    so far ipkg is installed.
    Enjoy your box office and have fun.
    Last edited by xun1234; 02-24-2010 at 06:19 PM.

  2. #2
    Join Date
    Feb 2010
    Posts
    3

    Default

    some server software you might want to try
    openssh: to get ssh access.
    vsftpd: I found it is much faster to transfer file to the box using ftp rather than samba.
    mediatomb: to serve media files, it is also possible to use mediatomb to access online streaming video.
    transmission: a better bittorrent client than the default one in my opinion.

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

    Default

    Interesting project, I was just thinking the other night about a way to possibly run mediatomb on the PBO. It is currently running on my PC to allow apple movie trailers and You tube video streaming to the PBO using UPnP.

    It sure would be cool if I can use the PBO as the server and client at the same time to be able to stream apple movie trailers and you tube videos. Mediatomb however is dependant on quite a few libraires so all those will have to be installed. At this point I don't even know the power/architecture of the PBO chipset but I can only assume it is quite limited.

    Anyhow; like I mentionned already very interesting project; let us know if your are successful in installing any of those programs.
    Last edited by snappy46; 02-27-2010 at 06:26 PM.

  4. #4
    Join Date
    Feb 2010
    Posts
    15

    Default

    Good news, if I can install ipkg, I can install asterisk, and python google voice scripts, it can act as voip server!



    Quote Originally Posted by xun1234 View Post
    some server software you might want to try
    openssh: to get ssh access.
    vsftpd: I found it is much faster to transfer file to the box using ftp rather than samba.
    mediatomb: to serve media files, it is also possible to use mediatomb to access online streaming video.
    transmission: a better bittorrent client than the default one in my opinion.

  5. #5
    Join Date
    Feb 2010
    Posts
    640

    Default ASUS O!Play hacks

    I do not vouch for the information presented here as entirely applicable but this forum:
    http://forum.xbmc.org/showthread.php?t=58718

    explores getting fancy with optware on the ASUS O!Play, a near match for patriot box office. Should be useful in finding what's possible.

    and here's a second site dedicated to modding the ASUS O!Play:

    http://minimodding.com/tiki-view_forum.php?forumId=2

    .

  6. #6

    Default Slimserve on PBO

    This looks promising. I posted earlier about the possibility of getting Logitech's slimserve running on the PBO, does this mean that it's at least plausible?

    - e

  7. #7

    Default

    Hopefully, the experts here may compose a tutorial “ipkg for Dummies” and show us how to install and use some basic packages like vsftpd and transmission from scratch.

  8. #8
    Join Date
    Dec 2009
    Posts
    504

    Default

    Quote Originally Posted by Amowagou View Post
    Hopefully, the experts here may compose a tutorial “ipkg for Dummies” and show us how to install and use some basic packages like vsftpd and transmission from scratch.
    yea, as I know squat about lynics - cant even spell it - I would need some help with this too. Got to do something to uncork the network speeds on the PBO

  9. #9
    Join Date
    Jan 2010
    Posts
    11

    Default

    awesome stuff

    I got ipkg installed perfectly and even got the openssh and vsftpd packages downloaded into /opt/tmp, but thats as far as I got, if some1 could please maybe help us out on how to do the rest...

    for vsftpd i get this error:

    You'll need to add line like
    echo "ftp stream tcp nowait root /opt/sbin/vsftpd /opt/etc/vsftpd.conf" >>/etc/inetd.conf

    to your /unslung/rc.xinetd file
    -- see the wiki at http://www.nslu2-linux.org for more info

    mkdir: Cannot create directory `/usr/share/': Read-only file system
    Successfully terminated.

    and for ssh:

    /tmp/hdd/root/opt/tmp # ipkg-cl install ipkg-opt openssh_4.7p1-1_mipsel
    Package ipkg-opt (0.99.163-10) installed in root is up to date.
    Installing openssh (4.7p1-1) to root...
    Configuring openssh

    Generating RSA Key...
    Generating public/private rsa1 key pair.
    Your identification has been saved in /opt/etc/openssh/ssh_host_key.
    Your public key has been saved in /opt/etc/openssh/ssh_host_key.pub.
    The key fingerprint is:
    d7:62:80:78:ab:ac:33:10:43:90:34:93:99:82:7f:75
    Generating RSA Key...
    Generating public/private rsa key pair.
    Your identification has been saved in /opt/etc/openssh/ssh_host_rsa_key
    Your public key has been saved in /opt/etc/openssh/ssh_host_rsa_key.pub
    The key fingerprint is:
    00:24:7f:83:57:99:33:59:e0:d3:ad:2b:09:e0:e2:b7
    Generating DSA Key...
    Generating public/private dsa key pair.
    Your identification has been saved in /opt/etc/openssh/ssh_host_dsa_key
    Your public key has been saved in /opt/etc/openssh/ssh_host_dsa_key.pub
    The key fingerprint is:
    77:7c:68:45:e2:2a:64:8d:a1:e3:df:cf:95:6f:62:db
    mkdir: Cannot create directory `/root': Read-only file system
    Fixing permissions on the /tmp directory...
    killall: sshd: no process killed
    Missing privilege separation directory: /opt/var/empty
    postinst script returned status 255
    ERROR: openssh.postinst returned 255


    if someone could please help out
    thanks

  10. #10
    Join Date
    Dec 2009
    Location
    Canada (ON)
    Posts
    2,040

    Default

    Quote Originally Posted by French View Post
    awesome stuff

    I got ipkg installed perfectly and even got the openssh and vsftpd packages downloaded into /opt/tmp, but thats as far as I got, if some1 could please maybe help us out on how to do the rest...

    for vsftpd i get this error:

    You'll need to add line like
    echo "ftp stream tcp nowait root /opt/sbin/vsftpd /opt/etc/vsftpd.conf" >>/etc/inetd.conf

    1) Telnet to your PBO.
    2) cd /etc
    3) vi inetd.conf (read up on vi (text editor) to learn the various editing options)
    4) add the line requested (ftp stream tcp nowait root /opt/sbin/vsftpd /opt/etc/vsftpd.conf) after the other lines; you will see one for the http server (www) and telnet already there just add at the end of that.
    5) save the inetd.conf file.
    6) Reboot the PBO then try the ftp server it should be already running.

    Hopefully this will work for you. I haven't add the time to play with this yet but intend to do so.

    Good luck

Posting Permissions

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