I have a custom hardware that create a Wifi network and allow users to connect to it (mobile devices). There is no cellular SIM card, only wifi.
Once connected, through sockets, I'm able to exchange data between HW and Phone.
Using an Apple iPhone (whatever version), when connecting to this Wifi, the phone show me "No connection" but still connected and the phone is able to redirect automatically 4G traffic through the cellular network and the socket/wifi communication through the HW without problems.
Using an Android (Samsung in particular), when connecting to this Wifi, the phone automatically drops any other connections to the 4G network. No one app is able to use internet.
There is something in the
hostapd.conf or in the
routing-tables that i need to configure in order avoid dropping connection automatically through my HW instead of using the phone configuration?
Would anyone have a similar issue and be able to help me?
Here an extract of the
interface=wlan0 driver=nl80211 ctrl_interface=/var/run/hostapd ctrl_interface_group=0 ssid=CustomWifi hw_mode=g channel=11 beacon_int=100 dtim_period=2 max_num_sta=255 rts_threshold=2347 fragm_threshold=2346 macaddr_acl=0 auth_algs=1 ignore_broadcast_ssid=0 wmm_enabled=1 ieee80211n=1 eapol_key_index_workaround=0 eap_server=0 own_ip_addr=127.0.0.1 wpa=2 wpa_passphrase=Password12345 wpa_key_mgmt=WPA-PSK wpa_pairwise=TKIP CCMP rsn_pairwise=CCMP
This an content of the file
127.0.0.1 localhost.localdomain localhost
Thanks a lot