[ILUG] GPRS access via bluetooth on o2
tim at birdsnest.maths.tcd.ie
Mon Jul 5 13:09:54 IST 2004
On Monday 05 July 2004 11:05, Keith Davey wrote:
> In case anyone is interested, I managed to connect via gprs on o2 over
> bluetooth from Fedora Core 2.
Your method is more or less exactly what I do.
Just a couple of comments.
(1) I think you have to contact O2 to get GPRS set up.
This doesn't cost anything.
> However, here is my /etc/ppp/peers/gprs2 script:
> /dev/rfcomm0 57600
> connect '/usr/sbin/chat -v -f /etc/ppp/chat-gprs2'
(2) For comparison, here is mine.
I cannot remember why I added all these lines -
they are probably completely unnecessary,
rfcomm0 115200 crtscts
connect '/usr/sbin/chat -v -f /etc/ppp/O2.chat'
> And here is the /etc/ppp/chat-gprs2:
> TIMEOUT 5
> ECHO ON
> ABORT '\nBUSY\r'
> ABORT '\nERROR\r'
> ABORT '\nNO ANSWER\r'
> ABORT '\nNO DIALTONE\r'
> ABORT '\nRINGING\r\n\r\nRINGING\r'
> '' \rAT
> TIMEOUT 30
> OK ATE1
> OK AT+cgdcont=1,"IP","open.internet"
> OK ATD*99***1#
> These settings work for O2 anyway.
(3) Mine reads
ABORT '\nNO ANSWER\r'
ABORT '\nNO CARRIER\r'
ABORT '\nNO DIALTONE\r'
Again, I doubt if the differences matter.
For some reason, half the time I try to connect I get "CONNECT"
and the other half I get "OK";
that's why I try twice (if necessary).
I say (as root) "pppd debug call O2".
This gives a large amount of debug info in /var/log/messages and elsewhere.
> GPRS is billed per meg, so you can stay connected all day, just don't do
> any big downloads.
(4) I'm not sure if this is good advice.
I left mine connected for a couple of hours one day,
and I received a lot of packets, I don't know why.
(5) There is a program GPRS_Easy_Connect (from Hungary)
- you can find it if you google for "GPRS Easy Connect" -
which has settings for all the telecoms round the world,
The program is meant to connect you automatically,
but I prefer your method.
(6) The connection is really slow.
I wonder if it is any faster than just using the phone to dial in?
(7) You probably should have mentioned the Bluez site
as there is a lot of info there.
Also there are quite a lot of preliminary steps
to get Bluetooth running on the computer
(eg "chkconfig bluetooth on" or "service bluetooth start",
as well as a few settings in modprobe.conf .)
e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
More information about the ILUG