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..
Mentioned By:
google.com : php bluetooth (93 referals)
google.com : january (37 referals)
google.com : inurl:blog.php?user= (22 referals)
www.phpeye.com : Bluetooth GPRS via an A1200 and peoples.net - Alan Knowles-- 专业PHP社区|论坛|PHP5|教程|源码|下载|框架|手册|类 (19 referals)
www.bumpzee.com : Bluetooth GPRS via an A1200 and peoples.net - Alan Knowles | Discussion @ BUMPzee.com (16 referals)
google.com : BLUETOOTH A1200 (12 referals)
google.com : a1200 gprs (10 referals)
google.com : december (9 referals)
google.com : peoples.net (8 referals)
www.planet-php.net : Planet PHP (7 referals)
google.com : motorola a1200 bluetooth modem (6 referals)
google.com : peoples.net gprs (6 referals)
google.com : php bluetooth (6 referals)
google.com : A1200 (5 referals)
google.com : a1200 bluetooth (5 referals)
google.com : bluetooth soking (5 referals)
google.com : php and bluetooth (5 referals)
google.com : PHP GPRS (5 referals)
google.com : a1200 modem bluetooth (4 referals)
google.com : gprs (4 referals)
google.com : php bluetooth (93 referals)
google.com : january (37 referals)
google.com : inurl:blog.php?user= (22 referals)
www.phpeye.com : Bluetooth GPRS via an A1200 and peoples.net - Alan Knowles-- 专业PHP社区|论坛|PHP5|教程|源码|下载|框架|手册|类 (19 referals)
www.bumpzee.com : Bluetooth GPRS via an A1200 and peoples.net - Alan Knowles | Discussion @ BUMPzee.com (16 referals)
google.com : BLUETOOTH A1200 (12 referals)
google.com : a1200 gprs (10 referals)
google.com : december (9 referals)
google.com : peoples.net (8 referals)
www.planet-php.net : Planet PHP (7 referals)
google.com : motorola a1200 bluetooth modem (6 referals)
google.com : peoples.net gprs (6 referals)
google.com : php bluetooth (6 referals)
google.com : A1200 (5 referals)
google.com : a1200 bluetooth (5 referals)
google.com : bluetooth soking (5 referals)
google.com : php and bluetooth (5 referals)
google.com : PHP GPRS (5 referals)
google.com : a1200 modem bluetooth (4 referals)
google.com : gprs (4 referals)
Follow us
-
- Some thoughts on the language server and its usefulness in the roobuilder
- Roo Builder for Gtk4 moving forward
- Clustered Web Applications - Mysql and File replication
- GitLive - Branching - Merging
- PDO_DataObject Released
- PDO_DataObject is under way
- Mass email Marketing and anti-spam - some of the how-to..
- Hydra - Recruitment done right
Blog Latest
-
Twitter - @Roojs