Did you happen to add bnep iface into the list of up-stremable interfaces ?
Can you be more precise in terms of NAP and PANU roles instead of
master/slave ?
I suppose from mail above you are trying PANU from Android and NAP is your
ubuntu PC.

Generally if the Android Settings Menu shows that the remote PC has
internet connection and attempts to connect to NAP role, Ubuntu PC will pop
up a message asking "Is it ok to share PC's internet connection".
Look into settings inside config.xml at
[device/ti/blaze.git]<http://git.omapzoom.org/?p=device/ti/blaze.git;a=tree;hb=refs/heads/d-jb-mr0-release>
 / 
overlay<http://git.omapzoom.org/?p=device/ti/blaze.git;a=tree;f=overlay;hb=refs/heads/d-jb-mr0-release>
 / 
frameworks<http://git.omapzoom.org/?p=device/ti/blaze.git;a=tree;f=overlay/frameworks;hb=refs/heads/d-jb-mr0-release>
 / 
base<http://git.omapzoom.org/?p=device/ti/blaze.git;a=tree;f=overlay/frameworks/base;hb=refs/heads/d-jb-mr0-release>
 / 
core<http://git.omapzoom.org/?p=device/ti/blaze.git;a=tree;f=overlay/frameworks/base/core;hb=refs/heads/d-jb-mr0-release>
 / 
res<http://git.omapzoom.org/?p=device/ti/blaze.git;a=tree;f=overlay/frameworks/base/core/res;hb=refs/heads/d-jb-mr0-release>
 / 
res<http://git.omapzoom.org/?p=device/ti/blaze.git;a=tree;f=overlay/frameworks/base/core/res/res;hb=refs/heads/d-jb-mr0-release>
 / 
values<http://git.omapzoom.org/?p=device/ti/blaze.git;a=tree;f=overlay/frameworks/base/core/res/res/values;hb=refs/heads/d-jb-mr0-release>
/
config.xml


On Mon, Nov 12, 2012 at 12:59 AM, Robin Gujjar <robin.guj...@gmail.com>wrote:

> 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
>
>
>
>
>  --
> unsubscribe: android-porting+unsubscr...@googlegroups.com
> website: http://groups.google.com/group/android-porting
>



-- 
--Pavan Savoy

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to