Network access over bluetooth: anyone succeeded?
Donatas G.
dgvirtual at akl.lt
Thu Nov 16 22:43:31 UTC 2006
Hi, has anyone succeeded in setting up a network over bluetooth connection
following the http://bluez.sourceforge.net/contrib/HOWTO-PAN document?
I have followed the guide in up to the point where it says „it should be
possible that the nodes ping each other“ - and in this I fail.
I receive messages like
dg at pieva:~$ ping 10.0.0.2
PING 10.0.0.2 (10.0.0.2) 56(84) bytes of data.
From 10.0.0.1 icmp_seq=1 Destination Host Unreachable
From 10.0.0.1 icmp_seq=2 Destination Host Unreachable
From 10.0.0.1 icmp_seq=3 Destination Host Unreachable
on both the NAP and the PANU side. Ifconfig produces this on the NAP side:
dg at pieva:~$ ifconfig
bnep0 Link encap:Ethernet HWaddr 00:02:72:CE:6A:0A
inet addr:10.0.0.1 Bcast:10.255.255.255 Mask:255.0.0.0
inet6 addr: fe80::202:72ff:fece:6a0a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:18 errors:0 dropped:0 overruns:0 frame:0
TX packets:109 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1314 (1.2 KiB) TX bytes:9019 (8.8 KiB)
And this on the PANU side:
dg at bala:~$ ifconfig
bnep0 Link encap:Ethernet HWaddr 11:11:11:11:11:11
inet addr:10.0.0.2 Bcast:10.255.255.255 Mask:255.0.0.0
inet6 addr: fe80::1311:11ff:fe11:1111/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:104 errors:0 dropped:0 overruns:0 frame:0
TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:9043 (8.8 KiB) TX bytes:1294 (1.2 KiB)
The devices do have connection established:
NAP side:
dg at pieva:~$ pand --show
bnep0 11:11:11:11:11:11 NAP
PANU side:
dg at pieva:~$ pand --show
bnep0 00:02:72:CE:6A:0A PANU
command on the PANU side
sdptool browse 00:02:72:CE:6A:0A
shows a network access point service on the NAP computer.
And I have uninstalled the firewall to prevent it from interfering.
What is it that is wrong?
$ tail /var/log/messages
gives no interesting imput....
relevant configuration on the NAP side:
/etc/default/bluez-utils (it is still dapper)
PAND_ENABLED=1
PAND_OPTIONS="--listen --role NAP"
/etc/bluetooth/hcid.conf
lm accept, master;
Relevant config on the PANU side:
/etc/default/bluetooth (that is edgy)
PAND_ENABLED=1
PAND_OPTIONS="--role PANU --connect 00:02:72:CE:6A:0A"
--
Donatas Glodenis
http://dg.lapas.info
More information about the kubuntu-users
mailing list