Sunday, November 11, 2012

[android-developers] bluetooth PAN issue

Hi All ,


I am trying to setup the bluetoooth PAN on my devlopment board( Client PANU).  Master is running on a Ubuntu PC 12.04 .
Master is working fine as i am able to access interbet on another ubuntu PC .

But on my android development board i am not able to start a connection, i have done the below steps :

On my android board :

W/ProcessStats( 1665): Skipping unknown process pid 2239
W/ThrottleService( 1665): unable to find stats for iface rmnet0
I/pand    ( 2254): Bluetooth PAN daemon version 4.93
I/pand    ( 2254): Connecting to 74:E5:43:51:8C:E6
I/pand    ( 2254): bnep0 connected

root@android:/ # pand -l
bnep0 E6:8C:51:43:E5:74 PANU

method 1:
Static IP setting :
ifconfig bnep0 172.22.22.10 netmask 255.255.255.0
route add default gw 172.22.22.1 dev bnep0
setprop net.dns1 198.95.1.1


130|root@android:/ # netcfg
lo       UP                            
       127.0.0.1/8   0x00000049 00:00:00:00:00:00
sit0     DOWN                                   0.0.0.0/0   0x00000080 00:00:00:00:00:00
ip6tnl0  DOWN                                   0.0.0.0/0   0x00000080 00:00:00:00:00:00
bnep0    UP                                172.22.22.10/24  0x00001043 00:02:72:bc:01:47

Method2 :
I also tried the dhcp :

1|root@android:/ # dhcpcd -d bnep0                                            
dhcpcd[2346]: version 5.2.10 starting
dhcpcd[2346]: bnep0: using hwaddr 00:02:72:bc:01:47
dhcpcd[2346]: bnep0: executing `/system/etc/dhcpcd/dhcpcd-run-hooks', reason PREINIT
dhcpcd[2346]: bnep0: executing `/system/etc/dhcpcd/dhcpcd-run-hooks', reason CARRIER
dhcpcd[2346]: host does not support a monotonic clock - timing can skew
dhcpcd[2346]: bnep0: reading lease `/data/misc/dhcp/dhcpcd-bnep0.lease'
dhcpcd[2346]: bnep0: checking for 169.254.159.45
dhcpcd[2346]: bnep0: sending ARP probe (1 of 3), next in 1.11 seconds
dhcpcd[2346]: bnep0: sending ARP probe (2 of 3), next in 1.81 seconds
dhcpcd[2346]: bnep0: sending ARP probe (3 of 3), next in 2.00 seconds
dhcpcd[2346]: bnep0: using IPv4LL address 169.254.159.45
dhcpcd[2346]: bnep0: adding IP address 169.254.159.45/16
dhcpcd[2346]: bnep0: adding route to 169.254.0.0/16
dhcpcd[2346]: bnep0: writing lease `/data/misc/dhcp/dhcpcd-bnep0.lease'
dhcpcd[2346]: bnep0: executing `/system/etc/dhcpcd/dhcpcd-run-hooks', reason IPV4LL
dhcpcd[2346]: forking to background
dhcpcd[2346]: forked to background, child pid 2370


=====
None of them works for me:  i can not ping my master form android client.
am i missing any other step ?
Please give me soem pointers ?

thanks
Robin Singh

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate