* [Bluez-devel] PAN profile of bluetooth
@ 2004-08-30 11:19 blookk -
2004-08-30 11:30 ` Marcel Holtmann
0 siblings, 1 reply; 10+ messages in thread
From: blookk - @ 2004-08-30 11:19 UTC (permalink / raw)
To: bluez-devel
Hello
I want to connect 2 pc using the PAN profile. I do this things:
- In server and client:
insmod rfcomm
insmod l2cap
insmod bnep
hcid -n &
sdpd -n &
sdptool add LAN
- In the server:
The file hcid.conf : lm accept,master;
in the console : pand --listen --role GN
- In the client:
The file hcid.conf : lm accept,master;
in the console : pand --connect 00:11:22:33:44:55
After i do this things, the virtual interfaz "Bnep0" doesn't create.
I execute ifconfig and only appears:
eth0 Link encap:Ethernet HWaddr 00:0A:9B:4D:75:W3
inet addr:192.161.56.171 Bcast:192.161.56.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:22602 errors:0 dropped:0 overruns:0 frame:0
TX packets:17295 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:17913250 (17.0 Mb) TX bytes:2621877 (2.5 Mb)
Interrupt:5 Base address:0x1c00
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:116487 errors:0 dropped:0 overruns:0 frame:0
TX packets:116487 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:7500466 (7.1 Mb) TX bytes:7500466 (7.1 Mb)
In the messages of kernel appears:
in server:
Aug 30 09:54:39 clavijo hcid[4819]: Bluetooth HCI daemon
Aug 30 09:54:39 clavijo hcid[4819]: HCI dev 0 up
Aug 30 09:54:49 clavijo sdpd[4822]: Bluetooth SDP daemon
Aug 30 10:14:30 clavijo pand[4836]: Bluetooth PAN daemon
Aug 30 10:14:36 clavijo pand[4837]: New connection from 00:80:5A:20:6E:26
bnep0
Aug 30 10:14:36 clavijo /etc/hotplug/net.agent: invoke ifup bnep0
in client:
Bluetooth HCI daemon
HCI dev 0 up
Bluetooth SDP daemon
Bluetooth PAN daemon
connecting to 00:11:22:33:44:55
bnep0 connected
/etc/hotplug/net.agent: invoke ifup bnep0
I don't know if i do something wrong.
thanks and regards
_________________________________________________________________
¿Estás pensando en cambiar de coche? Todas los modelos de serie y extras en
MSN Motor. http://motor.msn.es/researchcentre/
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Bluez-devel] PAN profile of bluetooth
2004-08-30 11:19 blookk -
@ 2004-08-30 11:30 ` Marcel Holtmann
0 siblings, 0 replies; 10+ messages in thread
From: Marcel Holtmann @ 2004-08-30 11:30 UTC (permalink / raw)
To: blookk -; +Cc: bluez-devel
Hi,
> I want to connect 2 pc using the PAN profile. I do this things:
>
> - In server and client:
>
> insmod rfcomm
> insmod l2cap
> insmod bnep
>
> hcid -n &
> sdpd -n &
> sdptool add LAN
there is no "sdptool add", because pand can do this by itself. And btw
you said you wanted PAN and not LAN access using PPP.
> - In the server:
> The file hcid.conf : lm accept,master;
> in the console : pand --listen --role GN
>
> - In the client:
> The file hcid.conf : lm accept,master;
> in the console : pand --connect 00:11:22:33:44:55
This will never work, because only one can be the master. Don't use the
hcid.conf for setting the master role. Use --master on the server side
call of pand.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Bluez-devel] PAN profile of bluetooth
@ 2004-08-30 15:18 blookk -
2004-08-30 15:34 ` Marcel Holtmann
2004-08-30 15:45 ` GUILLON Gabriel
0 siblings, 2 replies; 10+ messages in thread
From: blookk - @ 2004-08-30 15:18 UTC (permalink / raw)
To: bluez-devel
Hello
I have made a new try and it don't work.
after I do all things that you told me, when I execute "ifconfig" the
virtual interface Bnep0 don't appears.
Why do these things happen?
How do you make this connection?
Regards
>From: Marcel Holtmann <marcel@holtmann.org>
>To: blookk - <blookk@hotmail.com>
>CC: bluez-devel@lists.sf.net
>Subject: Re: [Bluez-devel] PAN profile of bluetooth
>Date: Mon, 30 Aug 2004 13:30:52 +0200
>
>Hi,
>
> > I want to connect 2 pc using the PAN profile. I do this things:
> >
> > - In server and client:
> >
> > insmod rfcomm
> > insmod l2cap
> > insmod bnep
> >
> > hcid -n &
> > sdpd -n &
> > sdptool add LAN
>
>there is no "sdptool add", because pand can do this by itself.
And btw
>you said you wanted PAN and not LAN access using PPP.
>
> > - In the server:
> > The file hcid.conf : lm accept,master;
> > in the console : pand --listen --role GN
> >
> > - In the client:
> > The file hcid.conf : lm accept,master;
> > in the console : pand --connect 00:11:22:33:44:55
>
>This will never work, because only one can be the master. Don't use the
>hcid.conf for setting the master role. Use --master on the server side
>call of pand.
>
>Regards
>
>Marcel
>
>
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by BEA Weblogic Workshop
>FREE Java Enterprise J2EE developer tools!
>Get your free copy of BEA WebLogic Workshop 8.1 today.
>http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
>_______________________________________________
>Bluez-devel mailing list
>Bluez-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/bluez-devel
_________________________________________________________________
Horóscopo, tarot, numerología... Escucha lo que te dicen los astros.
http://astrocentro.msn.es/
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Bluez-devel] PAN profile of bluetooth
2004-08-30 15:18 blookk -
@ 2004-08-30 15:34 ` Marcel Holtmann
2004-08-30 15:45 ` GUILLON Gabriel
1 sibling, 0 replies; 10+ messages in thread
From: Marcel Holtmann @ 2004-08-30 15:34 UTC (permalink / raw)
To: blookk -; +Cc: bluez-devel
Hi,
> I have made a new try and it don't work.
>
> after I do all things that you told me, when I execute "ifconfig" the
> virtual interface Bnep0 don't appears.
check with "ifconfig -a", because if it is still unconfigured it
wouldn't be shown otherwise.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Bluez-devel] PAN profile of bluetooth
2004-08-30 15:18 blookk -
2004-08-30 15:34 ` Marcel Holtmann
@ 2004-08-30 15:45 ` GUILLON Gabriel
2004-08-30 16:49 ` Marcel Holtmann
1 sibling, 1 reply; 10+ messages in thread
From: GUILLON Gabriel @ 2004-08-30 15:45 UTC (permalink / raw)
To: bluez devel, bluez users
Hi! I newly subscribed to these ML.
I'm a lot interested by BT since I made my last year's projetc on that=20
("BT and the ad hod networks", actually. I'm french, so it's in french.=20
If someone want to read it ;) )
I have a lot of ideas about using BT, but for now I would like to know=20
more about how to use Bluez stack. I'm ready for testing anything you=20
want me to test: I have 2 usb BT dongles (CSR chipset), and Logitech BT=20
mouse and keyboard (yep, on windows)
My only exploit with BT was to make a pda connect to the net throught a=20
BT dongle connect to an Linux box.
It work pretty well :)
blookk - a =E9crit :
>=20
>=20
> Hello
>=20
> I have made a new try and it don't work.
>=20
> after I do all things that you told me, when I execute "ifconfig" the=
=20
> virtual interface Bnep0 don't appears.
>=20
> Why do these things happen?
>=20
> How do you make this connection?
>=20
> Regards
>=20
>=20
>=20
> >From: Marcel Holtmann <marcel@holtmann.org>
> >To: blookk - <blookk@hotmail.com>
> >CC: bluez-devel@lists.sf.net
> >Subject: Re: [Bluez-devel] PAN profile of bluetooth
> >Date: Mon, 30 Aug 2004 13:30:52 +0200
> >
> >Hi,
> >
> > > I want to connect 2 pc using the PAN profile. I do this thing=
s:
> > >
> > > - In server and client:
> > >
> > > insmod rfcomm
> > > insmod l2cap
> > > insmod bnep
> > >
> > > hcid -n &
> > > sdpd -n &
> > > sdptool add LAN
> >
> >there is no "sdptool add", because pand can do this by=20
> itself. And btw
> >you said you wanted PAN and not LAN access using PPP.
> >
> > > - In the server:
> > > The file hcid.conf : lm accept,master;
> > > in the console : pand --listen --role GN
> > >
> > > - In the client:
> > > The file hcid.conf : lm accept,master;
> > > in the console : pand --connect 00:11:22:33:44:55
> >
> >This will never work, because only one can be the master. Don't use=
the
> >hcid.conf for setting the master role. Use --master on the server s=
ide
> >call of pand.
> >
> >Regards
> >
> >Marcel
> >
> >
> >
> >
> >-------------------------------------------------------
> >This SF.Net email is sponsored by BEA Weblogic Workshop
> >FREE Java Enterprise J2EE developer tools!
> >Get your free copy of BEA WebLogic Workshop 8.1 today.
> >http://ads.osdn.com/?ad_id=3D5047&alloc_id=3D10808&op=3Dcli=
ck
> >_______________________________________________
> >Bluez-devel mailing list
> >Bluez-devel@lists.sourceforge.net
> >https://lists.sourceforge.net/lists/listinfo/bluez-devel
>=20
> _________________________________________________________________
> Hor=F3scopo, tarot, numerolog=EDa... Escucha lo que te dicen los astros=
.=20
> http://astrocentro.msn.es/
>=20
>=20
>=20
> -------------------------------------------------------
> This SF.Net email is sponsored by BEA Weblogic Workshop
> FREE Java Enterprise J2EE developer tools!
> Get your free copy of BEA WebLogic Workshop 8.1 today.
> http://ads.osdn.com/?ad_id=3D5047&alloc_id=3D10808&op=3Dclick
> _______________________________________________
> Bluez-devel mailing list
> Bluez-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-devel
>=20
--=20
"May peace prevail on Earth"
Gab
"Un mot aimable est comme un jour de printemps."
- Proverbe russe -
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
* RE: [Bluez-devel] PAN profile of bluetooth
@ 2004-08-30 15:51 Williams, Richard
2004-08-30 15:56 ` Till Harbaum
0 siblings, 1 reply; 10+ messages in thread
From: Williams, Richard @ 2004-08-30 15:51 UTC (permalink / raw)
To: blookk -, bluez-devel
Hello,
Did you make sure the /etc/bluetooth/pan/dev-up file is correct and =
present=20
on both your devices, master and slave ? If this file isn't there, you =
won't=20
get the bnep process started.
Regard,
Rich
-----Original Message-----
From: blookk - [mailto:blookk@hotmail.com]
Sent: Monday, August 30, 2004 11:19 AM
To: bluez-devel@lists.sf.net
Subject: Re: [Bluez-devel] PAN profile of bluetooth
Hello
I have made a new try and it don't work.
after I do all things that you told me, when I execute "ifconfig" the=20
virtual interface Bnep0 don't appears.
Why do these things happen?
How do you make this connection?
Regards
>From: Marcel Holtmann <marcel@holtmann.org>
>To: blookk - <blookk@hotmail.com>
>CC: bluez-devel@lists.sf.net
>Subject: Re: [Bluez-devel] PAN profile of bluetooth
>Date: Mon, 30 Aug 2004 13:30:52 +0200
>
>Hi,
>
> > I want to connect 2 pc using the PAN profile. I do this =
things:
> >
> > - In server and client:
> >
> > insmod rfcomm
> > insmod l2cap
> > insmod bnep
> >
> > hcid -n &
> > sdpd -n &
> > sdptool add LAN
>
>there is no "sdptool add", because pand can do this by =
itself.=20
And btw
>you said you wanted PAN and not LAN access using PPP.
>
> > - In the server:
> > The file hcid.conf : lm accept,master;
> > in the console : pand --listen --role GN
> >
> > - In the client:
> > The file hcid.conf : lm accept,master;
> > in the console : pand --connect 00:11:22:33:44:55
>
>This will never work, because only one can be the master. Don't use =
the
>hcid.conf for setting the master role. Use --master on the server =
side
>call of pand.
>
>Regards
>
>Marcel
>
>
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by BEA Weblogic Workshop
>FREE Java Enterprise J2EE developer tools!
>Get your free copy of BEA WebLogic Workshop 8.1 today.
>http://ads.osdn.com/?ad_id=3D5047&alloc_id=3D10808&op=3Dclick=
>_______________________________________________
>Bluez-devel mailing list
>Bluez-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/bluez-devel
_________________________________________________________________
Hor=F3scopo, tarot, numerolog=EDa... Escucha lo que te dicen los astros. =
http://astrocentro.msn.es/
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=3D5047&alloc_id=3D10808&op=3Dclick
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Bluez-devel] PAN profile of bluetooth
2004-08-30 15:51 [Bluez-devel] PAN profile of bluetooth Williams, Richard
@ 2004-08-30 15:56 ` Till Harbaum
2004-08-30 16:08 ` Marcel Holtmann
0 siblings, 1 reply; 10+ messages in thread
From: Till Harbaum @ 2004-08-30 15:56 UTC (permalink / raw)
To: Williams, Richard, blookk -, bluez-devel
Hi,
On Monday 30 August 2004 17:51, Williams, Richard wrote:
> Did you make sure the /etc/bluetooth/pan/dev-up file is correct and present
> on both your devices, master and slave ? If this file isn't there, you
> won't get the bnep process started.
Are you sure? I never heard of that file, but have successfully been using
bnep without even having a /etc/bluetooth/pan directory on my pc.
Till
--
Dr.-Ing. Till Harbaum Tel.: +49 721 4998963
BeeCon GmbH Fax: +49 721 4998962
Haid-und-Neu Strasse 7, 76131 Karlsruhe Mobil: +49 179 9087904
harbaum@beecon.de http://www.beecon.de
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Bluez-devel] PAN profile of bluetooth
2004-08-30 15:56 ` Till Harbaum
@ 2004-08-30 16:08 ` Marcel Holtmann
0 siblings, 0 replies; 10+ messages in thread
From: Marcel Holtmann @ 2004-08-30 16:08 UTC (permalink / raw)
To: Till Harbaum; +Cc: Williams, Richard, blookk -, bluez-devel
Hi Till,
> > Did you make sure the /etc/bluetooth/pan/dev-up file is correct and present
> > on both your devices, master and slave ? If this file isn't there, you
> > won't get the bnep process started.
> Are you sure? I never heard of that file, but have successfully been using
> bnep without even having a /etc/bluetooth/pan directory on my pc.
this depends on your system. Actually on every new system that uses
hotplug, there is no need for using dev-up. The bnep0 is like every
other network card in your machine and hotplug takes care of it.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Bluez-devel] PAN profile of bluetooth
2004-08-30 15:45 ` GUILLON Gabriel
@ 2004-08-30 16:49 ` Marcel Holtmann
0 siblings, 0 replies; 10+ messages in thread
From: Marcel Holtmann @ 2004-08-30 16:49 UTC (permalink / raw)
To: GUILLON Gabriel; +Cc: bluez devel, bluez users
Hi,
> Hi! I newly subscribed to these ML.
don't attach to a thread with different topic. Create your own.
> I'm a lot interested by BT since I made my last year's projetc on that
> ("BT and the ad hod networks", actually. I'm french, so it's in french.
> If someone want to read it ;) )
> I have a lot of ideas about using BT, but for now I would like to know
> more about how to use Bluez stack. I'm ready for testing anything you
> want me to test: I have 2 usb BT dongles (CSR chipset), and Logitech BT
> mouse and keyboard (yep, on windows)
> My only exploit with BT was to make a pda connect to the net throught a
> BT dongle connect to an Linux box.
Go ahead with your mouse and keyboard. You will find many links for that
on the internet and trying out kernel 2.6.8-mh1 and hidd would be great.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
* RE: [Bluez-devel] PAN profile of bluetooth
@ 2004-09-06 14:59 blookk -
0 siblings, 0 replies; 10+ messages in thread
From: blookk - @ 2004-09-06 14:59 UTC (permalink / raw)
To: Richard.Williams, bluez-devel
Hello Rich
I haven't got the /etc/bluetooth/pan/dev-up file, but I make a ping
192.168.40.1 and it works correctly.
regards
>From: "Williams, Richard"
<Richard.Williams@VITRONICS.com>
>To: "blookk -"
<blookk@hotmail.com>,<bluez-devel@lists.sf.net>
>Subject: RE: [Bluez-devel] PAN profile of bluetooth
>Date: Mon, 30 Aug 2004 11:51:08 -0400
>
>Hello,
>
>Did you make sure the /etc/bluetooth/pan/dev-up file is correct and
present
>on both your devices, master and slave ? If this file isn't there, you
won't
>get the bnep process started.
>
>Regard,
>
>Rich
>
_________________________________________________________________
Acepta el reto MSN Premium: Correos más divertidos con fotos y textos
increíbles en MSN Premium. Descárgalo y pruébalo 2 meses gratis.
http://join.msn.com?XAPID=1697&DI=1055&HL=Footer_mailsenviados_correosmasdivertidos
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2004-09-06 14:59 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-30 15:51 [Bluez-devel] PAN profile of bluetooth Williams, Richard
2004-08-30 15:56 ` Till Harbaum
2004-08-30 16:08 ` Marcel Holtmann
-- strict thread matches above, loose matches on Subject: below --
2004-09-06 14:59 blookk -
2004-08-30 15:18 blookk -
2004-08-30 15:34 ` Marcel Holtmann
2004-08-30 15:45 ` GUILLON Gabriel
2004-08-30 16:49 ` Marcel Holtmann
2004-08-30 11:19 blookk -
2004-08-30 11:30 ` Marcel Holtmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox