BlackBerry: Difference between revisions

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.