From: "Torsten E." <linux-user@gmx.com>
To: "BlueZ Mailing List" <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] Hi there! ... and my first question
Date: Tue, 29 Jun 2004 11:18:54 +0200 [thread overview]
Message-ID: <007001c45dba$19c61a50$640aa8c0@frodo> (raw)
In-Reply-To: 1088465542.6030.230.camel@pegasus
Marcel Holtmann schrieb am Dienstag, 29. Juni 2004 01:32:
> Hi Thorsten,
Hi Marcel,
>> well, after reading some docs regarding PAN I wasn't able to manage
>> the problem.
>> I'd like to attach my iPaq 3970 via BlueTooth to my Linuxbox (SuSE
>> 9.1, with SuSE kernel 2.6.5-7.75-default).
>
> right now I don't installed SuSE on any of my machines.
... might be better not to have any ... ;)
>> I configured the Linuxbox so I'm able to l2ping the iPaq, but right
>> when using DUND I get errors in /var/log/messages like:
>> Jun 28 17:01:09 gandalf /etc/hotplug/tty.agent[6372]: TTY try 1 while
>> waiting for /class/tty/rfcomm0's bus_id
>> Jun 28 17:01:10 gandalf /etc/hotplug/tty.agent[6372]: TTY try 2 while
>> waiting for /class/tty/rfcomm0's bus_id
>> Jun 28 17:01:11 gandalf /etc/hotplug/tty.agent[6372]: TTY try 3 while
>> waiting for /class/tty/rfcomm0's bus_id
>> Jun 28 17:01:11 gandalf dund[6371]: RFCOMM TTY creation failed. No
>> such file or directory(2)
>> Jun 28 17:01:12 gandalf /etc/hotplug/tty.agent[6389]: remove tty
>> device /class/tty/rfcomm0
>> Jun 28 17:01:12 gandalf /etc/hotplug/tty.agent[6372]: TTY try 4 while
>> waiting for /class/tty/rfcomm0's bus_id
>> Jun 28 17:01:13 gandalf /etc/hotplug/tty.agent[6372]: TTY try 5 while
>> waiting for /class/tty/rfcomm0's bus_id
>> Jun 28 17:01:24 gandalf /etc/hotplug/tty.agent[6372]: add tty device
>> /class/tty/rfcomm0
>
> I don't know anything about tty.agent. It is not part of the hotplug
> package.
It seems to be an SuSE script.
>> As there's no directory /class onmy box, but /sys/classm I guess
>> that's the correct one.
>> But I'm not able to create any file or directory there ... what does
>> I have to do?
>
> Nothing. This is sysfs related and is ok.
Yes & No ...
I was able to create /dev/rfcomm0 by using:
mknod /dev/rfcomm0 c 216 0
But then it becomes strange:
Running dund --master --listen starts just fine (it seems
dund --mster --sdp --listen doen not work (anymore?)).
Trying to establish an connection shows in /var/log/messages:
Jun 29 10:06:21 gandalf /etc/hotplug/tty.agent[5401]: add tty device
/class/tty/rfcomm0
Jun 29 10:07:20 gandalf dund[5448]: New connection from
00:02:C7:11:FE:D6
Jun 29 10:07:20 gandalf pppd[5460]: pppd 2.4.2 started by root, uid 0
Jun 29 10:07:20 gandalf pppd[5460]: Using interface ppp1
Jun 29 10:07:20 gandalf pppd[5460]: Connect: ppp1 <--> /dev/rfcomm0
Jun 29 10:07:20 gandalf /etc/hotplug/tty.agent[5449]: TTY try 1 while
waiting for /class/tty/rfcomm0's bus_id
Jun 29 10:07:21 gandalf /etc/hotplug/tty.agent[5449]: TTY try 2 while
waiting for /class/tty/rfcomm0's bus_id
Jun 29 10:07:22 gandalf /etc/hotplug/tty.agent[5449]: TTY try 3 while
waiting for /class/tty/rfcomm0's bus_id
Jun 29 10:07:23 gandalf /etc/hotplug/tty.agent[5449]: TTY try 4 while
waiting for /class/tty/rfcomm0's bus_id
Jun 29 10:07:24 gandalf /etc/hotplug/tty.agent[5449]: TTY try 5 while
waiting for /class/tty/rfcomm0's bus_id
Jun 29 10:07:25 gandalf /etc/hotplug/tty.agent[5449]: add tty device
/class/tty/rfcomm0
Jun 29 10:07:28 gandalf pppd[5460]: Hangup (SIGHUP)
Jun 29 10:07:28 gandalf pppd[5460]: Modem hangup
Jun 29 10:07:28 gandalf pppd[5460]: Connection terminated.
Jun 29 10:07:29 gandalf pppd[5460]: Exit.
Jun 29 10:07:29 gandalf /etc/hotplug/tty.agent[5503]: remove tty device
/class/tty/rfcomm0
Ok, now /sys/class/tty/rfcomm0 is created automatically (maybe just some
seconds too late ...).
So for me it seems the SuSE scripts aren't working proper right now -
what does I have to do to start an BT connection manually?
Which commands are neccessary? Could somebody give me a hand?
I'm using:
RFCOMM configuration utility ver 2.7
hcitool - HCI Tool ver 2.7
hciconfig - ??? hciconfig version (or "hciconfig hci0 version") does not
work
pppd version 2.4.2
> Regards
>
> Marcel
c y
Torsten (without an h ;))
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
next prev parent reply other threads:[~2004-06-29 9:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-28 15:30 [Bluez-users] Hi there! ... and my first question Torsten E.
2004-06-28 23:32 ` Marcel Holtmann
2004-06-29 9:18 ` Torsten E. [this message]
2004-06-29 17:47 ` Marcel Holtmann
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='007001c45dba$19c61a50$640aa8c0@frodo' \
--to=linux-user@gmx.com \
--cc=bluez-users@lists.sourceforge.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox