[Q] IPv6 access from a host to an Android device - Android Q&A, Help & Troubleshooting

Hi,
I'm trying to connect from a host (PC or other) to a mobile cellular Android device on the Verizon/AT&T cellular network. This device uses only the 3G network and has its Wi-Fi turned off. The Android device has a listening socket and I need the remote host to be the connection initiator. As far as I know, Verizon/AT&T uses NAT traversal for mobile phones and assigns local IP addresses to them on the cellular network. This prevents me from initiating a connection to the device from a remote host. Please correct me if I'm wrong about that.
With the usage of IPv6 assignments there shouldn't be any practical limitation (virtually unlimited) to the number of "real" IPs that can be assigned.
Therefore my questions are:
1. Does the Verizon/AT&T cellular network support IPv6 and assigns IPv6 addresses to capable Android devices?
2. Is it a feasible solution to this problem?
3. Does Android 2.2+ have enough support for IPv6 to implement such solution?
I am aware of other methods that can be used, such as C2DM, but it has some drawbacks (such as unknown response time) that prevent me from using it.
Thanks.

This works on T-Mobile with the Nexus S. ICS brings 3G IPv6 support to the Nexus S, and T-Mobile has an IPv6 beta. On that beta program, you sign up for IPv6 and made inbound connection to the phone, which has a public IPv6 address.

Related

Android Wifi Hotspost WITHOUT TETHERING

I want to host an INFRASTRUCTURE (not AD-HOC), otherwise known as a SoftAP (Access point) on wifi. This is possible with many applications, but they all want to use a mobile data connection. Is there any application that allows you to host a SoftAP WITHOUT a 2G/3G/4G connection? This is just for playing over WIFI between a samsung galaxy s3 and an older android 2.1 tablet. These cannot see AdHoc networks.
Anyways, I'm interested in any application that allows hosting of an infrastructure WiFi network without tethering to just host a wireless lan point.
Bump
I am also very interested in a solution/app like this.
A photo app (MoPhotos) will work with my EyeFi WiFi card to transfer photos from the card in my camera to my computer/Android device via Wifi.
Currently, the card has to go through the home router as that what it looks for to give it a IP Address and network to connect to the computer/Android.
If there is a way for the Android device to be a Wifi HotSpot without the mobile tethering, I can configure the card to talk directly to the Android, which would be *very* helpful when out and about.

Bluetooth PAN DNS Hostname to pull from DHCP rather than the android creating its own

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 plan on have an app with a webview client call on this IP resource as you would in a web browser. Is it possible to have this app issue a dns name?
Thanks!

Galaxy S9 Loosing IPv6 after sleep

Does anyone else here loose ALL IPv6 connectivity on their S9 after the screen is off for 10-20min? Toggling WiFi Off/On fixes it.
All other devices on my network (including iOS and other wireless ones) have no trouble keeping a IPv6 connection.
Note: IPv6 Service is DHCPv6 with PD provided natively by my ISP.
i do.
the ipv6 client on s9+ seems problematic.
shoulda receive ipv6 advertise accordingly

Listening to WiFi probe requests

Hello everyone,
I am new to Android development and am uncertain about the restrictions on STOCK phones.
The goal of my application is to exchange a small amount of data ~32 byte. It should use a method available for all phones (Android, iOS, Linux). Most phones always have mobile data and WiFi activated so my idea was to use WiFi.
I thought of two methods:
Method A
Phone A could add a new WiFi network to the list of known networks. The name of the SSID could be chosen (that's the transmitted message). Phone A would now send out WiFi probe requests. Phone B could listen to WiFi probe requests and extract the SSID (message received). The phones would not have to actually communicate over WiFi. The exchange of SSID names is all that needs to be achieved.
Method B
Phone A could send out a WiFi beacon. The name of the SSID could be chosen (that's the transmitted message). Phone A would now send out WiFi beacons. Phone B could scan available networks and extract the SSID (message received). The phones would not have to actually communicate over WiFi. The exchange of SSID names is all that needs to be achieved.
(I guess tethering would have to be possible. This might cause unwanted behavior if phone is actually supposed to be tethering. Also if I am correct tethering is sometimes restricted)
Preferably this should all work on stock phones. Differentiating between SSID that are messages and SSID which are regular networks (router..) is out of scope for this problem. If anybody has a hint for rooted phones, your help would also be greatly appreciated
Thank you very much for your help!
FreudigerMax

Wifi Hotspot static Gateway IP

Prior to Android 9 the WIFI gateway IP was always static, now it changes upon hotspot creation. Now it can be set to static?
Alternatively, can I use some hostname of the device where hotspot is created to resolve its IP to the clients of the hotspot?
@elmmm
What do you mean with "hotspot creation"?
My understanding is that a Wi-Fi hotspot is the wireless access points, typically in public locations, that provide Internet access to mobile devices such as your smartphone when you are away from your home.
jwoegerbauer said:
@elmmm
What do you mean with "hotspot creation"?
My understanding is that a Wi-Fi hotspot is the wireless access points, typically in public locations, that provide Internet access to mobile devices such as your smartphone when you are away from your home.
Click to expand...
Click to collapse
I mean sharing Android device's internet connection. At least on my devices it's also called Wifi Hotspot.

Categories

Resources