1. xsacha's Avatar
    Update: This guide has been made redundant by the Playbook Connect app that is capable of running on all OS including phones. See here.


    Archive:
    All the required tools/files can be downloaded here.
    Just replace IP and PASS in id.bat. Then run "connect.bat" and leave that window open to enable SSH. Then run "ssh.bat" to ssh to the Playbook.


    If you want to see how the files were made, read the guide below:

    This guide is for Windows but it's perhaps easier on Linux/Mac
    ----------
    What you need:
    * Putty and Puttygen from the official site.
    * A 'working directory' where you put all these files. I chose: C:\Users\X\Desktop\Playbook_Tools\
    * A file with the details of your Playbook called id.bat containing:
    Code:
    SET IP=10.1.1.13
    SET PASS=playbook
    Set up SSH keys:
    1. Run PuttyGen, change 1024 to 4096 and click 'Generate'.
    2. Copy the random-looking text inside the large text box up to and including the last "=". Paste this in to a text file and name it rsa.pub. Store it in the working directory.
    3. Save the private key to your working directory as rsa.ppk.
    4. Create a new file, ssh.bat, in your working directory containing:
    Code:
    CALL id
    START putty.exe -i rsa.ppk -ssh devuser@%IP%
    Set up Playbook:
    1. Enable Development Mode
    2. Create a new file, connect.bat, in your working directory containing:
    Code:
    CALL id
    "%PROGRAMFILES%\Research In Motion\blackberry-tablet-sdk-1.1.0\bin\blackberry-connect" %IP% -password %PASS% -sshPublicKey rsa.pub
    Now run "connect.bat" to make the Playbook listen. Then run "ssh.bat" to open up a ssh connection to the Playbook.
    ----------

    From the SSH it is possible to run native apps (even ones you compile yourself).
    Last edited by xsacha; 08-30-11 at 06:06 AM.
    chiefbroski and rsxsniper like this.
    08-19-11 11:27 AM
  2. xsacha's Avatar
    Interesting find:

    winchester_phy_ctrl
    Usage: winchester_phy_ctrl [options]

    -o : Force the USB PHY on, and exit
    -f : Force the USB PHY off, and exit
    -p : daemonize, and let powerman decide ( default )
    -U uid:gid : override uid and gid
    -v : add verbosity
    -h : usage


    Description: turns on/off the PHY and OTG Controller clock


    USB OTG? Hello!
    Last edited by xsacha; 08-19-11 at 12:48 PM.
    08-19-11 12:23 PM
  3. rsxsniper's Avatar
    im sorry if i sound stupid but what is SSH? and how does this benefit me? thanks
    08-19-11 12:29 PM
  4. peter9477's Avatar
    @xsacha, yes, see http://forums.crackberry.com/blackbe...8/#post6509313 (the part about EHCI)
    08-19-11 12:33 PM
  5. anon(1482580)'s Avatar
    im sorry if i sound stupid but what is SSH? and how does this benefit me? thanks
    If you don't know what SSH is, then you probably shouldn't worry about it.

    See Secure Shell - Wikipedia, the free encyclopedia for info about it.
    08-19-11 01:20 PM
  6. HaTaX's Avatar
    When you do some digging around in there you'll find that root login via ssh is enabled currently. Hmm, so how do you get the needed certificate to login as root? Where there's a will, there's a way...
    08-19-11 02:02 PM
  7. tieum's Avatar
    thanks for your guide xsacha, just one thing, in the ssh.bat the private key file option is missing:

    "start putty.exe -i rsa.ppk -ssh [email protected]"
    08-21-11 05:17 AM
  8. z_scorpio_z's Avatar
    thanks for your guide xsacha, just one thing, in the ssh.bat the private key file option is missing:

    "start putty.exe -i rsa.ppk -ssh [email protected]"
    If you use peagent you don't need to add private key to putty command.

    ...
    4. Save the private key to your working directory. Run Peageant and add the key you just created.
    08-21-11 05:34 AM
  9. tieum's Avatar
    that's what peageant was for , thanks for pointing that out

    since then managed to connect natively from mac osx, which is way more convenient than launching a windows VM...
    08-21-11 05:44 AM
  10. xsacha's Avatar
    It's much easier to do this in Linux and Mac OSX and those OS don't really need a guide .

    I made guide much simpler to follow.
    I also made the packed files much easier to use (just edit id.bat), so no one really needs to follow the guide.
    Last edited by xsacha; 08-21-11 at 06:48 AM.
    08-21-11 05:54 AM
  11. A7omic's Avatar
    When you do some digging around in there you'll find that root login via ssh is enabled currently. Hmm, so how do you get the needed certificate to login as root? Where there's a will, there's a way...
    Umm..is that a I know how but I am not sharing wink?

    or

    Is that a damn I really want to figure that out wink?
    Last edited by A7omic; 08-21-11 at 07:34 AM.
    08-21-11 07:21 AM
  12. melander's Avatar
    I don't see how anything but Windows can be used for the initial piece since it is required to run "blackberry-connect" to enable ssh on the Playbook. After enabling dev mode, I portscanned the Playbook and it just has the standard ports open(139,443,445) plus 4455
    08-21-11 08:03 AM
  13. dkonigs's Avatar
    I don't see how anything but Windows can be used for the initial piece since it is required to run "blackberry-connect" to enable ssh on the Playbook. After enabling dev mode, I portscanned the Playbook and it just has the standard ports open(139,443,445) plus 4455
    "blackberry-connect" is part of the Tablet SDK, and RIM provides MacOS and Linux versions of that as well. (and its just a script that wraps a Java app anyways)
    08-21-11 08:30 AM
  14. TomCanuck's Avatar
    Umm..is that a I know how but I am not sharing wink?

    or

    Is that a damn I really want to figure that out wink?

    I think that's a "If it's at all possible, I will know soon" wink

    Sent from my BlackBerry 9780 using Tapatalk
    08-21-11 09:26 AM
  15. tieum's Avatar
    once you are logged in ssh, if you want a real text editor, i've recompiled vim, just scp & unzip it to /accounts/devuser and add "/accounts/devuser" to your $PATH

    http://tieum.com/vim.zip
    sanaking likes this.
    08-21-11 08:15 PM
  16. xsacha's Avatar
    @tieum:
    Try 'elvis'
    08-21-11 09:27 PM
  17. xsacha's Avatar
    This has to be useful for someone

    dtmauth
    val::Wt99KQo2eVGcK48hoG8lHbI2QkPAhjPJ52dW6330B49r6 2ER0MF2QcFwQA3yFpHZMUq93nX75Sxm5B3
    08-22-11 02:00 AM
  18. tieum's Avatar
    @tieum:
    Try 'elvis'
    ...well at least now I know how to cross compile stuff for the playbook


    This has to be useful for someone

    dtmauth
    val::Wt99KQo2eVGcK48hoG8lHbI2QkPAhjPJ52dW6330B49r6 2ER0MF2QcFwQA3yFpHZMUq93nX75Sxm5B3
    dtm like Desktop Manager? nice find
    08-22-11 03:15 AM
  19. TomCanuck's Avatar
    ...well at least now I know how to cross compile stuff for the playbook

    Have you tried, successfully or failfully to compile anything else?
    Also, how'd you do it? Sharing is caring <3

    Sent from my BlackBerry 9780 using Tapatalk
    08-22-11 09:50 PM
  20. FourOhFour's Avatar
    Just compile for ARM LE V7 target in momentics.
    08-22-11 10:40 PM
  21. TomCanuck's Avatar
    Just compile for ARM LE V7 target in momentics.

    Sweet man. Thanks. ;D

    Sent from my BlackBerry 9780 using Tapatalk
    08-22-11 11:39 PM
  22. xsacha's Avatar
    @Juggalo20, see here: http://forums.crackberry.com/blackbe...aybook-640579/
    Momentics even lets you debug the app directly on the Playbook device.
    08-23-11 12:22 AM
  23. FourOhFour's Avatar
    momentics should also come packaged with a ton of binaries you can run.. shouldn't be any need to recompile things like vi.
    08-23-11 12:43 AM
  24. TomCanuck's Avatar
    You guys both rock. Gunna take a look as soon as I get home thanks to both of you

    Sent from my BlackBerry 9780 using Tapatalk
    08-23-11 12:48 AM
  25. 2disbetter's Avatar
    This all fantastic and what not, but does anyone have any idea when the Playbook will be getting it's own SSH client? It's extremely frustrating knowing that their is a ssh core already on the playbook and the user can't use it.

    I know it's hard to get the ball rolling as the native SDK for the playbook has not been released yet, but does anyone with connections know if RIM is wokring this issue?

    2d
    08-23-11 03:08 AM
47 12
LINK TO POST COPIED TO CLIPBOARD