Announcement

Collapse
No announcement yet.

Announcement

Collapse
No announcement yet.

Bluetooth tethering

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Bluetooth tethering

    I'm trying to get my Pipo M8HD tablet (RR 1.3) to access the internet via my phone. I'm currently typing this on a laptop tether to the phone so I know all is well and that it should work.

    I have turned on Bluetooth, paired with my phone and then ticked the box "Internet Access".

    All appears okay on both the phone and the tablet. The phone is showing 2 connections (Pipo + Laptop) and the Pipo has a Blue Icon in the top right hand notification area.

    For all this I can't get any internet access on the Pipo.

    Anything obvious I'm missing?
    Measy U4B (=Tronsmart T428) used by my kids!
    Onda v975m - M802 - Bought from Banggood.com
    Pipo M8HD 3G - RK3188 - don't buy from pipo-store
    Tronsmart S89 Vega -S802 (sponsored by Geekbuying)
    CX921b -RK3188T (sponsored by AndroidTV)
    Cube U30GT2 - RK3188 (part sponsored by Geekbuying)
    RKM MK902 - RK3188 (sponsored by RKM)



    Donate to Finless

    #2
    Originally posted by darrellr View Post
    I'm trying to get my Pipo M8HD tablet (RR 1.3) to access the internet via my phone. I'm currently typing this on a laptop tether to the phone so I know all is well and that it should work.

    I have turned on Bluetooth, paired with my phone and then ticked the box "Internet Access".

    All appears okay on both the phone and the tablet. The phone is showing 2 connections (Pipo + Laptop) and the Pipo has a Blue Icon in the top right hand notification area.

    For all this I can't get any internet access on the Pipo.

    Anything obvious I'm missing?
    I have got the same problem

    here log with adb

    Code:
    I/BluetoothConnectionReceiver( 3370): onReceive(context, Intent { act=android.bluetooth.device.action.ACL_CONNECTED flg=0x8000010 cmp=com.google.android.googlequicksearchbox/com.google.android.search.core.service.BluetoothConnectionReceiver (has extras) }, 34:50:C3:65:D2:4C)
    
    D/        ( 1122): bta_pan_co_open:app_id:0, local_role:1, peer_role:4, handle:1
    
    D/        ( 1122): bta_pan_co_open:tap_fd:-1, open_count:0, conn->handle:1 should = handle:1, local_role:1, remote_role:4
    
    D/BTIF_PAN( 1122): btif_pan: btpan_tap_open(L403): in
    
    D/BTIF_PAN( 1122): btif_pan: tap_if_up(L348): found mac address for interface:bt-pan = 8a:37:09:09:75:a1
    
    D/BTIF_PAN( 1122): btif_pan: tap_if_up(L353): setting bt address for interface:bt-pan = 45:25:73:48:b1:85
    
    E/BTIF_PAN( 1122): btif_pan: ## ERROR : tap_if_up(L358): Could not set bt address for interface:bt-pan, errno:Cannot assign requested address##
    
    E/BTIF_PAN( 1122): btif_pan: ## ERROR : btpan_tap_open(L434): can not bring up tap interface:bt-pan##
    I have resolved this by changing the MAC adress in a file

    This address is set by boot.img in file init.rk30board.rc

    # permissions for bluetooth.
    mkdir /data/misc/bluetoothd 0775 bluetooth bluetooth
    setprop ro.bt.bdaddr_path "/data/misc/bluetoothd/bt_addr"
    chown bluetooth bluetooth ro.bt.bdaddr_path

    So I change this address in the file /data/misc/bluetoothd/bt_addr

    From 45:25:73:48:b1:85 to 00:25:73:48:b1:85 : and for me it's OK

    Comment


      #3
      Originally posted by stevejc View Post
      I have got the same problem

      .....

      I have resolved this by changing the MAC adress in a file

      This address is set by boot.img in file init.rk30board.rc

      # permissions for bluetooth.
      mkdir /data/misc/bluetoothd 0775 bluetooth bluetooth
      setprop ro.bt.bdaddr_path "/data/misc/bluetoothd/bt_addr"
      chown bluetooth bluetooth ro.bt.bdaddr_path

      So I change this address in the file /data/misc/bluetoothd/bt_addr

      From 45:25:73:48:b1:85 to 00:25:73:48:b1:85 : and for me it's OK
      Ok. My Address was set to 0D:xx:xx:xx:xx:xx in the file. I'm trying 00:xx etc but can't seem to persuade ES3 Explorer to edit. I've got root explorer on and / set to R/W but it still won't play

      I checked the code (Git Hub) and I can see the problem is created by trying to assign the MAC address in "ioctl(sk, SIOCSIFHWADDR,(caddr_t)&ifr)" but I can't see why without debug on.
      Measy U4B (=Tronsmart T428) used by my kids!
      Onda v975m - M802 - Bought from Banggood.com
      Pipo M8HD 3G - RK3188 - don't buy from pipo-store
      Tronsmart S89 Vega -S802 (sponsored by Geekbuying)
      CX921b -RK3188T (sponsored by AndroidTV)
      Cube U30GT2 - RK3188 (part sponsored by Geekbuying)
      RKM MK902 - RK3188 (sponsored by RKM)



      Donate to Finless

      Comment


        #4
        Originally posted by darrellr View Post
        Ok. My Address was set to 0D:xx:xx:xx:xx:xx in the file. I'm trying 00:xx etc but can't seem to persuade ES3 Explorer to edit. I've got root explorer on and / set to R/W but it still won't play

        I checked the code (Git Hub) and I can see the problem is created by trying to assign the MAC address in "ioctl(sk, SIOCSIFHWADDR,(caddr_t)&ifr)" but I can't see why without debug on.
        Strange i used es explorer or Root explorer without any problem

        Comment


          #5
          I changed to 00:xx:xx:xx:xx:xx but still no internet.



          If you delete bt_addr then one gets auto-generated and it STILL doesn't work

          Measy U4B (=Tronsmart T428) used by my kids!
          Onda v975m - M802 - Bought from Banggood.com
          Pipo M8HD 3G - RK3188 - don't buy from pipo-store
          Tronsmart S89 Vega -S802 (sponsored by Geekbuying)
          CX921b -RK3188T (sponsored by AndroidTV)
          Cube U30GT2 - RK3188 (part sponsored by Geekbuying)
          RKM MK902 - RK3188 (sponsored by RKM)



          Donate to Finless

          Comment


            #6
            Originally posted by darrellr View Post
            I changed to 00:xx:xx:xx:xx:xx but still no internet.



            If you delete bt_addr then one gets auto-generated and it STILL doesn't work

            Can you make an adb logcat to see if it is the same problem?

            Comment


              #7
              Originally posted by stevejc View Post
              Can you make an adb logcat to see if it is the same problem?
              I can't install stuff on this laptop (works), so it'll have to wait until the weekend. Unless there is a way to get diagnostics directly on the tablet?
              Measy U4B (=Tronsmart T428) used by my kids!
              Onda v975m - M802 - Bought from Banggood.com
              Pipo M8HD 3G - RK3188 - don't buy from pipo-store
              Tronsmart S89 Vega -S802 (sponsored by Geekbuying)
              CX921b -RK3188T (sponsored by AndroidTV)
              Cube U30GT2 - RK3188 (part sponsored by Geekbuying)
              RKM MK902 - RK3188 (sponsored by RKM)



              Donate to Finless

              Comment


                #8
                I use this: https://play.google.com/store/apps/d...d=com.bluexvpn to get internet on my tablet via bluetooth tethering.
                It works, but I need to load tun.ko module at every boot: https://play.google.com/store/apps/d....tun.installer

                Comment


                  #9
                  Originally posted by TriA View Post
                  I use this: https://play.google.com/store/apps/d...d=com.bluexvpn to get internet on my tablet via bluetooth tethering.
                  It works, but I need to load tun.ko module at every boot: https://play.google.com/store/apps/d....tun.installer

                  Eh ! Yes good point

                  I totally forget this point because I always add this in my ROM.

                  The ROM M8HD 1.3 by Riley, add the tun module but there are not loaded in the boot img !

                  So you need a init.d file to load them at boot like I said here in the finless rom for M9 Pro

                  Sorry Darrellr !

                  Comment


                    #10
                    Now this is strange. I just tried to insmod and it already exists!

                    Lsmod confirms tun loaded

                    Install blue VPN and .... Nothing aaaarrrrggghh

                    Sent from my M8HD using Tapatalk
                    Measy U4B (=Tronsmart T428) used by my kids!
                    Onda v975m - M802 - Bought from Banggood.com
                    Pipo M8HD 3G - RK3188 - don't buy from pipo-store
                    Tronsmart S89 Vega -S802 (sponsored by Geekbuying)
                    CX921b -RK3188T (sponsored by AndroidTV)
                    Cube U30GT2 - RK3188 (part sponsored by Geekbuying)
                    RKM MK902 - RK3188 (sponsored by RKM)



                    Donate to Finless

                    Comment


                      #11
                      Maybe we need to find a different tun.ko file. It worked in earlier ROMs.

                      Sent from my SAMSUNG-SGH-I537 using Tapatalk
                      Randy
                      Freaktab Developer, Product Reviewer, Moderator and "Flashaholic".
                      Read my BIO Here
                      Be sure to donate to support Freaktab.com. If any of my development work makes a positive difference for you, please make a donation to support future RileyROM's.
                      Donate here

                      Comment


                        #12
                        Originally posted by rrileypm View Post
                        Maybe we need to find a different tun.ko file. It worked in earlier ROMs.

                        Sent from my SAMSUNG-SGH-I537 using Tapatalk
                        I'm using your last one on M8HD v1.3 and it's working well

                        just load also the file tcp_veno.ko , don't know if it really matters !

                        Comment

                        Working...
                        X