From: Marcel Holtmann <marcel@holtmann.org>
To: tim@birdsnest.maths.tcd.ie
Cc: BlueZ Mailing List <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] Some queries on using Bluetooth with GPRS
Date: Mon, 17 May 2004 17:18:31 +0200 [thread overview]
Message-ID: <1084807111.5833.4.camel@pegasus> (raw)
In-Reply-To: <200405171427.30900.tim@birdsnest.maths.tcd.ie>
Hi Timothy,
> I've been playing with Bluetooth this morning,
> linking my Sony C1VFK Picturebook (with in-built Bluetooth)
> to my Nokia 6310.
>
> A couple of things puzzle me.
>
> (1) Each time I connect the channel number increases by 1.
> Eg on my fourth attemtp I used channel 4:
> =======================================
> Serial connection established.
> using channel 4
> Using interface ppp0
> Connect: ppp0 <--> /dev/rfcomm0
> rcvd [LCP ConfReq id=0x0 <auth pap> <mru 1500> <asyncmap 0xa0000>]
> ...
> rcvd [IPCP ConfAck id=0x3 <addr 62.40.49.216>]
> local IP address 62.40.49.216
> remote IP address 10.6.6.6
> =======================================
this is pppd specific, so you must ask the PPP guys about that.
> (2) For some reason I only succeed in connecting every other try.
> On the odd attempts I get
> =======================================
> Script /etc/ppp/ip-up started (pid 6584)
> Script /etc/ppp/ip-up finished (pid 6584), status = 0x0
> Terminating on signal 2.
> =======================================
This is funny. I haven't seen this before. Maybe it is also a pppd
problem.
> (3) This is not really a Bluetooth query, I guess,
> but I'm slightly puzzled by the fact that I cannot ping
> the remote address, which is always 10.6.6.6
> =======================================
> [tim@martha 2004]$ ifconfig ppp0
> ppp0 Link encap:Point-to-Point Protocol
> inet addr:62.40.49.19 P-t-P:10.6.6.6 Mask:255.255.255.255
> UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
> RX packets:86 errors:0 dropped:0 overruns:0 frame:0
> TX packets:108 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:3
> RX bytes:35498 (34.6 Kb) TX bytes:11851 (11.5 Kb)
> =======================================
Can you ping any other address. Maybe your provider don't support the
ICMP protocol.
> (4) Also, I'm surprised I don't have to specify any nameservers
> (in my /etc/resolv.conf).
> Is that normal?
The PPP scripts will replace resolv.conf for your session.
> (5) Incidentally, the last obstacle that stopped me connecting
> was that I needed "\r" in the ATD line of my chat-sequence
> ========================================
> OK ATE0
> OK ATV1
> OK 'AT+CGDCONT=1,"IP","open.internet","",0,0'
> OK 'ATD*99#\r\n'
> TIMEOUT 60
> CONNECT ""
> ========================================
Looks like a phone specific bug. Check with "hcidump -a" what the chat
script really sends.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
prev parent reply other threads:[~2004-05-17 15:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-17 13:27 [Bluez-users] Some queries on using Bluetooth with GPRS Timothy Murphy
2004-05-17 15:18 ` Marcel Holtmann [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1084807111.5833.4.camel@pegasus \
--to=marcel@holtmann.org \
--cc=bluez-users@lists.sourceforge.net \
--cc=tim@birdsnest.maths.tcd.ie \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.