BlackBerry Forums Support Community

BlackBerry Forums Support Community (http://www.blackberryforums.com/index.php)
-   Linux Users Corner (http://www.blackberryforums.com/forumdisplay.php?f=83)
-   -   Tether 9700 with ATT to Ubuntu Linux. (modem 3G mobile cell) (http://www.blackberryforums.com/showthread.php?t=234839)

jag-bb 08-30-2010 06:40 PM

Tether 9700 with ATT to Ubuntu Linux. (modem 3G mobile cell)
 
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

************************************************** ************

datrumole 10-17-2010 01:10 AM

hey this is exactly what i was looking for but when i execute 'sudo pppd call my-blackberry' i get this output from the terminal

pppd: In file /etc/ppp/peers/my-blackberry: unrecognized option '/usr/sbin/pppob"'


any thoughts?


All times are GMT -5. The time now is 11:44 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.