* Re: [Bluez-users] trouble setting up pand
@ 2005-05-12 18:37 Vinod
2005-05-12 22:00 ` Marcel Holtmann
2005-05-12 23:51 ` Albert Huang
0 siblings, 2 replies; 6+ messages in thread
From: Vinod @ 2005-05-12 18:37 UTC (permalink / raw)
To: bluez-users
> > 1) modprobe bnep's on both ipaqs
> > 2) set one as master and confirmed it
> > 3) pand --listen --role GN on the master
> > 4) pand --connect 'master-address' which i got
> from
> > hcitool scan
>
> skip step 2, because it may cause troubles.
tried skipping step 2 and set both back as
slaves,resulting in same error.
> > Then i get the following message
> >
> > root@h3600:/etc/bluetooth# udhcpc[29501]: udhcpc
> > (v0.9.9-pre) started
> > udhcpc[29501]: SIOCGIFINDEX failed!: No such
> device
>
> What else do you see in the syslog. Run "hcidump -X
> -V" as root to check
> the BNEP connection setup.
Unfortunately the latest familiar version(0.8.2),
which i have, does not have hcidump in its linux
distribution. And i still havent figured a way out to
compile with gcc on my ipaq. is there any other other
way to check bnep0 status? Doing ifconfig bnep0
returns
ifconfig bnep0
ifconfig: bnep0: error fetching interface information:
Device not found
So i believe bnep connection does not exist.
would appreciate if you let me know if any other
workaround exists until i figure out a way to run make
on my ipaq.
Vinod
Yahoo! Mail
Stay connected, organized, and protected. Take the tour:
http://tour.mail.yahoo.com/mailtour.html
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Bluez-users] trouble setting up pand
2005-05-12 18:37 [Bluez-users] trouble setting up pand Vinod
@ 2005-05-12 22:00 ` Marcel Holtmann
2005-05-12 23:51 ` Albert Huang
1 sibling, 0 replies; 6+ messages in thread
From: Marcel Holtmann @ 2005-05-12 22:00 UTC (permalink / raw)
To: bluez-users
Hi Vinod,
> > > 1) modprobe bnep's on both ipaqs
> > > 2) set one as master and confirmed it
> > > 3) pand --listen --role GN on the master
> > > 4) pand --connect 'master-address' which i got
> > from
> > > hcitool scan
> >
> > skip step 2, because it may cause troubles.
>
> tried skipping step 2 and set both back as
> slaves,resulting in same error.
>
> > > Then i get the following message
> > >
> > > root@h3600:/etc/bluetooth# udhcpc[29501]: udhcpc
> > > (v0.9.9-pre) started
> > > udhcpc[29501]: SIOCGIFINDEX failed!: No such
> > device
> >
> > What else do you see in the syslog. Run "hcidump -X
> > -V" as root to check
> > the BNEP connection setup.
> Unfortunately the latest familiar version(0.8.2),
> which i have, does not have hcidump in its linux
> distribution. And i still havent figured a way out to
> compile with gcc on my ipaq. is there any other other
> way to check bnep0 status? Doing ifconfig bnep0
> returns
>
> ifconfig bnep0
> ifconfig: bnep0: error fetching interface information:
> Device not found
>
> So i believe bnep connection does not exist.
>
> would appreciate if you let me know if any other
> workaround exists until i figure out a way to run make
> on my ipaq.
check the syslog for messages from pand.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Bluez-users] trouble setting up pand
2005-05-12 18:37 [Bluez-users] trouble setting up pand Vinod
2005-05-12 22:00 ` Marcel Holtmann
@ 2005-05-12 23:51 ` Albert Huang
1 sibling, 0 replies; 6+ messages in thread
From: Albert Huang @ 2005-05-12 23:51 UTC (permalink / raw)
To: bluez-users
Try using a different release of familiar.
I believe bluetooth support is broken in familiar 0.8.1 and 0.8.2. We
were unable to get bluetooth working on a H5550 or H3800 and
encountered inexplicable errors that did not appear on other versions
of familiar and on x86 machines.
I recommend pb's unstable16 build that he made about a year ago. You
can find that.here:
http://handhelds.org/~pb/unstable/old/
-albert
On 5/12/05, Vinod <geekvinod@yahoo.com> wrote:
>=20
> > > 1) modprobe bnep's on both ipaqs
> > > 2) set one as master and confirmed it
> > > 3) pand --listen --role GN on the master
> > > 4) pand --connect 'master-address' which i got
> > from
> > > hcitool scan
> >
> > skip step 2, because it may cause troubles.
>=20
> tried skipping step 2 and set both back as
> slaves,resulting in same error.
>=20
> > > Then i get the following message
> > >
> > > root@h3600:/etc/bluetooth# udhcpc[29501]: udhcpc
> > > (v0.9.9-pre) started
> > > udhcpc[29501]: SIOCGIFINDEX failed!: No such
> > device
> >
> > What else do you see in the syslog. Run "hcidump -X
> > -V" as root to check
> > the BNEP connection setup.
> Unfortunately the latest familiar version(0.8.2),
> which i have, does not have hcidump in its linux
> distribution. And i still havent figured a way out to
> compile with gcc on my ipaq. is there any other other
> way to check bnep0 status? Doing ifconfig bnep0
> returns
>=20
> ifconfig bnep0
> ifconfig: bnep0: error fetching interface information:
> Device not found
>=20
> So i believe bnep connection does not exist.
>=20
> would appreciate if you let me know if any other
> workaround exists until i figure out a way to run make
> on my ipaq.
>=20
> Vinod
>=20
> Yahoo! Mail
> Stay connected, organized, and protected. Take the tour:
> http://tour.mail.yahoo.com/mailtour.html
>=20
>=20
> -------------------------------------------------------
> This SF.Net email is sponsored by Oracle Space Sweepstakes
> Want to be the first software developer in space?
> Enter now for the Oracle Space Sweepstakes!
> http://ads.osdn.com/?ad_id=3D7393&alloc_id=3D16281&op=3Dclick
> _______________________________________________
> Bluez-users mailing list
> Bluez-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-users
>
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Bluez-users] trouble setting up pand
@ 2005-05-13 14:30 Vinod
0 siblings, 0 replies; 6+ messages in thread
From: Vinod @ 2005-05-13 14:30 UTC (permalink / raw)
To: bluez-users
I looked at the /etc/syslog.conf file which pointed to
me that logging will be done at /var/log/messages but
that file has not been created at all on my ipaq 3870.
-------------------------------------------------------
syslog.conf
------------------------------------------------------
DESTINATION="buffer" # log destinations
(buffer file remote)
MARKINT=20 # intervall between
--mark-- entries
LOGFILE=/var/log/messages # where to log (file)
#REMOTE=loghost:514 # where to log (syslog
remote)
REDUCE=no # reduce-size logging
ROTATESIZE=0 # rotate log if grown
beyond X [kByte]
ROTATEGENS=3 # keep X generations
of rotated logs
BUFFERSIZE=64 # size of circular
buffer [kByte]
FOREGROUND=no # run in foreground
(don't use!)
------------------------------------------------------
Then i managed to get hcidump. From the GN i sent
l2ping packets to the slave and collected the dump at
the slave (i am not settign the GN to master mode as
suggested earlier, and that strange error about udhcpc
did not come today when i tried) . But how do i know
if i have a bnep0 interface?
'ifconfig bnep0' still complains can't find interface.
This is my hcidump
-------------------------------------------------------
root@h3600:/etc/sysconfig# hcidump -t -s 200 -x
HCIDump - HCI packet analyzer ver 1.3
device: hci0 snap_len: 1028 filter: 0xffffffff
1115989643.724349 > HCI Event: Connect Request(0x04)
plen 10
56 48 0D C7 02 00 12 01 12 01
1115989643.724806 < HCI Command: Accept Connection
Request(0x01|0x0009) plen 7
56 48 0D C7 02 00 00
1115989643.731896 > HCI Event: Command Status(0x0f)
plen 4
00 01 09 04
1115989643.923097 > HCI Event: Link Key Request(0x17)
plen 6
56 48 0D C7 02 00
1115989643.923997 > HCI Event: Role Change(0x12) plen
8
00 56 48 0D C7 02 00 00
1115989643.924365 < HCI Command: Link Key Request
Reply(0x01|0x000b) plen 22
56 48 0D C7 02 00 3E 72 9A 20 84 47 50 BD 11 2E A7
39 D3 0C
E9 34
1115989643.944396 > HCI Event: Command Complete(0x0e)
plen 10
01 0B 04 00 56 48 0D C7 02 00
1115989644.134696 > HCI Event: Connect Complete(0x03)
plen 11
00 28 00 56 48 0D C7 02 00 01 01
1115989644.135090 < HCI Command: Write Link Policy
Settings(0x02|0x000d) plen 4
28 00 0F 00
1115989644.147288 > HCI Event: Max Slots Change(0x1b)
plen 3
28 00 05
1115989644.147934 > HCI Event: Command Complete(0x0e)
plen 6
01 0D 08 00 28 00
1115989644.148304 < HCI Command: Change Connection
Packet Type(0x01|0x000f) plen
4
28 00 18 CC
1115989644.158102 > ACL data: handle 0x0028 flags 0x02
dlen 28
L2CAP(s): Echo req: dlen 20
45 46 47 48 49 4A 4B 4C 4D 4E 4F 50 51 52 53 54 55
56 57 58
1115989644.158358 < ACL data: handle 0x0028 flags 0x02
dlen 28
L2CAP(s): Echo rsp: dlen 20
45 46 47 48 49 4A 4B 4C 4D 4E 4F 50 51 52 53 54 55
56 57 58
1115989644.160780 > HCI Event: Command Status(0x0f)
plen 4
00 01 0F 04
1115989644.161697 > HCI Event: Connection Packet Type
Changed(0x1d) plen 5
00 28 00 18 CC
1115989644.170652 > HCI Event: Number of Completed
Packets(0x13) plen 5
01 28 00 01 00
-------------------------------------------------------
I might have to try albert's suggestion though i
remember reading elsewhere about some folks who used
the same familiar distribution and got pand working.
Things are more difficult for me as i only have a
'scattered knowledge' of linux as of now. So bear with
me plz.
Vinod
--- Albert Huang <ashuang@gmail.com> wrote:
> Try using a different release of familiar.
>
> I believe bluetooth support is broken in familiar
> 0.8.1 and 0.8.2. We
> were unable to get bluetooth working on a H5550 or
> H3800 and
> encountered inexplicable errors that did not appear
> on other versions
> of familiar and on x86 machines.
>
> I recommend pb's unstable16 build that he made about
> a year ago. You
> can find that.here:
> http://handhelds.org/~pb/unstable/old/
>
> -albert
>
> On 5/12/05, Vinod <geekvinod@yahoo.com> wrote:
> >
> > > > 1) modprobe bnep's on both ipaqs
> > > > 2) set one as master and confirmed it
> > > > 3) pand --listen --role GN on the master
> > > > 4) pand --connect 'master-address' which i got
> > > from
> > > > hcitool scan
> > >
> > > skip step 2, because it may cause troubles.
> >
> > tried skipping step 2 and set both back as
> > slaves,resulting in same error.
> >
> > > > Then i get the following message
> > > >
> > > > root@h3600:/etc/bluetooth# udhcpc[29501]:
> udhcpc
> > > > (v0.9.9-pre) started
> > > > udhcpc[29501]: SIOCGIFINDEX failed!: No such
> > > device
> > >
> > > What else do you see in the syslog. Run "hcidump
> -X
> > > -V" as root to check
> > > the BNEP connection setup.
> > Unfortunately the latest familiar version(0.8.2),
> > which i have, does not have hcidump in its linux
> > distribution. And i still havent figured a way out
> to
> > compile with gcc on my ipaq. is there any other
> other
> > way to check bnep0 status? Doing ifconfig bnep0
> > returns
> >
> > ifconfig bnep0
> > ifconfig: bnep0: error fetching interface
> information:
> > Device not found
> >
> > So i believe bnep connection does not exist.
> >
> > would appreciate if you let me know if any other
> > workaround exists until i figure out a way to run
> make
> > on my ipaq.
> >
> > Vinod
> >
> > Yahoo! Mail
> > Stay connected, organized, and protected. Take the
> tour:
> > http://tour.mail.yahoo.com/mailtour.html
> >
> >
> >
>
-------------------------------------------------------
> > This SF.Net email is sponsored by Oracle Space
> Sweepstakes
> > Want to be the first software developer in space?
> > Enter now for the Oracle Space Sweepstakes!
> >
>
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
> > _______________________________________________
> > Bluez-users mailing list
> > Bluez-users@lists.sourceforge.net
> >
>
https://lists.sourceforge.net/lists/listinfo/bluez-users
> >
>
>
>
-------------------------------------------------------
> This SF.Net email is sponsored by Oracle Space
> Sweepstakes
> Want to be the first software developer in space?
> Enter now for the Oracle Space Sweepstakes!
> http://ads.osdn.com/?ad_ids93&alloc_id\x16281&op=click
> _______________________________________________
> Bluez-users mailing list
> Bluez-users@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/bluez-users
>
Yahoo! Mail
Stay connected, organized, and protected. Take the tour:
http://tour.mail.yahoo.com/mailtour.html
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 6+ messages in thread* [Bluez-users] trouble setting up pand
@ 2005-05-12 16:43 Vinod
2005-05-12 16:56 ` Marcel Holtmann
0 siblings, 1 reply; 6+ messages in thread
From: Vinod @ 2005-05-12 16:43 UTC (permalink / raw)
To: bluez-users
Hi all. I am having some trouble setting up my pand
connection between two ipaq's running familiar 0.8.2.
bluetooth is active on both devices.I followed the
pand howto by doing:
1) modprobe bnep's on both ipaqs
2) set one as master and confirmed it
3) pand --listen --role GN on the master
4) pand --connect 'master-address' which i got from
hcitool scan
Then i get the following message
root@h3600:/etc/bluetooth# udhcpc[29501]: udhcpc
(v0.9.9-pre) started
udhcpc[29501]: SIOCGIFINDEX failed!: No such device
do i need to load some stuff somewhere? I did not
follow some of the initial package installations as i
thought all were now integrated into the linux kernel
(mine is Linux version 2.4.19-rmk6-pxa1-hh37).
Vinod
__________________________________
Yahoo! Mail Mobile
Take Yahoo! Mail with you! Check email on your mobile phone.
http://mobile.yahoo.com/learn/mail
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Bluez-users] trouble setting up pand
2005-05-12 16:43 Vinod
@ 2005-05-12 16:56 ` Marcel Holtmann
0 siblings, 0 replies; 6+ messages in thread
From: Marcel Holtmann @ 2005-05-12 16:56 UTC (permalink / raw)
To: bluez-users
Hi Vinod,
> I am having some trouble setting up my pand
> connection between two ipaq's running familiar 0.8.2.
>
> bluetooth is active on both devices.I followed the
> pand howto by doing:
> 1) modprobe bnep's on both ipaqs
> 2) set one as master and confirmed it
> 3) pand --listen --role GN on the master
> 4) pand --connect 'master-address' which i got from
> hcitool scan
skip step 2, because it may cause troubles.
> Then i get the following message
>
> root@h3600:/etc/bluetooth# udhcpc[29501]: udhcpc
> (v0.9.9-pre) started
> udhcpc[29501]: SIOCGIFINDEX failed!: No such device
What else do you see in the syslog. Run "hcidump -X -V" as root to check
the BNEP connection setup.
> do i need to load some stuff somewhere? I did not
> follow some of the initial package installations as i
> thought all were now integrated into the linux kernel
> (mine is Linux version 2.4.19-rmk6-pxa1-hh37).
Not that I know of. However never version are always better.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-05-13 14:30 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-12 18:37 [Bluez-users] trouble setting up pand Vinod
2005-05-12 22:00 ` Marcel Holtmann
2005-05-12 23:51 ` Albert Huang
-- strict thread matches above, loose matches on Subject: below --
2005-05-13 14:30 Vinod
2005-05-12 16:43 Vinod
2005-05-12 16:56 ` Marcel Holtmann
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.