[Galaxy Tab 3 7.0 Android Development] cybertheque:
hotspot not working - cannot connect and devices not seen

If this should be in a new thread please let me know.

'hotspot' not working in WonderROM v.3

Descriptions that follow reflect file contents as distributed in the ROM package.

started hotspot either in 'settings' or in a bash shell

e.g. # cd /data/misc/wifi

# hostapd -e ./entropy.bin ./hostapd.conf

logcat output (the same for starting from 'settings' or in the shell):

E/hostapd ( 1609): Configuration file: ./hostapd.conf

E/hostapd ( 1609): Line 12: unknown configuration item 'tx_power'

I/hostapd ( 1609): rfkill: Cannot open RFKILL control device

E/hostapd ( 1609): Could not read interface wlan0 flags: No such device

E/hostapd ( 1609): nl80211 driver initialization failed.

E/hostapd ( 1609): Failed to initialize interface

removed 'tx_power' line:

E/hostapd ( 2283): Configuration file: ./hostapd.conf

I/hostapd ( 2283): rfkill: Cannot open RFKILL control device

E/hostapd ( 2283): Could not read interface wlan0 flags: No such device

E/hostapd ( 2283): nl80211 driver initialization failed.

E/hostapd ( 2283): Failed to initialize interface

with wifi disabled:

# svc wifi enable

# svc wifi disable

# hostapd -e ./entropy.bin ./hostapd.conf

E/hostapd (19954): Configuration file: ./hostapd.conf

I/hostapd (19954): rfkill: Cannot open RFKILL control device

E/hostapd (19954): Could not read interface wlan0 flags: No such device

E/hostapd (19954): nl80211 driver initialization failed.

E/hostapd (19954): Failed to initialize interface

wifi enabled:

# svc wifi enable

# hostapd -e ./entropy.bin ./hostapd.conf

E/hostapd (20396): Configuration file: ./hostapd.conf

I/hostapd (20396): rfkill: Cannot open RFKILL control device

E/hostapd (20396): nl80211: Failed to set interface wlan0 into AP mode

E/hostapd (20396): nl80211 driver initialization failed.

E/hostapd (20396): Failed to initialize interface

ctrl_interface sockets (when wifi enabled):

root@lt02ltespr:/data/misc/wifi/sockets # ls -al

srwxrwx--- wifi wifi 2016-08-10 17:59 p2p0

srwxrwx--- wifi wifi 2016-08-10 17:59 wlan0

srw-rw---- system wifi 2016-08-10 17:59 wpa_ctrl_759-11

srw-rw---- system wifi 2016-08-10 17:59 wpa_ctrl_759-12

monstrously big wifi kernel module:

root@lt02ltespr:/system/lib/modules/prima # ls -al

-rw-r--r-- root root 38611327 2008-08-01 07:00 prima_wlan.ko

# cat /data/misc/wifi/hostapd.conf

interface=wlan0

driver=nl80211

ctrl_interface=/data/misc/wifi/hostapd

ssid=tab3

channel=3

ignore_broadcast_ssid=0

hw_mode=g

max_num_sta=8

ieee80211n=1

vendor_elements=DD050016328000

ap_isolate=0

There is no '/data/misc/wifi/hostapd' - changed line to:

ctrl_interface=/data/misc/wifi/sockets

(no change in behavior or logcat output)

# svc wifi enable

# svc wifi disable

# ifconfig wlan0

ifconfig wlan0

wlan0: No such device

#svc wifi enable

# ifconfig wlan0

ifconfig wlan0

wlan0: ip 192.168.0.12 mask 255.255.255.0 flags [up broadcast running multicast]

# cat /proc/net/wireless

Inter-| sta-| Quality | Discarded packets | Missed | WE

face | tus | link level noise | nwid crypt frag retry misc | beacon | 22

wlan0: 0000 0 0 0 0 0 0 0 0 0

p2p0: 0000 0 0 0 0 0 0 0 0 0

# svc wifi disable

# cat /proc/net/wireless

Inter-| sta-| Quality | Discarded packets | Missed | WE

face | tus | link level noise | nwid crypt frag retry misc | beacon | 22

Hardware ver: T217S.04

Android ver: 4.4.2

Baseband ver: T217SVPUBNK1

Kernel Ver: 3.4.0-svn21

negamann303@NeGaLiTe-LiNbOx-2#1

Sat Jan 31 19:23:33 MSG 2015

Build no: KOT49H.T217SVPUBNK1

SE status: permissive

Secure boot: Samsung