* [Bluez-users] Problem with pppd through bluetooth
@ 2004-02-26 21:38 Igor Luiz Oliveira de Souza
2004-02-27 0:59 ` Marcel Holtmann
0 siblings, 1 reply; 4+ messages in thread
From: Igor Luiz Oliveira de Souza @ 2004-02-26 21:38 UTC (permalink / raw)
To: bluez-users
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,
--
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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Bluez-users] Problem with pppd through bluetooth
2004-02-26 21:38 [Bluez-users] Problem with pppd through bluetooth Igor Luiz Oliveira de Souza
@ 2004-02-27 0:59 ` Marcel Holtmann
2004-02-27 10:47 ` Igor Luiz Oliveira de Souza
0 siblings, 1 reply; 4+ messages in thread
From: Marcel Holtmann @ 2004-02-27 0:59 UTC (permalink / raw)
To: igorluiz; +Cc: BlueZ Mailing List
Hi Igor,
> 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
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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Bluez-users] Problem with pppd through bluetooth
2004-02-27 0:59 ` Marcel Holtmann
@ 2004-02-27 10:47 ` Igor Luiz Oliveira de Souza
2004-02-27 13:55 ` Marcel Holtmann
0 siblings, 1 reply; 4+ messages in thread
From: Igor Luiz Oliveira de Souza @ 2004-02-27 10:47 UTC (permalink / raw)
To: Marcel Holtmann; +Cc: BlueZ Mailing List
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!!!
--
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:
> Hi Igor,
>
> > 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
>
> use the kernel RFCOMM layer.
>
> Regards
>
> Marcel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Bluez-users] Problem with pppd through bluetooth
2004-02-27 10:47 ` Igor Luiz Oliveira de Souza
@ 2004-02-27 13:55 ` Marcel Holtmann
0 siblings, 0 replies; 4+ messages in thread
From: Marcel Holtmann @ 2004-02-27 13:55 UTC (permalink / raw)
To: igorluiz; +Cc: BlueZ Mailing List
Hi Igor,
> 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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-02-27 13:55 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-26 21:38 [Bluez-users] Problem with pppd through bluetooth Igor Luiz Oliveira de Souza
2004-02-27 0:59 ` Marcel Holtmann
2004-02-27 10:47 ` Igor Luiz Oliveira de Souza
2004-02-27 13:55 ` Marcel Holtmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox