BlackBerry: Difference between revisions

Line 26: Line 26:
===Tethering on T-Mobile===
===Tethering on T-Mobile===
Update <tt>/etc/network/interfaces</tt>, adding:<pre>iface ppp0 inet ppp
Update <tt>/etc/network/interfaces</tt>, adding:<pre>iface ppp0 inet ppp
provider barry-tmobileus</pre>
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
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"
SAY "Initializing\n"
'' ATZ
'' ATZ
OK AT+CGDCONT=1,"IP","wap.voicestream.com"
OK AT+CGDCONT=1,"IP","wap.voicestream.com"
OK-AT-OK ATDT*99#
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"
CONNECT \d\c</pre>Place the following file at <tt>/usr/local/etc/barry-tmobileus.dechat</tt>, and make it executable:<pre>#!/bin/sh
 
killall pppob</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"
disconnect "/usr/local/etc/barry-tmobileus.dechat"
noauth
noauth
user ""
user ""