Results 1 to 15 of 15
Like Tree15Likes
  • 10 Post By tinyhack
  • 1 Post By TomCanuck
  • 1 Post By M.Rizk
  • 2 Post By Bighead278
  • 1 Post By WillyyR
  1. tinyhack's Avatar
    CrackBerry User

    Posts
    61 Posts
    Thread AuthorThread Author   #1  

    Default Access Bridge (BBM, Messages, etc) from your PC

    Ok, if you have rooted your playbook, you can access Bridge functionality from your PC. It means that you can do BBM, messaging, etc from PC. For me, it is much easier to type things from PC.

    So it will go like this:

    blackberry -> playbook -> PC

    First, setup the bridge to your playbook. Make sure you can access your BB from your PB.

    Then we need to get sshd server running in your playbook, and make sure it is renamed so it doesn't get killed by qcondoor. I will also use different port number (23) so it won't conflict with qcondoor. In your playbook:

    Code:
    cp /base/usr/sbin/sshd /accounts/devuser/s_s_h_d
    /accounts/devuser/s_s_h_d -p 23 -f /var/etc/ssh/sshd_config
    If you want to make s_s_h_d to be run in startup, put the last line to startup.sh

    Now from your linux/mac desktop, connect to PB, and add option to enable port forwarding (I am sure someone will be able to guide you tgo figure out the settings for putty in Windows).

    Code:
    ssh -p23 -v -i pb root@192.168.0.160 -L 10000:127.0.0.1:187
    192.168.0.160 is my playbook ip address, -p 23 is the port number -L is local port forwarding. It means forward port 10000 in localhost to 127.0.0.1 in the target host.

    Now from your desktop computer, go to a web browser (webkit based such as safari or google chrome is preferred):

    to access BBM, go to:

    http://localhost:10000/bbm/

    to access messages, go to:

    http://localhost:10000/message/

    Tasks:

    http://localhost:10000/tasks/

    Contacts

    http://localhost:10000/contacts/

    Calendar

    http://localhost:10000/calendar/


    Note: may be I will setup tinyproxy to make this functionality much easier to use without mucking around with ssh.
    TinyController control your BB from Windows/Mac using USB, WIFI, and Bluetooth.
    Thanked by 10:
    badtoyz (02-18-2012),  Basile (12-09-2011),  BERaddict (12-13-2011),  CracklePot (12-13-2011),  DangerMouseUK (12-08-2011),  TomCanuck (12-08-2011),  rbe1733 (12-20-2011),  sd.87 (12-27-2011),  technomensch (12-08-2011),  WillyyR (12-13-2011) 
    WillyyR, ealvnv, sushistew and 7 others like this.
  2. TomCanuck's Avatar
    CrackBerry Addict

    Posts
    926 Posts
    Global Posts
    928 Global Posts
    #2  

    Default

    genius :O thanks for this! It hadn't even crossed my mind!
    BlackBerry pulls the plug on themes: https://twitter.com/#!/BlackBerryDev...73487468920834 :< need to rally the troops and convince RIM we want themes on BB10!
    hubert_mroz likes this.
  3. M.Rizk's Avatar
    CrackBerry Addict

    Posts
    790 Posts
    Global Posts
    812 Global Posts
    PIN
    28A8F06E
    #3  

    Default

    What about Browser
    GDubbin likes this.
  4. DangerMouseUK's Avatar
    CrackBerry Addict

    Posts
    848 Posts
    Global Posts
    859 Global Posts
    PIN
    Ask Me
    #4  

    Default

    Kudos, clever idea.
  5. Bighead278's Avatar
    CrackBerry User

    Posts
    36 Posts
    #5  

    Default

    For putty:
    Host Name = playbook web ip ( ie 192.168.1.122 )
    Port = 23

    Connection->Tunnels
    Add a new forwarded port
    Source Port = 10000
    Destination = 127.0.0.1:187

    also you can go to http://127.0.0.1:10000 for a homepage of bridge stuff
    Attached Images Attached Images
    • File Type: png 1.PNG (34.8 KB, 83 views)
    • File Type: png 2.PNG (41.8 KB, 63 views)
    Last edited by Bighead278; 12-08-2011 at 01:29 PM.
    Storm 9530 V.1041
    Playbook V1.0.7.2942
    Thanked by 3:
    Basile (12-09-2011),  BERaddict (12-13-2011),  CracklePot (12-13-2011) 
    Basile and BERaddict like this.
  6. Bighead278's Avatar
    CrackBerry User

    Posts
    36 Posts
    #6  

    Default

    username: root
    password: root

    at least that's what works for me
    Storm 9530 V.1041
    Playbook V1.0.7.2942
  7. HorizonXP's Avatar
    CrackBerry Abuser

    Posts
    102 Posts
    Global Posts
    103 Global Posts
    #7  

    Default

    This is bloody brilliant. I've been looking for something like this for ages, and now I finally have it! I just wish there was a legit way to do this.
  8. SCrid2000's Avatar

    Posts
    8,345 Posts
    Global Posts
    8,347 Global Posts
    PIN
    PM me.
    #8  

    Default

    Quote Originally Posted by ht2k05 View Post
    when i try to login to the pb via the web ip...with the same public key for putty i get the following error

    server refused our key

    then it asks for a password but nothing works..
    Same here. WOnder if it's cuz dingle logs in as devuser now instead of as root.
  9. WillyyR's Avatar
    CrackBerry User

    Posts
    17 Posts
    #9  

    Default

    This is great tinyhack,

    love using bbm from my browser. Shot a quick video showing it of for you guys. Thanks for coming up with this. [YT]http://www.youtube.com/watch?v=FBII_vlmjhQ[/YT]
    BerryMe.de the german BlackBerry Blog
    @berryme_de on Twitter
    Thanked by:
    lyricidal (12-14-2011) 
    CracklePot likes this.
  10. Sith_Apprentice's Avatar

    Posts
    7,701 Posts
    Global Posts
    7,702 Global Posts
    PIN
    Changes way too often
    #10  

    Default

    for some reason my browser isnt rendering anything but the bottom icons and top bar. the entire middle (and the majority of the screen) are completely blank
    ~S_A
  11. gtirsmiley's Avatar
    CrackBerry User

    Posts
    60 Posts
    PIN
    27FA1F53
    #11  

    Default

    Ahh ! I messed up !
    Last edited by gtirsmiley; 01-16-2012 at 05:44 PM.
  12. kpd001's Avatar
    CrackBerry User

    Posts
    34 Posts
    #12  

    Default

    Sorry to dig up an old thread, but is there any way to automate this so an SSH window would not have to be open the whole time? It would be nice if this could be a function included in the Dingleberry application or in a separate app that is minimized to the tray.
  13. xsacha's Avatar
    CrackBerry Genius

    Posts
    1,724 Posts
    #13  

    Default

    kpd001: The Playbook side of things is already automated.

    You mean to automate this on Windows/Mac/Linux? I suppose you could use a batch script and stick it in autorun on your OS.
    Developer of PPSSPP, ReQognise (on AppWorld), Dingleberry, PB Connect, Sachup, Sachibar and other Qt apps. Porter of Bubble Kid, Qupzilla, Dukto, Wesnoth and other apps.
    If you like my free and opensource projects, donate to me here.
  14. kpd001's Avatar
    CrackBerry User

    Posts
    34 Posts
    #14  

    Default

    On the Playbook side I need to run the s_s_h_d command every time I restart my Playbook. I've added it to the startup.sh script but it still needs to be done manually for some reason. Then after that is done I have to open a PuTTy connection so the ports are forwarded correctly and keep it open for the duration of use. Could that be done with a script so the putty connection is not required?
  15. chintal3993's Avatar
    CrackBerry Newbie

    Posts
    2 Posts
    #15  

    Default

    i tried to follow the above instructions but every time i use dingle ssh through windows 7 and type the first command i get error file doesnt exist
    can you please put up a video or help me out with it

Posting Permissions