Linux bluetooth development
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ Mailing List <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] USING PAN: PANU(desktop1) ->NAP(desktop2)->internet
Date: Thu, 03 Feb 2005 18:21:30 +0100	[thread overview]
Message-ID: <1107451291.11944.96.camel@pegasus> (raw)
In-Reply-To: <20050203171303.65603.qmail@web26405.mail.ukl.yahoo.com>

Hi,

> I read Howto about PAN and I did :
> for the NAP:
> # pand --listen --role NAP
> 
> for the PANU:
> # pand --nodetach --role PANU --search --service NAP
> 
> pand[31712]: Bluetooth PAN daemon version 2.15
> pand[31712]: Inquiring
> pand[31712]: Searching for NAP on 00:02:C7:15:11:04 
> "it's my NAP"
> 
> config of the NAP
> # hciconfig -a
> hci0:   Type: USB
>         BD Address: 00:02:C7:15:11:04 ACL MTU: 192:8
> SCO MTU: 64:8
>         UP RUNNING PSCAN ISCAN
>         RX bytes:28224 acl:459 sco:0 events:652
> errors:0
>         TX bytes:20479 acl:357 sco:0 commands:141
> errors:0
>         Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00
> 0x00
>         Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2
> HV3
>         Link policy: RSWITCH HOLD SNIFF PARK
>         Link mode: ACCEPT MASTER
>         Name: 'imad'
>         Class: 0x3e0100
>         Service Classes: Networking, Rendering,
> Capturing
>         Device Class: Computer, Uncategorized
>         HCI Ver: 1.1 (0x1) HCI Rev: 0x33c LMP Ver: 1.1
> (0x1) LMP Subver: 0x33c
>         Manufacturer: Cambridge Silicon Radio (10)
> 
> 
> config of the PANU
> # hciconfig -a
> hci0:   Type: USB
>         BD Address: 00:0B:0D:33:43:A5 ACL MTU: 120:20
> SCO MTU: 64:0
>         UP RUNNING PSCAN ISCAN
>         RX bytes:14593 acl:192 sco:0 events:330
> errors:0
>         TX bytes:17841 acl:262 sco:0 commands:44
> errors:0
>         Features: 0xff 0xff 0x05 0x38 0x18 0x18 0x00
> 0x00
>         Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2
> HV3
>         Link policy: RSWITCH HOLD SNIFF PARK
>         Link mode: SLAVE ACCEPT
>         Name: 'thomas'
>         Class: 0x3e0100
>         Service Classes: Networking, Rendering,
> Capturing
>         Device Class: Computer, Uncategorized
>         HCI Ver: 1.2 (0x2) HCI Rev: 0x0 LMP Ver: 1.2
> (0x2) LMP Subver:
> 0x757
>         Manufacturer: Silicon Wave (11)
> 
> 
> but MY PANU doesn't find the NAP service over my
> NAP???
> wath's the probleme can you help me?

then check with sdptool what is running on your NAP machine.

> and ohter thing wath that mean "nat" and
> "masquerading"
> I find that in http://quozl.netrek.org/bluetooth/

Basic network technologies. This is nothing Bluetooth specific. Teach
yourself about, because there are a lot of information resources
available.

> after making bnep interface between my tow dongle i
> have to write :
> iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE 
> echo 1 > /proc/sys/net/ipv4/ip_forward
> 
> what does it mean?

Check the manual page of iptables and then Netfilter project.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

  reply	other threads:[~2005-02-03 17:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-03 15:53 [Bluez-users] USING PAN: PANU(desktop1) ->NAP(desktop2)->internet benbouzid imad
2005-02-03 16:43 ` Marcel Holtmann
2005-02-03 17:13   ` benbouzid imad
2005-02-03 17:21     ` Marcel Holtmann [this message]
2005-02-03 18:23       ` benbouzid imad
2005-02-03 18:44         ` 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=1107451291.11944.96.camel@pegasus \
    --to=marcel@holtmann.org \
    --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