• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Bluetooth Pan DNS hostname to pull form DHCP server rather than the android creating its own?

kashanirod

Lurker
Dec 2, 2015
1
0
Hey guys,

So I have a bluetooth pan on a raspberry pi which gives an ip and Internet connection to an android, in this case the S6 edge. I am given an ip address, however I can't communicate with other devices on the network. I do receive Internet though. It seems the android is assigning itself a dns hostname, which separates itself from the rest of the network. I could be wrong, but when laptops connect to the same pan network, they are given the dhcp information from the router and they can communicate over the network with the ip's being given to them from the bluetooth access point.

The laptops have a hostname of TP-link_D5DE and the android has android_9xxxxxx

Can the android adopt dhcp hostname info via Bluetooth pan? Can I change this name? Is it possible without root if so?

I understand there was somewhat of an issue with dhcp "hooks" back in the day where the bluetooth controller couldn't retrieve this information but I read that on a forum which was a few years old and also read it was fixed on newer versions of android.

I am making an app which will call a webview client and it will take you to a static IP which will display webcontent on my local server. Can I create the local DNS hostname manually with the app?

Thanks!
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones