Related
Bluetooth GPRS via an A1200 and peoples.net
Published 2008-01-24 08:44:24
After quite a bit googling and guesswork, I finally got my portable to connect via my Motorola A1200 to peoples.net (unlimited GRPS). So here's the settings for reference (as most of the google results are not quite accurate).
for starters: /etc/bluetooth/rfcomm.conf
(you need to find out your bluetooth id - plenty of results if you google "bt grps howto's" )
you need to configure pairing - I think this is the one that worked
/etc/bluetooth/hcid.conf
And now for the magical stuff.. (the 0.0.0.0:10.0.0.1 was the magic bit that solved all the connection problems)
/etc/ppp/peers/peoples
the chat script
/etc/chatscripts/peoples-connect
This is disconnect (not really used it, but might help...)
/etc/chatscripts/people-disconnect
And hopefully when you do
for starters: /etc/bluetooth/rfcomm.conf
(you need to find out your bluetooth id - plenty of results if you google "bt grps howto's" )
rfcomm0 {
bind yes;
device ***device id here **;
channel 5;
comment "Alans phone";
}you need to configure pairing - I think this is the one that worked
/etc/bluetooth/hcid.conf
options {
autoinit yes;
security user;
pairing multi;
passkey "**MAKE UP A PASSKEY ***";
}And now for the magical stuff.. (the 0.0.0.0:10.0.0.1 was the magic bit that solved all the connection problems)
/etc/ppp/peers/peoples
debug
connect "/usr/sbin/chat -v -f /etc/chatscripts/people-connect"
user "ptc"
password "ptc"
/dev/rfcomm0 115200
show-password
noipdefault
usepeerdns
defaultroute
noauth
0.0.0.0:10.0.0.1
ipcp-accept-local
ipcp-accept-remote
debug
kdebug 7
#nodeflate
novj
noccp
#remove if you want pon to run in the background
modem -detach
the chat script
/etc/chatscripts/peoples-connect
TIMEOUT 35
ECHO ON
ABORT '\nBUSY\r'
ABORT '\nERROR\r'
ABORT '\nNO ANSWER\r'
ABORT '\nNO CARRIER\r'
ABORT '\nNO DIALTONE\r'
ABORT '\nRINGING\r\n\r\nRINGING\r'
'' ATZ
OK 'ATM1L1'
OK 'AT&f+cgdcont=1,"IP","peoples.net","",0,0'
OK 'ATDT*99***1#'
CONNECT ""
This is disconnect (not really used it, but might help...)
/etc/chatscripts/people-disconnect
SAY 'Starting GPRS disconnect script\n'
"" \K
"" +++ATH0
And hopefully when you do
#pon peoplesyou get an internet connection from anywhere in Hong Kong..
Add a comment (requires javascript!)
Follow us
-
- Roo J Solutions Limited is recruiting
- Free your data... seed webkit browser mirror button
- Deleting the View and Controller..
- What was I doing last night... Seed querying xscreensaver
- Watch-out PHP 5.3.7+ is about.. and the is_a() / __autoload() mess.
- Cli parsing in FlexyFramework, PEAR Console_GetArg
- Gtk3 introspection updates and Unusable Unity..
- How to spam in PHP..
Blog Latest
-
Twitter - @Roojs

Comments