Problem with pppd through bluetooth
Hello all,
I'm experimenting a problem trying to connect internet via GRPS through bluetooth using my Nokia 3650 and a Linux Box with a usb-dongle bluetooth BT3030, via pppd.
The connection between the mobile and the PC via bluetooth is working fine. I can transfer data in the two ways: PC->mobile , mobile->PC, using the bluez driver.
So, now when I try to access the internet via GPRS a got this message when I call "pppd"
root@emerald:~# rfcomm 1 xx:xx:xx:xx:xx:xx 9 Connected /dev/ttyU1 to xx:xx:xx:xx:xx:xx on channel 9 rfcomm_send_data: DLCI 18 not connected rfcomm_send_data: DLCI 18 not connected rfcomm_send_data: DLCI 18 not connected rfcomm_send_data: DLCI 18 not connected
My pppd scripts are:
in /etc/ppp/chat-gprs
-----------------------------------
TIMEOUT 5 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' '' \rAT TIMEOUT 12 OK ATE1 OK 'AT+cgdcont=1,"IP","tim"' OK ATD*99***1#
-----------------------------------
and in /etc/ppp/peers/gprs
-----------------------------------/dev/modem 57600
connect '/usr/sbin/chat -v -f /etc/ppp/chat-gprs'
noauth
defaultroute
debug
-----------------------------------
I have a symbolic link from /dev/ttyU1 to /dev/modem
And when I call: "pppd call gprs"
I got that message "rfcomm_send_data: DLCI 18 not connected"
Does anyone can help me with this?
Sorry about the long message...
TIA,
Signature · 16 lines
Igor Luiz Oliveira de Souza Magiclink Solucoes Internet Analista de TI - 88657412 Salvador / BA - Brasil ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Bluez-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bluez-users
Marcel Holtmann
maintainerHi Igor,
Quoted 10 lines
I'm experimenting a problem trying to connect internet via GRPS through bluetooth using my Nokia 3650 and a Linux Box with a usb-dongle bluetooth BT3030, via pppd.
The connection between the mobile and the PC via bluetooth is working fine. I can transfer data in the two ways:
PC->mobile,mobile->PC, using the bluez driver.
So, now when I try to access the internet via GPRS a got this message when I call "pppd"
Quoted 6 lines
root@emerald:~# rfcomm 1 xx:xx:xx:xx:xx:xx 9 Connected /dev/ttyU1 to xx:xx:xx:xx:xx:xx on channel 9 rfcomm_send_data: DLCI 18 not connected rfcomm_send_data: DLCI 18 not connected rfcomm_send_data: DLCI 18 not connected rfcomm_send_data: DLCI 18 not connected
use the kernel RFCOMM layer.
Regards
Marcel
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Hi Marcel,
Sorry about my innocence :-)))), but when you say "use the kernel RFCOMM layer", you mean load the module "rfcomm" (or even have it built in the kernel) ???
If so, I already have the module(rfcomm) loaded...
Se my lsmod:
-------------------------------------------------
root@emerald:~# lsmod Module Size Used by Tainted: P ppp_deflate 3512 0 (unused) zlib_deflate 18520 0 [ppp_deflate] ppp_async 7712 0 (unused) ppp_generic 16092 0 [ppp_deflate ppp_async] slhc 5200 0 [ppp_generic] hci_usb 8088 0 sco 9132 0 (unused) rfcomm 32672 0 l2cap 16876 2 [rfcomm] bluez 32548 1 [hci_usb sco rfcomm l2cap] ussp 17152 0 uhci 25872 0 (unused) usbcore 62112 1 [hci_usb uhci] 8139too 15944 1 mii 2496 0 [8139too] crc32 2880 0 [8139too] nvidia 1962184 6 es1371 27400 0 ac97_codec 13608 0 [es1371] soundcore 3588 4 [es1371] root@emerald:~# ------------------------------------------------- And the problem still remains...
And if ""use the kernel RFCOMM layer"" has no meaning with I sad before, can you tell me what it is?
Any other idea?
Best Regards!!!
Signature · 7 lines
Igor Luiz Oliveira de Souza Magiclink Solucoes Internet Analista de TI - 88657412 Salvador / BA - Brasil Em Sex, 2004-02-27 às 00:59, Marcel Holtmann escreveu:
Quoted 24 lines
Hi Igor,
Quoted 10 lines
I'm experimenting a problem trying to connect internet via GRPS through bluetooth using my Nokia 3650 and a Linux Box with a usb-dongle bluetooth BT3030, via pppd.
The connection between the mobile and the PC via bluetooth is working fine. I can transfer data in the two ways:
PC->mobile,mobile->PC, using the bluez driver.
So, now when I try to access the internet via GPRS a got this message when I call "pppd"Quoted 6 lines
root@emerald:~# rfcomm 1 xx:xx:xx:xx:xx:xx 9 Connected /dev/ttyU1 to xx:xx:xx:xx:xx:xx on channel 9 rfcomm_send_data: DLCI 18 not connected rfcomm_send_data: DLCI 18 not connected rfcomm_send_data: DLCI 18 not connected rfcomm_send_data: DLCI 18 not connecteduse the kernel RFCOMM layer.
Regards
Marcel
Marcel Holtmann
maintainerHi Igor,
Quoted 4 lines
Sorry about my innocence :-)))), but when you say "use the kernel RFCOMM layer", you mean load the module "rfcomm" (or even have it built in the kernel) ???
If so, I already have the module(rfcomm) loaded...
loading the kernel module is enough, but it seems that you have you have the wrong rfcomm utility. The BlueZ utils packages also contains a rfcomm program that can be used to setup /dev/rfcomm0 TTY devices that work exactly like a serial port. Of course you have to create the device nodes first.
Regards
Marcel
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users