View Single Post
Old 08-30-2010, 06:40 PM   #1 (permalink)
jag-bb
New Member
 
Join Date: Aug 2010
Model: 9700
PIN: N/A
Carrier: ATT
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Tether 9700 with ATT to Ubuntu Linux. (modem 3G mobile cell)

Please Login to Remove!

This how I successfully tethered my BB bold to my Acer One Aspire netbook running Ubuntu Netbook Remix 10.04 LTS Lucid Lynx.

Download barry software for free at SourceForge.net Using Synaptic did not download the peer scripts and also started complaining about dependencies. The Sourceforge .deb files did the trick. I think you only need barrylib0 and barry-util files.

Create the 2 files at the end of this post.

Remove and replace the battery in your phone. Do ask me ... sounds like magic but I read this on several posts and it might have helped. Can't hurt.

Connect the BB via USB cable. Press no for "Mass storage " question.

run the following command in a terminal
sudo pppd call my-blackberry

You should see a lot of modem commands scroll by and eventually stop. Don't close this terminal, it will kill the connection. Type CTRL-C to kill the connection. Open a new terminal tab and type ifconfig In the listing you should see a ppp0 entry showing a successfull connection.

Happy browsing.







Create the following file as su (sudo gedit or your favorite editor)
sudo vi /etc/ppp/peers/my-blackberry

**********************
connect "/usr/sbin/chat -f /etc/chatscripts/barry-att_cingular.chat"
noauth
user ""
password "
defaultroute
usepeerdns
noipdefault
nodetach
noaccomp
nocrtscts
nopcomp
nomagic
nomultilink
ipcp-restart 7
ipcp-accept-local
ipcp-accept-remote
ipcp-max-failure 1000
ipcp-max-configure 1000
ipcp-max-terminate 1000
lcp-echo-interval 0
lcp-echo-failure 999
mtu 1492
debug
debug debug debug
pty "/usr/sbin/pppob"
921600
local
************************************************


Create the chatscript as su.
sudo vi /etc/chatscripts/barry-att_cingular.chat


************************************************** ******************
# Chatscript for ATT / Cingular
# by Richard Esplin
# Licensed under the same terms as libbarry.
#
# Please send all working peer files to [email address], so we can
# build a library of peer files for different carriers.

# Google says this info is important for ATT/Cingular:
# Modem Initialization String: AT +CGDCONT=1,"IP","wap.cingular"
# Dial-up Phone Number: *99#
# Dial-up username/password: blank/blank

SAY 'Setting abort string\n'
ABORT ERROR

SAY 'Initializing modem\n'
OK AT
OK ATZ

SAY 'Carrier Information\n'
OK 'AT+CGDCONT=1,"IP","wap.cingular"'
OK 'ATI'
OK ATDT*99#

SAY 'Connecting\n'
CONNECT

************************************************** ************
Offline   Reply With Quote