Bluetooth tethering to other android phone - no internet - ONE Q&A, Help & Troubleshooting

Hi guys!
I have an issue with bluetooth tethering between two android phones:
A-Oneplus One cm12.1 latest nightly
B-Xperia SP cm11 latest stable release
Bluetooth tethering is activated on A, and paired up with B. Then I activate the "use internet access" option on the bluetooth pairing settings. Then when I try to access the internet on B, I get a "could not find server" error. It is not a dns issue as the problem is the same when using ip addresses.
I tried to isolate the faulty phone with two scenarios:
I connected a friend's phone running kitkat to A: internet worked fine, which led me thinking that A was sharing its connection correctly and thus B was at fault. But then I connected B to my friend's phone in bluetooth tethering mode: internet worked fine, so B can receive bluetooth tethering internet correctly...
Could it be that lollipop phones have trouble sharing bluetooth internet to kitkat phones? Seems a bit fishy to me...
Is there a command line tool (like pand on old cyanogen phones) to manually configure A or B?
Any ideas? Thank you!

Update:
I ran a netfcg on B: it showed that bt-pan didnt have any Ip address assigned.
So i did
netcfg bt-pan dhcp
ip route add default via 192.168.44.1 (A's ip address).
Now i can ping any internet IP, but I cannot ping web addresses. How do I set the correct dns in this case?
Thanks!

This post solved my problem.
forum.xda-developers.com/showthread.php?t=2043744&page=18

Related

Wifi On but IE dosn't work

I have 2 questions:
1. Internet over wifi doesn't work. I think wifi is working fine, becouse conmanager easiliy find my home AP and conect to AP.
But IE dosn't working at all over wifi,and over usb(activsync) IE working fine. Any solution??
2. Can i use activesync over wifi or join to my local network over wifi?
I have Qtek 8310
ROM: Greek WM6 ROM v5 by NiTroGen
OS: WM6 5.2.1616.18120 - Radio: 02.61.01 - SPL: 2.00.0014
budy wi-fi connection has some issues, that it gets connected with pc, or ppc, coz the connection settings are stored in router.. but as the connection remains down so IE wont work atall..and on wi-fi router u cant guess net connection is working or not.. check with ur net connection..
malhaar said:
.. check with ur net connection..
Click to expand...
Click to collapse
i think i don't understand u...
i can connect my laptop on my AP,
solution is maybe in aplicatio "Tornado Wi-Fi Settings "
siouxNS,
I had similar problem on XDA IQ. WIFI was connected to the AP, but IE was stuck in 'locating', and after some time (about 1 minute) error message appeared. I noticed, that when pinging my phone IP from laptop (also in my home network) few pings were ok (just after wifi connected to the AP), and rest of them timeouted. Sometimes, but very rarely, all ping responses were ok (I used ping -t on windows).
So, what I did to get wifi connection working:
1. started IE, when wifi is off
2. started wifi
3. shortly after wifi connected to my AP, I opened some internet page in IE (try to use one, that is not cached) - and it worked
And this works for me every time now.
Few more things:
- check that IE uses the same connection, to which wifi is assigned.
- you can use WLAN IP manager to manually set your IP, gateway and DNS servers
- my system is: windows mobile 6, OS 5.2.318, build 15341.0.0.1
hey guys,
I have the same problem. just flashed the new v3.6, can connect to the router, can even ping the mobile from my laptop via wlan, but still get the no connection error - from IE and opera.
what can I do?
EDIT:
finally got it. just had to change the type of internet from 'private/work' to 'internet'. thats it. stupid comment about vpn under it confused me...
fikol5 said:
siouxNS,
I had similar problem on XDA IQ. WIFI was connected to the AP, but IE was stuck in 'locating', and after some time (about 1 minute) error message appeared. I noticed, that when pinging my phone IP from laptop (also in my home network) few pings were ok (just after wifi connected to the AP), and rest of them timeouted. Sometimes, but very rarely, all ping responses were ok (I used ping -t on windows).
So, what I did to get wifi connection working:
1. started IE, when wifi is off
2. started wifi
3. shortly after wifi connected to my AP, I opened some internet page in IE (try to use one, that is not cached) - and it worked
And this works for me every time now.
I will try that
Few more things:
- check that IE uses the same connection, to which wifi is assigned.
its ok
- you can use WLAN IP manager to manually set your IP, gateway and DNS servers
Click to expand...
Click to collapse
whatkind manager u use? i use "tornado WI-FI settings"
on home network i use static IP's
adsl router, 192.168.1.1 (gateway)
wirelles AP 192.168.1.252
phone is connecting with 192.168.1.5 ,
can i use DHCP and DNS?
one more thing, when i go in some caffe with hotspot i don't have any problems with connecting and surfing.

how to connect my phone to laptop via wifi to surf internet?

hi greetings to all. I am new in this foum. I have bought a new smartphone and it brought me to this forum for support.
I have htc s710 with wm 6. Is is possible to access internet on the phone by connecting it to the laptop through wi-fi in adhoc mode? I tried connecting it, and connection was established, I was as well able to ping the phone from my laptop but i was unable to use internet. I want to use laptop as a wireless router.
in the laptop i have ethernet connection which brings internet to my home, and i have enabled ics in that. the wi-fi card has been assignd ip address 192.168.0.1, and mobile has ip assigned 192.168.0.2.
is it possible in this way?
If your notebook has a bluetooth module built in, establish a BT ActiveSync connection and your S710 will then use the computer's internet access automatically.
i dont hava BT in my laptop. I just have a external orinoco gold wi-fi card.
is it possible through that.
I've never tested it cause I use a WAP router. ICS worked crappy when I tried it.
Did you try using DHCP instead of setting a fixed IP on your S710? ICS offers DHCP services and IIRC depends on it. Also remember that you normally can't set a DNS server on WinMo. Does ICS offer its services on all network cards or don't you have to activate the card you want ICS to serve on in its settings?
Thanks for the response. I have not tried DHCP, let me see today if it works that way.
Hi, I searched this concern before cause I wanted to use wifi too in the office. I'm not sure where the thread that I read had been sucessfull but it did gave me the idea to set mine and get it working.
Basically I have LAN connection in the office, connected to my Dell Latitdue d600 and created ad hoc connection to my HTC Touch.
I opened network connections, and right click my lan connection, advance tab, and enable internet sharing using wireless connection, thats the only thing i did, after establishing the adhoc connection, IP address in Pc is the same, 192.168.0.1 and subnet mask is 255.255.255.0 hope you get it working. I dont have a smartphone to test it myself
Hi piper. my problem is fixed now. i connected the phone to the laptop at adhoc mode, applied static ip. then ran network setup wizard. after the setup was complete i changed the ip setings of the phone. i set the phone to acquire ip form dhcp server.
neesad said:
Hi piper. my problem is fixed now. i connected the phone to the laptop at adhoc mode, applied static ip. then ran network setup wizard. after the setup was complete i changed the ip setings of the phone. i set the phone to acquire ip form dhcp server.
Click to expand...
Click to collapse
Oh nice to hear, I'll keep that in mind when my friend ask me how to do it with his Smartphone
neesad said:
i set the phone to acquire ip form dhcp server.
Click to expand...
Click to collapse
Can you explain how?Does it works on vista?Tanks for replying
ueghio said:
Can you explain how?Does it works on vista?Tanks for replying
Click to expand...
Click to collapse
Well I have tried that on my windows xp machine. However, when you enable ICS then I think it will provide ip to connected devices via DHCP. I just enabled phone to acquire ip via DCHP by going to the phones, Connection manager -- > Settings --> WLAN Settings --> Connection status ---> Menu --> IP Address --> And select Use server - assigned IP address.
Step, first enable ICS in your laptop -- > apply ip address to your phone like 192.168.0.2 255.255.255.0 and then connect your phone to your laptop in adhoc mode. Once the connection is established go to phone and change the ip address settings as given above ie. select server assigned ip address. i USED THIS MODE AS THERE WAS NO OPTION TO APPLY DNS IN THE PHONE.
how to connect ma phone to a wireless laptop
i have an htc HD2 running android ice cream os but de wireless is weak.how do i connect de phone to a wireless lenova laptop runnin windows 7.thank
habboc said:
i have an htc HD2 running android ice cream os but de wireless is weak.how do i connect de phone to a wireless lenova laptop runnin windows 7.thank
Click to expand...
Click to collapse
You would get a better answer asking this in the HD2 forums, mate
habboc said:
i have an htc HD2 running android ice cream os but de wireless is weak.how do i connect de phone to a wireless lenova laptop runnin windows 7.thank
Click to expand...
Click to collapse
you can use Wondershare MobileGo for Android

[Q] Unable to tether after Ad-Hoc fix

I am unfortunately unable to post a reply within the original thread with this fix as it is in the Development forum. So here it is..
I have applied the wpa_supplicant fix from this thread:
http://forum.xda-developers.com/showthread.php?t=1033314
I can now see Ad-hoc networks but when trying to connect to it I am stuck at Obtaining IP Address.
Connecting to Infrastructure networks works fine. Other devices can connect to my Ad-Hoc network. But the Xoom will not obtain an IP Address.
I have tried setting static IP and using open DNS options such as Google's DNS servers but that doesn't work either.
I am using a canadian wi-fi only xoom. I have updated to the most recent US Xoom, Wi-Fi only firmware from Motorola and used this method for the root and unlock:
http://forum.xda-developers.com/showthread.php?t=1010568
I am trying to tether to a Samsung i5700 that is rooted using WiFi Tether or Barnacle. Both do the same thing.
I've also tried bluetooth tethering but the two devices will pair but not connect.
Mine does that too where it will hang on Obtaining IP address just make sure your phone is on meaning the screen is on (showing wifi tether.) For some reason it can run but not connect very well while the screen is off. Don't know why this is, but it's been only a minor inconvenience.
Even with the phone screen on, showing the wifi tether screen it doesn't connect. And when I assign a static IP address Wifi Tether never notifies that a client has connected.

[Q] Wi-Fi phone configuration & my network

I have a 16-node network (used mostly as a cluster computer for meteorological work), Ethernet, 3 switches, all through an ActionTec DSL gateway/router. There is an edge machine with dnsmasq for dns cache'ing and firewall. My ISP assigns three IP addresses, one of which is my network's gateway address. The ActionTec has DHCP turned "on" although I use SNAT, DNAT, and masquerading on my side. I use my internal network to serve an Apache Web site as well.
The Wi-Fi (and other reception, for that matter) is not very good here, so I bought a TrendNet TEW-636APB Wireless Access Point. It's plugged into one of the switches. The Linux hosts and hosts_files are correctly configured and dnsmasq is configured to assign an IP Address to the TEW-636APB based on its MAC.
Everything works just fine, but most importantly, the HTC One (T-mobile) has no Internet connectivity, even though I can read the IP Address assigned to the phone. Everything is on the same subnet, by the way.
Any suggestions to get Internet up and running? I regularly use bash and c-shell as well as other languages but this one has me stumped. Any suggestions?
Mike
Minneapolis, Minnesota
Additional Info for Wi-Fi Issue
I ruled out some issues in the meantime. The TEW-636APB seems to work fine. I changed each of the config options: same problem. BUT, a laptop connected using Wi-Fi for data works just fine!
On the smartphone (that HTC One), the only URL that connects is on my own network, that is, the Web site served on my subnet and inside my network works just fine. Anything outside of my network fails.
When I turn off Wi-Fi on the cell phone (and use T-Mobile), the Web works just fine.
Very confusing. Any suggestions?
Michael
Might be a DNS problem...
wxmanmichael644 said:
I ruled out some issues in the meantime. The TEW-636APB seems to work fine. I changed each of the config options: same problem. BUT, a laptop connected using Wi-Fi for data works just fine!
On the smartphone (that HTC One), the only URL that connects is on my own network, that is, the Web site served on my subnet and inside my network works just fine. Anything outside of my network fails.
When I turn off Wi-Fi on the cell phone (and use T-Mobile), the Web works just fine.
Very confusing. Any suggestions?
Michael
Click to expand...
Click to collapse
Hi Michael,
It seems to me like this a DNS problem, you should try opening google using it's ip address ( try using http ://173.194.35.132/ ) to check connectivity. Also if your phone is rooted you should be able to use some terminal like tool and try to ping some hosts to rule out the dns problem.
Cheers,
Stefan.
P.S.: please use thanks if information was helpful

[Q] Bluetooth tethering Android - Mac doesn't work

This problem is on both cm12s (oneplus) and stock android (5.0 and 5.1 on nexus 5)
Obviously I can pair with my Mac (latest Mac OS) and click "connect to network" there. This shows up correctly in the status bar of my phone (1 device connected to Internet sharing through bluetooth).
Now the problem is when I check the status of the PAN network on my Mac, it says "self assigned IP address" and renewing the DHCP lease doesn't work. I assume I can change the address to "manual" but there must be a better way? I've tried on 2 different macbooks, no difference. Also, how can I find the internal ip/gateway on Android to even try the manual IP address?
I don't have any issues with bluetooth tethering to my other Android devices.

Categories

Resources