User Tools

Site Tools


blackberry

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
blackberry [2010/05/14 14:48] – created neutronscottblackberry [2023/11/04 22:30] (current) – external edit 127.0.0.1
Line 11: Line 11:
  gcc -o bb bb.c -lusb  gcc -o bb bb.c -lusb
  
-It only requires libusb-0.1. Then run it, and it'll tell you where the "modemcan be foundThen use that long pppd string example in the Bluetooth section but change /dev/rfcomm0 to /dev/pts/(or wherever it ends up).+It only requires libusb-0.1. Downside is it polls. I have it set for 1ms with good results. I run it like so: 
 + 
 +<code> 
 +root@atom:~/bb# ./bb & 
 +[1] 18202 
 +root@atom:~/bb# Manufacturer: Research In Motion 
 +Product: RIM Composite Device 
 +Serial: 69B71E7A526112B08DF1DA03196AC89F82606929 
 +PIN: 22082961 
 +debug: open("/dev/ptmx"
 +debug: grantpt() 
 +debug: unlockpt() 
 +debug: ptsname_r() 
 + 
 + 
 +MODEM ON PTS: /dev/pts/
 +./ppp.sh 0 
 +pts is ready. 
 +Serial connection established. 
 +Using interface ppp0 
 +Connect: ppp0 <--> /dev/pts/0 
 +PAP authentication succeeded 
 +local  IP address 25.50.33.30 
 +remote IP address 169.254.1.1 
 +primary   DNS address 10.177.0.34 
 +secondary DNS address 10.168.181.116 
 +</code> 
 + 
 +ppp.sh is just this lil thing: 
 + 
 +<file sh ppp.sh> 
 +#!/bin/sh 
 + 
 +if [ -z "$1" ]; then 
 +  echo "need more input" 
 +  exit 
 +fi 
 +sudo pppd /dev/pts/$local 921600 user guest password guest connect \ 
 + "chat '' 'AT+CGDCONT=1,\"IP\",\"epc.tmobile.com\"' OK ATDT*99# CONNECT ''"
 + defaultroute noipdefault usepeerdns nodetach noproxyarp \ 
 + ipcp-max-failure 1000 persist 
 +</file>
  
 ===== Bluetooth ===== ===== Bluetooth =====
Line 29: Line 70:
  noproxyarp ipcp-max-failure 1000 persist  noproxyarp ipcp-max-failure 1000 persist
  
 +====== Engineering Screen ======
 +
 +I ripped this JavaScript from some other sites. They all were full of bloat, ads, and bullshit. Just visit http://scottn.us/escreen.html and type in the stuff. Then somewhere in those menus you can see your active tunnels. Like one to blackberry.net for the phone, and one to epc.tmobile.com for this tethering. Don't break anything!
blackberry.1273848484.txt.gz · Last modified: 2023/11/04 22:29 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki