Check out my first novel, midnight's simulacra!

BlackBerry: Difference between revisions

From dankwiki
No edit summary
No edit summary
Line 23: Line 23:


[recombinator](0) $ </pre>
[recombinator](0) $ </pre>
* <tt>barrybackup</tt>
===Tethering===
Update <tt>/etc/network/interfaces</tt>, adding:<pre>iface ppp0 inet ppp
provider barry-tmobileus</pre>
Place the following file at <tt>/usr/local/etc/barry-tmobileus.chat</tt>:<pre>ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO DIAL TONE' ABORT 'NO ANSWER' ABORT DELAYED ABORT ERROR
SAY "Initializing\n"
'' ATZ
OK AT+CGDCONT=1,"IP","wap.voicestream.com"
OK-AT-OK ATDT*99#
CONNECT \d\c</pre>Place the following file at <tt>/etc/ppp/peers/barry-tmobileus</tt>:<pre>connect "/usr/sbin/chat -f /usr/local/etc/barry-tmobileus.chat"
#
# authentication options - no need for ISP to authenticate to us, but
#                          we may need a login here: user/password/name
#
noauth
user ""
password ""
#name wapuser
#
# handle the default route and DNS
#
#nodefaultroute
defaultroute
usepeerdns
#
# disable unsupported options
#
noipdefault
nodetach
novj
nodeflate
nobsdcomp
noaccomp
#default-asyncmap
nocrtscts
nopcomp
nomagic
passive
#nomultilink
ipcp-restart 7
ipcp-accept-local
ipcp-accept-remote
# need lcp-echo turned off, at least for tmobile, otherwise c0onnectin
# disconnects after few mn of inactivity.
# thanks to loon for this info
lcp-echo-interval 0
lcp-echo-failure 999
#
# limit size of packets
#
mtu 1492
#
# operate in debug mode
#
debug
#debug debug debug
#
# call pppob for the USB link
#
pty "/usr/sbin/pppob -P yourpassword -p yourpin"
#
# unused options
#
#modem
## refused anyway, no point in trying every time
#novj</pre>Note that the <tt>pty</tt> argument ought be updated for your device's password and PIN.

Revision as of 11:14, 23 March 2010

Character Modification

  • To quickly capitalize a letter, hold it down for about a second.
  • To type characters with commonly-used diacritics, hold down the closest English letter, and spin the trackball.
    • This will not work for input fields limited to ASCII (for instance SMS test messages).

Apps

Linux

  • bcharge from the barry package is used to properly set up USB-based charging
  • btool from the barry-util package:
[recombinator](0) $ btool -t -P devpassword
Blackberry devices found:
Device ID: 0x8f5710. PIN: 21420533, Description: RIM BlackBerry Device
Using device (PIN): 21420533
Database database:
    Database: 0x0 'MMS Options' (records: 1)
    Database: 0x1 'Input Method Switcher Option' (records: 1)
    Database: 0x2 'RMS Databases' (records: 4)
    Database: 0x3 'Certificate Options' (records: 0)
    ....
    Database: 0x59 'Bluetooth Options' (records: 1)
    Database: 0x5a 'AutoText' (records: 108)

[recombinator](0) $ 
  • barrybackup

Tethering

Update /etc/network/interfaces, adding:

iface ppp0 inet ppp
	provider barry-tmobileus

Place the following file at /usr/local/etc/barry-tmobileus.chat:

ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO DIAL TONE' ABORT 'NO ANSWER' ABORT DELAYED ABORT ERROR
SAY "Initializing\n"
'' ATZ
OK AT+CGDCONT=1,"IP","wap.voicestream.com"
OK-AT-OK ATDT*99#
CONNECT \d\c

Place the following file at /etc/ppp/peers/barry-tmobileus:

connect "/usr/sbin/chat -f /usr/local/etc/barry-tmobileus.chat"
  1. authentication options - no need for ISP to authenticate to us, but
  2. we may need a login here: user/password/name

noauth user "" password ""

  1. name wapuser
  1. handle the default route and DNS
  2. nodefaultroute

defaultroute usepeerdns

  1. disable unsupported options

noipdefault nodetach novj nodeflate nobsdcomp noaccomp

  1. default-asyncmap

nocrtscts nopcomp nomagic

passive

  1. nomultilink

ipcp-restart 7 ipcp-accept-local ipcp-accept-remote

  1. need lcp-echo turned off, at least for tmobile, otherwise c0onnectin
  2. disconnects after few mn of inactivity.
  3. thanks to loon for this info

lcp-echo-interval 0 lcp-echo-failure 999


  1. limit size of packets

mtu 1492

  1. operate in debug mode

debug

  1. debug debug debug
  1. call pppob for the USB link

pty "/usr/sbin/pppob -P yourpassword -p yourpin"


  1. unused options
  1. modem
    1. refused anyway, no point in trying every time
  2. novj

Note that the pty argument ought be updated for your device's password and PIN.