Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Bluetooth, Networking Bridging and an iPAQ
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
cgauld
n00b
n00b


Joined: 02 Sep 2006
Posts: 2

PostPosted: Sat Sep 02, 2006 3:38 pm    Post subject: Bluetooth, Networking Bridging and an iPAQ Reply with quote

Hi,

I'm looking to be able to access a lan from my bluetooth enabled iPAQ 3870 (running Pocket PC 2002 and Bluetooth Security Manager 1.1) by bridging my ethernet card with a pand created network device. I have installed the bluetooth stack and all the kernel modules required. sdpd is running and pand is running like this:
pand --listen --role NAP

On the iPAQ I can discover the computer and pair with it but it doesn't find any services on the computer (I'm expecting to see Connect to Network Access here). I have tried the following command with no effect:
sdptool add NAP
To confirm that the sdp protocol was working i performed this:
sdptool add DUN
and the Connect to Bluetooth Modem service appeared in the list.

Also the pand daemon hadn't created any network device yet but I believe that that will happen when the connection is made by the iPAQ.
Can anyone help me with this? (also note that with the same hardware but with Windows XP running on the computer I was able to do this successfully).

Regards,
Connell
Back to top
View user's profile Send private message
thesnowman
Guru
Guru


Joined: 08 May 2003
Posts: 365
Location: Sydney, Australia

PostPosted: Sat Sep 02, 2006 3:50 pm    Post subject: Reply with quote

Try my howto and let me know how you get on:
https://forums.gentoo.org/viewtopic-t-419301.html
Back to top
View user's profile Send private message
cgauld
n00b
n00b


Joined: 02 Sep 2006
Posts: 2

PostPosted: Wed Sep 06, 2006 6:24 pm    Post subject: Reply with quote

Hi,

Thanks for your reply,

I followed the instructions but it still doesn't work. When it says that the PDA should be able to "see" the access point, well, mine does not. It can see the computer, but not that the computer provides the network access service. Also, I have been able to get obex file transfers working so bluetooth itself seems to be working ok.

Running this:
sdptool browse local
gives:

Browsing FF:FF:FF:00:00:00 ...
Service Name: Network Access Point
Service RecHandle: 0x10000
Service Class ID List:
"Network Access Point" (0x1116)
Protocol Descriptor List:
"L2CAP" (0x0100)
PSM: 15
"BNEP" (0x000f)
Version: 0x0100
SEQ16: 800 806
Profile Descriptor List:
"Network Access Point" (0x1116)
Version: 0x0100

So it looks like SDP is working OK but for some reason the iPAQ needs more info before it will list the Network Access option.

Regards,
Connell
Back to top
View user's profile Send private message
toutankh
n00b
n00b


Joined: 28 Oct 2003
Posts: 11

PostPosted: Fri Jan 05, 2007 7:22 pm    Post subject: Reply with quote

Same problem here, with same outputs; did you find a solution ?

Both my macbook pro and my pda don't find any service. Here is my /etc/conf.d/bluetooth, in case it helps:

Code:

# Bluetooth configuraton file

# Start of hcid (allowed values are "true" and "false")
HCID_ENABLE=true

# Config file for hcid
HCID_CONFIG="/etc/bluetooth/hcid.conf"

# Start sdpd (allowed values are "true" and "false")
SDPD_ENABLE=true

# Start hidd (allowed values are "true" and "false")
HIDD_ENABLE=false

# Arguments to hidd
HIDD_OPTIONS=""

# Run hid2hci (allowed values are "true" and "false")
HID2HCI_ENABLE=false

# Bind rfcomm devices (allowed values are "true" and "false")
#RFCOMM_ENABLE=true
RFCOMM_ENABLE=false

# Config file for rfcomm
RFCOMM_CONFIG="/etc/bluetooth/rfcomm.conf"

# Start dund (allowed values are "true" and "false")
# If you want to use dund, you must install: net-dialup/ppp .
DUND_ENABLE=false

# Arguments to dund
DUND_OPTIONS="--listen --persist"

# Start pand (allowed values are "true" and "false")
PAND_ENABLE=true

# Arguments to pand
PAND_OPTIONS="--listen --role NAP"
Back to top
View user's profile Send private message
wierzba
n00b
n00b


Joined: 24 Feb 2006
Posts: 58
Location: Warsaw, Poland

PostPosted: Sun May 18, 2008 9:55 am    Post subject: Reply with quote

Hi,

First. I try recognize what is what :P

Bluetooth NAP server -> Gentoo
Bluetooth NAP client -> device, which want to connect to the NET

Server:
/etc/init.d/bluetooth start
(if there are any errors, please write... I think not so I jump to the next step)

So, we here. Everything start fine. If we only want to connect one device to server there is no reason to configure bridge. Here what you need to do.
Server side
pand --listen --role NAP --master --autozap
ifconfig [interface name] [ip address] [mask]
Client side
pand --connect [MAC address server bluetooth device] --service NAP --autozap
or connect to the bluetooth server (you must on device have the same network and ip address to that network)

When we want to have more than one device connect to our NAP server, it's a good idea to make a bridge.
Good howto is here
WARNING : I think there is a mistake there, don't add eth0 (or ethernet interface) to the bridge (just add only bluetooth interface which pand create.

Please write me if it works, if it doesn't please specify more. I try help you :)
_________________
Close the world, open the next

// HP Compaq nx6325 AMD Sempron 3500+, 1G , 60 GB HD
Gentoo Hardened 2.6.23
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum