I've been on the road the last two weeks and decided I had to get my
Blackberry Curve working as a modem over AT&T's EDGE network.

It wasn't as bad as I feared, because other people had previously done
most of the work. I just put together the stuff I found and had a
little luck.

Here are the files I used. I hope that they can be included in barry
where people smarter than me can tune them.

A couple of data points:
* It works for me using a pre-0.14 SVN release on Kubuntu. (I sent
this email over the connection.)
* I could not successfully get it to work with a password, though I
understand that upgrading my barry install might help.
* Playing with the password stuff caused my device to reboot. I ended
up just disabling it before tethering.

Good luck,

Richard Esplin

----
/etc/ppp/peers/barry-att_cingular

# pppd peer file for ATT / Cingular
# Licensed under the same terms as libbarry.
#
# Some of these options found documented at:
#    http://wiki.colar.net/tethering_with_blackberry_pearl_on_linux
#
# Please send all working peer files to [EMAIL PROTECTED], so we can
# build a library of peer files for different carriers.

connect "/usr/sbin/chat -f /etc/chatscripts/barry-att_cingular.chat"

# Authentication options - no need for ISP to authenticate to us, but
#                          we may need a login here: user/password/name
noauth
user ""
password ""

# 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
lcp-echo-interval 0
lcp-echo-failure 999

# Limit size of packets
mtu 1492

# Verbosity
debug
#debug debug debug

# Call pppob for the USB link
pty "/usr/sbin/pppob"
----
/etc/chatscripts/barry-att_cingular.chat

# Chatscript for ATT / Cingular
# Licensed under the same terms as libbarry.
#
# Please send all working peer files to [EMAIL PROTECTED], 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
----




-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to