Skip to contentSkip to conversation

Trouble Connecting to NAP on Linux

DISCUSSION Paul Waldo 1 participant 2 messages Jul 29, 2008 – Jul 31, 2008 1 message not in the archive Bluetooth drivers

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Paul Waldo

author
#1 lore raw

Hi all,

I'm new to bluetooth, and got in over my head. I have a Windows box that is acting as a Network Access Point as well as a PAN Server. I have a laptop that I want to connect to the access point via bluetooth so it can access the Internet. The laptop can connect to the NAP and the GN just fine when running Windows, but when the laptop is running linux, I get errors. It can connect to the GN, but not the NAP:

************Start transcript***************************

root@paul-laptop:~# pand --killall
root@paul-laptop:~# pand --connect 11:11:11:11:11:11 --service GN -n
pand[17097]: Bluetooth PAN daemon version 3.26
pand[17097]: Connecting to 11:11:11:11:11:11
pand[17097]: bnep0 connected
root@paul-laptop:~# pand --killall
root@paul-laptop:~# pand --connect 11:11:11:11:11:11 --service NAP -n
pand[17123]: Bluetooth PAN daemon version 3.26
pand[17123]: Connecting to 11:11:11:11:11:11
pand[17123]: Connect to 11:11:11:11:11:11 failed. Protocol error(71)

[turn off GN service on server]

root@paul-laptop:~# pand --connect 11:11:11:11:11:11 --service NAP -n
pand[17797]: Bluetooth PAN daemon version 3.26
pand[17797]: Connecting to 11:11:11:11:11:11
pand[17797]: Connect to 11:11:11:11:11:11 failed. Connection refused(111)
************End transcript*************************** 

Here are the specifics of the Machines:
SERVER
Windows XP
BlueSoleil 1.6.1.4
All security turned off

CLIENT
Linux (Kubuntu 8.04 Hardy, AMD64)
bluez 3.26

I've googled everything I can think of. Any help would be greatly appreciated. Thanks in advance!

Paul

author
#2 lore raw

Hi all,

Apparently no takers :-( If there is any more information that would be helpful, I'd be happy to provide it. Unfortunately, I am unaware of any tools that will help me debug this problem. I tried "strace" on the pand command, but it didn't yield anything useful. Any tips on debugging the connection?

If I am inquiring in the wrong forum, I welcome suggestions on a better one. Thanks in advance!

Paul

----- "Paul Waldo" wrote:
Hi all,

I'm new to bluetooth, and got in over my head. I have a Windows box that is acting as a Network Access Point as well as a PAN Server. I have a laptop that I want to connect to the access point via bluetooth so it can access the Internet. The laptop can connect to the NAP and the GN just fine when running Windows, but when the laptop is running linux, I get errors. It can connect to the GN, but not the NAP:

************Start transcript***************************

root@paul-laptop:~# pand --killall 
root@paul-laptop:~# pand --connect 11:11:11:11:11:11 --service GN -n 
pand[17097]: Bluetooth PAN daemon version 3.26 
pand[17097]: Connecting to 11:11:11:11:11:11 
pand[17097]: bnep0 connected 
root@paul-laptop:~# pand --killall 
root@paul-laptop:~# pand --connect 11:11:11:11:11:11 --service NAP -n 
pand[17123]: Bluetooth PAN daemon version 3.26 
pand[17123]: Connecting to 11:11:11:11:11:11 
pand[17123]: Connect to 11:11:11:11:11:11 failed. Protocol error(71) 

[turn off GN service on server]

root@paul-laptop:~# pand --connect 11:11:11:11:11:11 --service NAP -n 
pand[17797]: Bluetooth PAN daemon version 3.26 
pand[17797]: Connecting to 11:11:11:11:11:11 
pand[17797]: Connect to 11:11:11:11:11:11 failed. Connection refused(111) 
************End transcript*************************** 

Here are the specifics of the Machines:
SERVER
Windows XP
BlueSoleil 1.6.1.4
All security turned off

CLIENT
Linux (Kubuntu 8.04 Hardy, AMD64)
bluez 3.26

I've googled everything I can think of. Any help would be greatly appreciated. Thanks in advance!

Paul