Author Topic: How2 dial into GPRS using blueZ+dialup applet?  (Read 3947 times)

Flowmoon

  • Newbie
  • *
  • Posts: 11
    • View Profile
How2 dial into GPRS using blueZ+dialup applet?
« on: February 23, 2004, 05:35:39 pm »
I got stuck with setting up a dial-up connection thru GPRS on my SonyEricsson Z600...

Dialup over GSM and GPRS from my laptop works fine:
* dial-up over a normal GSM line works from the Z, using BlueZ and the dialup applet from http://my-zaurus.narod.ru/bluetooth.html -so apparantly the Z and the phone are paired and the dialup applet does it job fine.
* dial-up over a GSM line AND GPRS both work fine from my Win2k laptop, using the same blue monkey bluetooth CF card which I use for the Z -so also the phone appears to be OK.

But if I try to dial-in from my Z using the settings below then the CF card LED flashes one or two seconds, the phone shows a BT link but no GPRS connection icon and the Z shows \"initializing modem\" forever until the connection is aborted after about one and a half minute.

The dialup applet settings for the GPRS connection for my provider (Orange Netherlands) I took from various sources -and again, these same settings work fine if I dial up from my PC:
* account: username and password are set to \"orange\" (actually I believe an arbitrary string would be OK), phone number to dial: *99***1#
* modem, BT device: /dev/rfcomm0, init string: AT+cgdcont=1,\"IP\",\"internet\", speed: 57600, hardware flow control 6 secs
* network: all set to auto-detect
These settings match a data account CID=1, APN address \"internet\" on my phone.

What might be the problem here /what did I overlook?

Thanks for any suggestion...
SL5600 with Sharp ROM 1.32V
Blue Monkey bluetooth CF card V1.1, model LSE039/12 R2B
DaneElec 516 MB SD card
PC: Win2K

tamarian

  • Newbie
  • *
  • Posts: 45
    • View Profile
    • http://www.lowcarb.ca
How2 dial into GPRS using blueZ+dialup applet?
« Reply #1 on: February 24, 2004, 05:17:04 pm »
I don\'t use cell phones for GPRS, but I did find this docuemt helpful:

http://kotinetti.suomi.net/mcfrisk/linux_gprs.html

Try some of the scripts from the command line, and if it works, copy the script over to override your applet script (named DIALxxxx

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
How2 dial into GPRS using blueZ+dialup applet?
« Reply #2 on: February 26, 2004, 10:38:56 am »
Try to add this string instead:

AT+cgdcont=1,\"IP\",\"internet\"

Also, make sure that you\'ve configured /dev/rfcomm0 device using instructions on this site.

Flowmoon

  • Newbie
  • *
  • Posts: 11
    • View Profile
How2 dial into GPRS using blueZ+dialup applet?
« Reply #3 on: February 26, 2004, 04:51:59 pm »
It works!!

This \"cgdcont\" is apparantly the key: I found a file /etc/ppp/peers/DialupBluetooth-etc (suppose that is what you meant with \"DIALxxxx script\") which appears to contain the information entered using the dial up applet, including the \"cgdcont\" line -then found an example script which suggests to simply enter \"ATZ\" here (or in the corresponding line of the dialup applet) -and it works, finally managed to get a connection thru GPRS, browse the internet with Opera etc.

Amazingly really because all sources suggested a line like AT+cgdcont=1,\"IP\",\"internet\" -and this also worked from my Win2K laptop.. Suppose the reference to the data account CID=1 through the dialnr *99***1# is enough to do the job..

Anyways, thanks for your suggestions -another happy Z browser!
SL5600 with Sharp ROM 1.32V
Blue Monkey bluetooth CF card V1.1, model LSE039/12 R2B
DaneElec 516 MB SD card
PC: Win2K