[FireTvStick 5.2.1.1] Failed to add tun0 to VPN net - Fire TV Q&A, Help & Troubleshooting

I sideloaded OpenVPNConnect and OpenVPN(blinkt.de) on my FireTvStick 5.2.1.1.
Both apps are able to connect to my vpn server and according to their own logs routes (especialle for 0.0.0.0) have been created and the sequence is completed.
But in opposite to all other my android devices where the same vpn config works the FireTvStick is not using the vpn.
The output of logcat follows for both applications.
de.blinkt.openvpn.apk:
Code:
12-20 19:59:37.588: D/VpnJni(987): Address added on tun0: 10.8.0.10/30
12-20 19:59:37.608: D/ConnectivityService(987): registerNetworkAgent NetworkAgentInfo{ ni{[type: VPN[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false]} network{null} lp{{InterfaceName: tun0 LinkAddresses: [10.8.0.10/30,] Routes: [0.0.0.0/1 -> 0.0.0.0 tun0,128.0.0.0/2 -> 0.0.0.0 tun0,192.0.0.0/9 -> 0.0.0.0 tun0,192.128.0.0/11 -> 0.0.0.0 tun0,192.160.0.0/13 -> 0.0.0.0 tun0,192.168.0.0/17 -> 0.0.0.0 tun0,192.168.128.0/19 -> 0.0.0.0 tun0,192.168.160.0/20 -> 0.0.0.0 tun0,192.168.176.0/23 -> 0.0.0.0 tun0,192.168.179.0/24 -> 0.0.0.0 tun0,192.168.180.0/22 -> 0.0.0.0 tun0,192.168.184.0/21 -> 0.0.0.0 tun0,192.168.192.0/18 -> 0.0.0.0 tun0,192.169.0.0/16 -> 0.0.0.0 tun0,192.170.0.0/15 -> 0.0.0.0 tun0,192.172.0.0/14 -> 0.0.0.0 tun0,192.176.0.0/12 -> 0.0.0.0 tun0,192.192.0.0/10 -> 0.0.0.0 tun0,193.0.0.0/8 -> 0.0.0.0 tun0,194.0.0.0/7 -> 0.0.0.0 tun0,196.0.0.0/6 -> 0.0.0.0 tun0,200.0.0.0/5 -> 0.0.0.0 tun0,208.0.0.0/4 -> 0.0.0.0 tun0,] DnsAddresses: [208.67.222.222,208.67.220.220,] Domains: MTU: 0}} nc{[ Transports: VPN Capabilities: NOT_RESTRICTED&TRUSTED]} Score{0} everValidated{false} lastValidated{false} created{false} explicitlySelected{false} }
12-20 19:59:37.608: D/ConnectivityService(987): Adding iface tun0 to network 110
12-20 19:59:37.628: I/Vpn(987): Established by de.blinkt.openvpn on tun0
12-20 19:59:37.688: E/Netd(153): failed to add interface tun0 to VPN netId 110
12-20 19:59:37.698: E/ConnectivityService(987): Exception adding interface: java.lang.IllegalStateException: command '366 network interface add 110 tun0' failed with '400 366 addInterfaceToNetwork() failed (Invalid argument)'
12-20 19:59:37.698: E/ConnectivityService(987): Unexpected mtu value: 0, tun0
12-20 19:59:37.698: E/Netd(153): interface tun0 not assigned to any netId
...
net.openvpn.openvpn.apk:
Code:
12-20 20:00:19.226: D/VpnJni(987): Address added on tun0: 10.8.0.10/30
12-20 20:00:19.246: I/Vpn(987): Established by net.openvpn.openvpn on tun0
12-20 20:00:19.246: D/ConnectivityService(987): registerNetworkAgent NetworkAgentInfo{ ni{[type: VPN[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false]} network{null} lp{{InterfaceName: tun0 LinkAddresses: [10.8.0.10/30,] Routes: [10.8.0.1/32 -> 0.0.0.0 tun0,0.0.0.0/0 -> 0.0.0.0 tun0,::/0 unreachable,] DnsAddresses: [208.67.222.222,208.67.220.220,] Domains: MTU: 0}} nc{[ Transports: VPN Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED]} Score{0} everValidated{false} lastValidated{false} created{false} explicitlySelected{false} }
12-20 20:00:19.246: D/ConnectivityService(987): Adding iface tun0 to network 111
12-20 20:00:19.306: E/Netd(153): failed to add interface tun0 to VPN netId 111
12-20 20:00:19.316: E/ConnectivityService(987): Exception adding interface: java.lang.IllegalStateException: command '401 network interface add 111 tun0' failed with '400 401 addInterfaceToNetwork() failed (Invalid argument)'
12-20 20:00:19.316: E/ConnectivityService(987): Unexpected mtu value: 0, tun0
12-20 20:00:19.316: E/Netd(153): interface tun0 not assigned to any netId
12-20 20:00:19.316: E/ConnectivityService(987): Exception in addRoute for non-gateway: java.lang.IllegalStateException: command '402 network route add 111 tun0 10.8.0.1/32' failed with '400 402 addRoute() failed (No such device)'
12-20 20:00:19.316: E/Netd(153): interface tun0 not assigned to any netId
12-20 20:00:19.326: E/ConnectivityService(987): Exception in addRoute for non-gateway: java.lang.IllegalStateException: command '403 network route add 111 tun0 0.0.0.0/0' failed with '400 403 addRoute() failed (No such device)'
12-20 20:00:19.326: E/Netd(153): interface tun0 not assigned to any netId
12-20 20:00:19.396: E/ConnectivityService(987): Attempting to register duplicate agent for type 17: NetworkAgentInfo{ ni{[type: VPN[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false]} network{111} lp{{InterfaceName: tun0 LinkAddresses: [10.8.0.10/30,] Routes: [10.8.0.1/32 -> 0.0.0.0 tun0,0.0.0.0/0 -> 0.0.0.0 tun0,::/0 unreachable,] DnsAddresses: [208.67.222.222,208.67.220.220,] Domains: MTU: 0}} nc{[ Transports: VPN Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED]} Score{0} everValidated{true} lastValidated{true} created{true} explicitlySelected{false} }
adding a route by hand via "route add default gw 10.8.0.1 dev tun0" is not permitted.
so is the whole thing an rooted/unrooted issue?

Related

[Q] Phone intermittently reboots and has no WiFi

This is driving me nuts!
Realizing that my Desire GSM (PVT3, S-OFF, stock HBOOT) won't ever go beyond GB only with the help of HTC, I started looking at alternatives and flashed a ICS build. This was at an early stage so I wasn't expecting much and that's what I got: not much. System app hung, leaving me with no alternative but to take the battery out and wipe Dalvik to boot it.
As the ROMs have progressed, my expectations have risen but still I two major issues:
1) Spontaneous reboots
Often when picking up the phone, I need to enter my PIN because the phone has rebooted. Sometimes I can go a day without that happening, sometimes it happens 3 or 4 times in a row.
2) No WiFi
It won't even turn on, the aLogcat trace is as below.
Seems it can't find the H/W at all! Is this something that can be attributed to the RIL?
This is all really confusing to me, had no problems at all w/ stock HTC ROMs. I have so far tried different versions of Sandvold and MIUI ROMs. Anybody experience the same or has a clue to what's wrong?
Still no go - more evidence
As I thought WiFi was dead, I restored the phone to stock HTC 2.2. Lo and behold, now WiFi worked!
Armed with fresh new confidence I installed a number of 2.3 Sense and non-Sense ROMs (Runnymede, CM 7.1 etc.) just to see the same problem again.
Any idea? According to the dmesg below it's a hardware problem but since it work at least sometimes with stock ROMs it can't be that bad. Any other 2.3 user who could post their dmesg for a functioning WiFi card?
Code:
[ 509.333282] [WLAN] wifi_set_power = 1
[ 509.333404] bravo_wifi_power: 1
[ 509.618499] [WLAN] wifi_set_carddetect = 1
[ 509.618713] bravo_wifi_set_carddetect: 1
[ 509.618804] mmc0: card_present 1
[ 509.618896] mmc0: Slot status change detected (0 -> 1)
[ 509.620269] [WLAN] Dongle Host Driver, version 4.218.204.2
[ 512.170501] mmc0: queuing CIS tuple 0x91 length 3
[ 512.170928] mmc0: new high speed SDIO card at address 0001
[ 514.212982] mmc0: Data timeout
[ 514.213256] mmc0: Controller has been reset
[ 516.248565] mmc0: Data timeout
[ 516.248840] mmc0: Controller has been reset
[ 518.286071] mmc0: Data timeout
[ 518.286529] mmc0: Controller has been reset
[ 519.613403] [WLAN][WRN] dhd_module_init: sdio_register_driver timeout
[ 520.323638] mmc0: Data timeout
[ 520.324096] mmc0: Controller has been reset
[ 522.359191] mmc0: Data timeout
[ 522.359405] mmc0: Controller has been reset
[ 524.396606] mmc0: Data timeout
[ 524.396911] mmc0: Controller has been reset
[ 524.397430] [WLAN][WRN] dhdsdio_probe_attach: si_attach failed!
[ 524.397827] [WLAN][WRN] dhdsdio_probe: dhdsdio_probe_attach failed
[ 524.399444] [WLAN] wifi_set_carddetect = 0
[ 524.399841] bravo_wifi_set_carddetect: 0
[ 524.400054] mmc0: card_present 0
[ 524.400268] mmc0: Slot status change detected (1 -> 0)
[ 524.400665] [WLAN] wifi_set_power = 0
[ 524.400878] bravo_wifi_power: 0
[ 524.404449] btsdio: probe of mmc0:0001:3 failed with error -123
[ 524.407867] mmc0: card 0001 removed
First of all, go back to stock 2.2 (clean install from RUU, not a nandroid) and keep runnin' it for a few days while monitoring WiFi. If the WiFi's stable with stock, then it must be a software fault, in which case i'd advise you to upgrade to the latest radio from the official GB ROM when using GB/ICS ROMs. If the WiFi's not stable even with stock 2.2 + stock 2.2 radio, then you have a hardware problem on your hands and my bet is that nobody but an HTC service can help you with that.
Here's my logcat for enabling the WiFi connection + connecting to my router (i have replaced the MAC strings with ADDR).
Code:
D/WifiStatusBarPreference( 188): set wifi enable: true
D/WifiService( 122): setWifiEnabled =truemAirplaneModeOverwridden =false
D/WifiService( 122): setWifiEnabledBlocking:Enable Wifi
I/WifiHW ( 122): wifi_load_driver enter
I/WifiHW ( 122): check_driver_loaded
I/WifiHW ( 122): insmod
D/NetSharing_NSReceiver( 4957): onReceive : android.net.wifi.WIFI_STATE_CHANGED
D/NetSharing( 4957): wifi enabled change, state = false
D/NetSharing( 4957): wifi enabled change, state = false
I/WifiHW ( 122): wifi_load_driver end right 3
I/WifiHW ( 122): wifi_start_supplicant enter
D/WifiHW ( 122): create dhcp dir ok!
I/WifiHW ( 122): ensure_config_file_exists
I/WifiHW ( 122): wifi_start_supplicant end right 2
D/WifiService( 122): [smart wifi] mSmartWiFiStatus: 0 mBatteryLevel: 83 mWifiConnected: false
D/WifiService( 122): [smart wifi] ACTION_BATTERY_CHANGED pluggedType: 0
I/WifiHW ( 122): can't access IFACE_DIR OK
D/WifiService( 122): acquireWifiLockLocked: WifiLock{NetworkLocationProvider type=2 [email protected]} Mode: 2
D/NetSharing_NSReceiver( 4957): onReceive : android.net.wifi.WIFI_STATE_CHANGED
D/NetSharing( 4957): wifi enabled change, state = false
D/NetSharing( 4957): wifi enabled change, state = false
D/WifiService( 122): releaseWifiLockLocked: WifiLock{NetworkLocationProvider type=2 [email protected]} Mode: 2
I/WifiHW ( 122): Connect to Supplicant done
D/WifiService( 122): enable and start wifi due to updateWifiState
D/WifiService( 122): enable and start wifi due to updateWifiState
D/WifiStateTracker( 122): Not get IP address yet, shall not do WiFi offload
V/WifiMonitor( 122): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=2 BSSID=00:00:00:00:00:00]
I/wpa_supplicant( 5325): Check WiFi offload status: wpa_s->vh_wifi_to_mobile:-1 ,wpa_s->vh_user_connect:-1
V/WifiMonitor( 122): Event [Trying to associate with ADDR (SSID='TV' freq=2412 MHz)]
V/WifiMonitor( 122): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=3 BSSID=ADDR]
V/WifiStateTracker( 122): Connection to supplicant established, state=DISCONNECTED
V/WifiStateTracker( 122): KeyStore.LOCKED
V/WifiStateTracker( 122): Changing supplicant state: DISCONNECTED ==> SCANNING
V/WifiStateTracker( 122): Changing supplicant state: SCANNING ==> ASSOCIATING
V/WifiStateTracker( 122): KeyStore.LOCKED
D/ConnectivityService( 122): ConnectivityChange for WIFI: CONNECTING/CONNECTING
D/ConnectivityService( 122): Dropping ConnectivityChange for WIFI: CONNECTING/CONNECTING
V/WifiMonitor( 122): Event [CTRL-EVENT-STATE-CHANGE id=5 state=4 BSSID=ADDR]
V/WifiStateTracker( 122): Changing supplicant state: ASSOCIATING ==> ASSOCIATED
V/WifiMonitor( 122): Event [Associated with ADDR]
V/WifiMonitor( 122): Event [CTRL-EVENT-STATE-CHANGE id=5 state=5 BSSID=00:00:00:00:00:00]
V/WifiStateTracker( 122): Changing supplicant state: ASSOCIATED ==> FOUR_WAY_HANDSHAKE
D/ConnectivityService( 122): Dropping ConnectivityChange for WIFI: CONNECTING/AUTHENTICATING
V/WifiMonitor( 122): Event [CTRL-EVENT-STATE-CHANGE id=5 state=5 BSSID=00:00:00:00:00:00]
V/WifiStateTracker( 122): Changing supplicant state: FOUR_WAY_HANDSHAKE ==> FOUR_WAY_HANDSHAKE
V/WifiMonitor( 122): Event [CTRL-EVENT-STATE-CHANGE id=5 state=6 BSSID=00:00:00:00:00:00]
V/WifiStateTracker( 122): Changing supplicant state: FOUR_WAY_HANDSHAKE ==> GROUP_HANDSHAKE
V/WifiMonitor( 122): Event [WPA: Key negotiation completed with ADDR [PTK=CCMP GTK=TKIP]]
V/WifiMonitor( 122): Event [CTRL-EVENT-STATE-CHANGE id=5 state=7 BSSID=00:00:00:00:00:00]
V/WifiMonitor( 122): Event [CTRL-EVENT-CONNECTED - Connection to ADDR completed (auth) [id=5 id_str=]]
V/WifiStateTracker( 122): Changing supplicant state: GROUP_HANDSHAKE ==> COMPLETED
V/WifiStateTracker( 122): New network state is CONNECTED
D/WifiStateTracker( 122): DhcpHandler: acquire ddWakeLock
D/WifiStateTracker( 122): DhcpHandler: DHCP request started
D/ConnectivityService( 122): Dropping ConnectivityChange for WIFI: CONNECTING/OBTAINING_IPADDR
D/NetSharing_NSReceiver( 4957): onReceive : android.net.wifi.STATE_CHANGE
I/NetSharing_NSReceiver( 4957): wifienabled:false
V/WifiStateTracker( 122): DhcpHandler: DHCP request succeeded
D/WifiStateTracker( 122): DhcpHandler: release ddWakeLock
D/WifiStateTracker( 122): change state to connected for wifi supplicant state=COMPLETED
D/StatusBarService( 188): updateIcon slot=wifi index=16 viewIndex=10 old=StatusBarIcon(pkg=com.android.systemui id=0x7f0200d3 level=0 visible=false num=0 ) icon=StatusBarIcon(pkg=com.android.systemui id=0x7f0200d2 level=0 visible=true num=0 )
D/WifiWatchdogService( 122): (android.server.ServerThread) TV (ADDR) does not require the watchdog
D/NetSharing_NSReceiver( 4957): onReceive : android.net.wifi.STATE_CHANGE
I/NetSharing_NSReceiver( 4957): wifienabled:true
D/WifiStateTracker( 122): adding routing rule table=>wifi fromIp=all, toIp=all priority=3001
I/ipd ( 78): IP CMD: /system/bin/ip ro flush table wifi
V/WifiStateTracker( 122): IP configuration: ipaddr 192.168.100.5 gateway 192.168.100.1 netmask 255.255.255.0 dns1 192.168.100.1 dns2 0.0.0.0 DHCP server 192.168.100.1 lease 86400 seconds
I/wpa_supplicant( 5325): WiFi gateway: 0x 164a8c0
D/ConnectivityService( 122): ConnectivityChange for WIFI: CONNECTED/CONNECTED
V/NetworkStateTracker( 122): Setting TCP values: [4095,87380,110208,4096,16384,110208] which comes from [net.tcp.buffersize.wifi]
D/ConnectivityService( 122): adding dns 192.168.100.1 for WIFI
I/ipd ( 78): IP CMD: /system/bin/ip ro add 192.168.100.0/24 dev eth0 src 192.168.100.5 table wifi
D/WifiService( 122): type: WIFI, connected: true
D/StatusBarService( 188): updateIcon slot=wifi index=16 viewIndex=10 old=StatusBarIcon(pkg=com.android.systemui id=0x7f0200d2 level=0 visible=true num=0 ) icon=StatusBarIcon(pkg=com.android.systemui id=0x7f0200d9 level=0 visible=true num=0 )
I/ipd ( 78): IP CMD: /system/bin/ip ro add default via 192.168.100.1 dev eth0 table wifi
I/ipd ( 78): IP CMD: /system/bin/ip ru del from all to all table wifi prio 3001
I/ipd ( 78): IP CMD: /system/bin/ip ru add from all to all table wifi prio 3001
D/Tethering( 122): Tethering got CONNECTIVITY_ACTION type: WIFI, subtype: , status: CONNECTED
D/AutoSetting( 3674): receiver - NetworkInfo: type: WIFI[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true, if: eth0
D/AutoSetting( 3674): Util - wifi connected
D/AutoSetting( 3674): Util - wifi connected
D/GpsLocationProvider( 122): updateNetworkState available info: NetworkInfo: type: WIFI[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true, if: eth0
D/StatusBarService( 188): updateIcon slot=wifi index=16 viewIndex=10 old=StatusBarIcon(pkg=com.android.systemui id=0x7f0200d9 level=0 visible=true num=0 ) icon=StatusBarIcon(pkg=com.android.systemui id=0x7f0200d9 level=0 visible=true num=0 )
DMESG:
Code:
<6>[29199.683929] [WLAN] wifi_set_power = 1
<6>[29199.683929] bravo_wifi_power: 1
<6>[29199.959381] [WLAN] wifi_set_carddetect = 1
<6>[29199.959503] bravo_wifi_set_carddetect: 1
<7>[29199.959686] mmc0: card_present 1
<6>[29199.959808] mmc0: Slot status change detected (0 -> 1)
<6>[29199.962219] [WLAN] Dongle Host Driver, version 4.218.204.2
<7>[29202.517456] mmc0: queuing CIS tuple 0x91 length 3
<6>[29202.517944] mmc0: new high speed SDIO card at address 0001
<6>[29202.538635] [WLAN] DHD: dongle ram size is set to 294912(orig 294912)
<6>[29202.783966] [WLAN] irq: 239
<6>[29202.784729] [WLAN] firmware version: wl0: Aug 2 2010 16:45:25 version 4.218.207.0
<6>[29202.786743] [WLAN] wifi: Disable 802.11n
<6>[29202.929382] [WLAN] dhd_preinit_ioctls:str=0x6e756c6c207061636b657400
<6>[29202.937347] [WLAN] eth0: Broadcom Dongle Host Driver mac=xx:xx:xx:xx:xx:xx
<6>[29202.942016] [WLAN] enter dhd_set_multicast_list
<6>[29202.943939] [WLAN] enter dhd_set_multicast_list
<6>[29202.948150] [WLAN] enter dhd_set_multicast_list
<6>[29202.953033] [ATS][press_widget][launch]
<6>[29203.873687] [WLAN] Send Event ISCAN complete
<6>[29204.597991] [WLAN] disassoc client!
<6>[29204.621032] [LS][CM3602] ALS value: 0x0, level: 1 #
<6>[29204.703704] [WLAN] wl_iw_iscan_get_scan return to WE 852 bytes APs=4
<6>[29204.713378] [WLAN] pfn: set ssid = TV
<6>[29204.713500] [WLAN] lightest is 0, weightest is 0, samessid = 65535
<6>[29204.728271] [WLAN] Enter set packet filter
<6>[29204.729187] [WLAN] start to add pkt filter 100
<6>[29204.730865] [WLAN] RXFILTER-ADD MULTICAST filter
<6>[29204.730987] [WLAN] Enter set packet filter
<6>[29204.731933] [WLAN] start to add pkt filter 104
<6>[29204.733917] [WLAN] Enter set packet filter
<6>[29204.734893] [WLAN] start to add pkt filter 102
<6>[29205.651885] [LS][CM3602] ALS value: 0x0, level: 1 #
<6>[29205.842590] [WLAN] wake lock 15 secs!
<6>[29205.843170] [WLAN] Link UP
<6>[29205.881042] [WLAN] STA connect received 1
<6>[29205.946594] [WLAN] getpower: and_pm = 0, dhd_pm: 2, ctrl_mask: 0x0, usb_act: 1
<6>[29205.947204] [WLAN] power active. ctrl_mask: 0x1
<6>[29205.948211] [WLAN] btcoex_dhcp_timer_start: sco time=0
<6>[29207.952178] [WLAN] update pm: PM_FAST, wifiLock: 0
<6>[29207.970855] [WLAN] Enter set packet filter
<6>[29207.973663] [WLAN] start to add pkt filter 101
<6>[29207.975738] [WLAN] ip: c0a86405
<6>[29208.118255] [WLAN] Driver GET GATEWAY-ADD CMD!!!
<6>[29208.118499] [WLAN] gatewaybuf: c0a86401
Looking through your logs and comparing them to mine, it seems to me that your logs say that your device doesn't seem to be able to properly mount the SD card.
Code:
[ 512.170928] mmc0: new high speed SDIO card at address 0001
[ 514.212982] mmc0: Data timeout
[ 514.213256] mmc0: Controller has been reset
I know (from reading XDA) that USB bricks are associated with SD card read errors, WiFi dropouts, network dropouts etc. While i am in no way versed in mobile devices, i believe that your issue is somehow software-related, not a hardware fault. If i were in your place, as i said earlier, i'd try reverting to stock 2.2 (full RUU - stock bootloader, stock radio, stock everything) and i'd monitor the device for a couple of days. If i would encounter the same problems as under the ICS ROM you're using, i'd switch to a different custom recovery (some recoveries/recovery versions are known to have bugs) and i'd try to use ye olde USB brick fixes. Only if all would fail i'd call it a hardware issue and dip the phone in liquid Frackitol.
Thanks for your suggestions, TVTV.
I have tried reverting to stock RUU 2.2 - naturally the WiFi works... Right now, I'm running RunnyMede 5.0.1 (Android 2.3.5, Sense 3.5) and everything just works - WiFi running well and no hard or soft reboots. With any ICS build, though, I get the "data timeout" and occasional CRC check failure for mmc0 as above.
Your post got me thinking of the USB brick case. Although I have none of the other symptons, it could be a case of messed up misc partition, I guess. Tried updating to Alpharev HBOOT and them misc reset as described here -> android.modaco.com/topic/309939-usb-brickrickrolledb0rked-fixed/
Running out of ideas so pass me that bottle of Frackitol, please...
It seems that you're not the only one who ran into this issue. Check this thread out.
The OP seems to have solved his problem by replacing his/her SD card which was faulty and was being mounted as read-only.

[Q] Wifi Error

So i flashed Camera4.2 and after it booted my wifi wont turn on.. it says error.. Anyway to fix this without reflashing whole rom? i removed all libs and apks that came from the zip and still no luck...
Sasba sense 4.0 v7
Logcat
Code:
D/WifiStateMachine( 1508): WiFiDisplay: getWifidisplayApEnabled=false
D/WifiStateMachine( 1508): WiFiDisplay: getWifidisplayApEnabled=false
D/StateMachine( 1508): handleMessage: new destination call exit
D/StateMachine( 1508): invokeExitMethods: DriverUnloadedState
D/StateMachine( 1508): handleMessage: new destination call exit
D/StateMachine( 1508): invokeExitMethods: WaitForP2pDisableState
D/WifiService( 1508): setWifiEnabled enable=true
D/WifiService( 1508): setWifiEnabled- =true
D/WifiService( 1508): setWifiEnabledPersist enable=true, persist=true, getCallingPid()=3837
D/WifiService( 1508): STA (mIfWiFiRegBastReceiver:true, mIfWiFiHostpotRegBastReceiver:false)
D/WifiP2pService( 1508): P2pDisabledState{ what=131203 when=-1ms }
D/WirelessDisplayService( 1508): WifiReceiver: action:android.net.wifi.WIFI_STATE_CHANGEDstate1
D/WifiHW ( 1508): wifi_load_driver no load module
D/WifiStateMachine( 1508): Driver load successful
D/StateMachine( 1508): handleMessage: new destination call exit
D/StateMachine( 1508): invokeExitMethods: DriverLoadingState
E/WifiHW ( 1380): Failed to open wlan fw path param (No such file or directory)
E/SoftapController( 1380): Softap fwReload - failed: -1
E/WifiStateMachine( 1508): Failed to reload STA firmware java.lang.IllegalStateException: Error communicating to native daemon
I/NetSharing_NSReceiver( 3837): customizedNS:true
I/NetSharing_NSReceiver( 3837): sp customizedNS:true
I/NetSharing_NSReceiver( 3837): LAN Type:false ML Type:true
I/NetSharing_NSReceiver( 3837): IS Type:true IS_ML:false
D/NetSharing_NSReceiver( 3837): onReceive : android.net.wifi.WIFI_STATE_CHANGED hasTethered:false
D/NetSharing( 3837): wifi enabled change, state = false
I/NetSharing( 3837): mobildata:false wifienabled:false wimaxenabled:false
W/CommandListener( 1380): Failed to retrieve HW addr for wlan0 (No such device)
D/CommandListener( 1380): Setting iface cfg
D/NetworkManagementService( 1508): rsp <213 00:00:00:00:00:00 0.0.0.0 0 [down]>
D/NetworkManagementService( 1508): flags <[down]>
E/WifiStateMachine( 1508): Unable to change interface settings: java.lang.IllegalStateException: Unable to communicate with native
daemon to interface setcfg - com.android.server.NativeDaemonConnectorException: Cmd {interface setcfg wlan0 0.0.0.0 0 [down]} fai
led with code 400 : {Failed to set address (No such device)}
D/WifiHW ( 1508): wifi_start_supplicant_common enter
D/StateMachine( 1508): handleMessage: new destination call exit
D/StateMachine( 1508): invokeExitMethods: DriverLoadedState
E/wpa_supplicant( 4898): Starting wpa_supplicant...
I/wpa_supplicant( 4898): rfkill: Cannot open RFKILL control device
E/wpa_supplicant( 4898): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 4898): Could not read interface wlan0 flags: No such device
D/PhoneStatusBarPolicy( 1622): silentresetvalue = 0, mTimerEnabled = false
D/PhoneStatusBarPolicy( 1622): updateSignalStrength(), in service, remove timer
E/wpa_supplicant( 4898): Could not read interface wlan0 flags: No such device
D/PhoneStatusBarPolicy( 1622): isCdma():false hasService:true mSimState=UNKNOWN gprsState=0 mDataState=-1 dataActivity=0 mPhone.ht
cModemLinkOn:false hspa==true
D/PhoneStatusBarPolicy( 1622): updateDataIcon(), silentresetvalue = 0, mTimerEnabled = false
D/PhoneStatusBarPolicy( 1622): updateDataIcon(), in data service, do nothing
E/wpa_supplicant( 4898): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 4898): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 4898): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 4898): Could not read interface wlan0 flags: No such device
I/rmt_storage( 4915): rmt_storage user app start
I/rmt_storage( 4915): rmt_storage open success
I/rmt_storage( 4915): rmt_storage shared memory ioctl success
I/rmt_storage( 4915): rmt_storage mmap addr = 40268000
E/rmt_storage( 4915): rmt_storage wait event ioctl failed
E/wpa_supplicant( 4898): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 4898): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 4898): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 4898): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 4898): nl80211: Could not set interface 'wlan0' UP
E/wpa_supplicant( 4898): wlan0: Failed to initialize driver interface
I/logwrapper( 4896): /system/bin/wpa_supplicant terminated by exit(255)
I/rmt_storage( 4924): rmt_storage user app start
I/rmt_storage( 4924): rmt_storage open success
I/rmt_storage( 4924): rmt_storage shared memory ioctl success
I/rmt_storage( 4924): rmt_storage mmap addr = 401c1000
E/rmt_storage( 4924): rmt_storage wait event ioctl failed
D/PhoneStatusBarPolicy( 1622): silentresetvalue = 0, mTimerEnabled = false
D/PhoneStatusBarPolicy( 1622): updateSignalStrength(), in service, remove timer
D/PhoneStatusBarPolicy( 1622): isCdma():false hasService:true mSimState=UNKNOWN gprsState=0 mDataState=-1 dataActivity=0 mPhone.ht
cModemLinkOn:false hspa==true
D/PhoneStatusBarPolicy( 1622): updateDataIcon(), silentresetvalue = 0, mTimerEnabled = false
D/PhoneStatusBarPolicy( 1622): updateDataIcon(), in data service, do nothing
E/WifiHW ( 1508): Supplicant not running, cannot connect
I/rmt_storage( 4925): rmt_storage user app start
I/rmt_storage( 4925): rmt_storage open success
I/rmt_storage( 4925): rmt_storage shared memory ioctl success
I/rmt_storage( 4925): rmt_storage mmap addr = 40193000
E/rmt_storage( 4925): rmt_storage wait event ioctl failed
E/WifiHW ( 1508): Supplicant not running, cannot connect
E/WifiHW ( 1508): Supplicant not running, cannot connect
E/WifiHW ( 1508): Supplicant not running, cannot connect
E/WifiHW ( 1508): Supplicant not running, cannot connect
E/WifiStateMachine( 1508): Failed to setup control channel, restart supplicant
D/WifiHW ( 1508): wifi_stop_supplicant enter
D/WifiHW ( 1508): wifi_stop_supplicant end rifgt 1
D/StateMachine( 1508): handleMessage: new destination call exit
D/StateMachine( 1508): invokeExitMethods: SupplicantStartingState
E/WifiHW ( 1380): Failed to open wlan fw path param (No such file or directory)
E/SoftapController( 1380): Softap fwReload - failed: -1
E/WifiStateMachine( 1508): Failed to reload STA firmware java.lang.IllegalStateException: Error communicating to native daemon
W/CommandListener( 1380): Failed to retrieve HW addr for wlan0 (No such device)
D/NetworkManagementService( 1508): rsp <213 00:00:00:00:00:00 0.0.0.0 0 [down]>
D/NetworkManagementService( 1508): flags <[down]>
D/CommandListener( 1380): Setting iface cfg
E/WifiStateMachine( 1508): Unable to change interface settings: java.lang.IllegalStateException: Unable to communicate with native
daemon to interface setcfg - com.android.server.NativeDaemonConnectorException: Cmd {interface setcfg wlan0 0.0.0.0 0 [down]} fai
led with code 400 : {Failed to set address (No such device)}
D/WifiHW ( 1508): wifi_start_supplicant_common enter
D/StateMachine( 1508): handleMessage: new destination call exit
D/StateMachine( 1508): invokeExitMethods: DriverLoadedState
E/wpa_supplicant( 4948): Starting wpa_supplicant...
I/wpa_supplicant( 4948): rfkill: Cannot open RFKILL control device
E/wpa_supplicant( 4948): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 4948): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 4948): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 4948): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 4948): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 4948): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 4948): Could not read interface wlan0 flags: No such device
I/rmt_storage( 4965): rmt_storage user app start
I/rmt_storage( 4965): rmt_storage open success
I/rmt_storage( 4965): rmt_storage shared memory ioctl success
I/rmt_storage( 4965): rmt_storage mmap addr = 401fb000
E/rmt_storage( 4965): rmt_storage wait event ioctl failed
E/wpa_supplicant( 4948): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 4948): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 4948): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 4948): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 4948): nl80211: Could not set interface 'wlan0' UP
E/wpa_supplicant( 4948): wlan0: Failed to initialize driver interface
I/logwrapper( 4946): /system/bin/wpa_supplicant terminated by exit(255)
bilibox said:
So i flashed Camera4.2 and after it booted my wifi wont turn on.. it says error.. Anyway to fix this without reflashing whole rom? i removed all libs and apks that came from the zip and still no luck...
Click to expand...
Click to collapse
I would dirty-flash the ROM. Clear cache and dalvik, reflash the ROM, and reboot. It will replace the files from Camera 4.2, and since it's the exact same ROM it shouldn't have problems.
bananagranola said:
I would dirty-flash the ROM. Clear cache and dalvik, reflash the ROM, and reboot. It will replace the files from Camera 4.2, and since it's the exact same ROM it shouldn't have problems.
Click to expand...
Click to collapse
I would but i have taken a lot of things out of the stock rom and didn't want to again :/ Shouldn't have flashed that haha wasn't worth it
The Camera 4.2 shouldnt effect wifi..
Masyby you remove a little to much from the rom ?
jorgen_gustavsson said:
The Camera 4.2 shouldnt effect wifi..
Masyby you remove a little to much from the rom ?
Click to expand...
Click to collapse
Nope :/ Dirty flashed again and took out everything i took out before and wifi working perfectly

[Q] Wi-Fi network 802.1X EAP 'Password not configured'

Hello there,
I have a strange issue with my 4.2.2 (rooted; unlocked) Galaxy Nexus (GSM)
On my university we use Eduroam, a wi-fi network which uses PEAP authentication with MCHAPV2 Phase 2 auth.
What's going wrong?
When I connect to this network everything works fine until a certain point were Android somehow loses the password.
Code:
D/CommandListener( 124): Setting iface cfg
D/CommandListener( 124): Trying to bring up p2p0
I/wpa_supplicant(14426): wlan0: Trying to associate with 00:1a:1e:15:8d:20 (SSID='eduroam' freq=2412 MHz)
I/wpa_supplicant(14426): wlan0: Associated with 00:1a:1e:15:8d:20
I/wpa_supplicant(14426): wlan0: CTRL-EVENT-EAP-STARTED EAP authentication started
I/wpa_supplicant(14426): wlan0: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=25
I/wpa_supplicant(14426): wlan0: CTRL-EVENT-EAP-METHOD EAP vendor 0 method 25 (PEAP) selected
I/wpa_supplicant(14426): wlan0: CTRL-EVENT-EAP-PEER-CERT depth=3 subject='/C=SE/O=AddTrust AB/OU=AddTrust External TTP Network/CN=AddTrust External CA Root'
I/wpa_supplicant(14426): wlan0: CTRL-EVENT-EAP-PEER-CERT depth=3 subject='/C=SE/O=AddTrust AB/OU=AddTrust External TTP Network/CN=AddTrust External CA Root'
I/wpa_supplicant(14426): wlan0: CTRL-EVENT-EAP-PEER-CERT depth=2 subject='/C=US/ST=UT/L=Salt Lake City/O=The USERTRUST Network/OU=/CN=UTN-USERFirst-Hardware'
I/wpa_supplicant(14426): wlan0: CTRL-EVENT-EAP-PEER-CERT depth=1 subject='/C=NL/O=TERENA/CN=TERENA SSL CA'
I/wpa_supplicant(14426): wlan0: CTRL-EVENT-EAP-PEER-CERT depth=0 subject='/C=NL/O=Universiteit Utrecht/OU=ICT Service Centrum/CN='
I/ActivityManager( 385): START u0 {act=android.settings.WIFI_SETTINGS flg=0x14000000 cmp=com.android.settings/.Settings$WifiSettingsActivity} from pid 530
D/BluetoothAdapter( 8904): 1110622808: getState() : mService = null. Returning STATE_OFF
I/Choreographer( 8904): Skipped 31 frames! The application may be doing too much work on its main thread.
D/WifiService( 385): setWifiEnabled: true pid=8904, uid=1000
D/BluetoothAdapter( 8904): 1110622808: getState() : mService = null. Returning STATE_OFF
I/ActivityManager( 385): Process org.yoki.android.buienalarm (pid 14014) has died.
I/ActivityManager( 385): Process com.google.android.calendar (pid 14258) has died.
I/ActivityManager( 385): Displayed com.android.settings/.Settings$WifiSettingsActivity: +940ms
I/wpa_supplicant(14426): EAP-MSCHAPV2: Password not configured
I/wpa_supplicant(14426): wlan0: CTRL-REQ-PASSWORD-2:Password needed for SSID eduroam
W/Settings( 670): Setting auto_time_zone has moved from android.provider.Settings.System to android.provider.Settings.Global, returning read-only value.
D/AlarmManagerService( 385): Kernel timezone updated to -120 minutes west of GMT
What I've already tried
Manually downloading and installing the certificate
Manually adding the wifi as 'hidden network'
Downloading an app, and installing it from there
Using a different kernel with updated Wifi Drivers (AK Rubik r30)
This problem occurs in stock ROM and in PA ROM. With stock kernel and the Fancy Kernel, AL Rubik
Please help me identify the solution to this problem, I've googled AND searched in XDA-forums, but to no avail as of yet.
This problem as been there for a week now, and there was a time were it just worked. (Same phone)
I know no one else on campus with this problem.
Maybe this problem is smaller.
What in essence goes wrong is that Android deletes the password from its wpa_supplicant.conf.
Is this a known issue?
I tried multiple ROM's, my password didn't change between 4.0 and 4.2.2...
Should I try downgrading wpa_supplicant itself?
Code:
network={
ssid="eduroam"
scan_ssid=1
key_mgmt=WPA-EAP IEEE8021X
eap=PEAP
identity="<student number>@soliscom.uu.nl"
password="<a password with capitals numbers and special tokens>"
ca_cert="keystore://CACERT_eduroam"
phase2="auth=MSCHAPV2"
}
Bump

BlueZ nexus 7 2013

I build the AOSP whit full bluez support. I build it and flash it but it doesn't connect. It just disconnect automatically.
Here are some logs:
Code:
<6>[ 1099.458312] device bt-pan0 entered promiscuous mode
<6>[ 1099.507263] device bt-pan0 left promiscuous mode
<6>[ 1099.507751] bt-pan: port 1(bt-pan0) entered disabled state
Code:
D/BluetoothPanServiceJni( 3085): connection_state_callback(L72): state:1, local_role:1, remote_role:2
D/PanService( 3085): handlePanDeviceStateChange preState: 0 state: 1
I/bluetoothd( 3104): bnep: bridge bt-pan: interface bt-pan0 added
D/BluetoothPanServiceJni( 3085): control_state_callback(L61): state:0, local_role:1, ifname:bt-pan
D/BluetoothPanServiceJni( 3085): connection_state_callback(L72): state:0, local_role:1, remote_role:2
D/PanService( 3085): Pan Device state : device: 14:30:C6:77:39:D2 State:0->1
D/BluetoothAdapterService( 3085): getAdapterService() - returning [email protected]
D/Tethering( 627): sendTetherStateChangedBroadcast 1, 0, 0
D/Tethering( 627): InitialState.processMessage what=4
D/PanService( 3085): handlePanDeviceStateChange preState: 1 state: 2
D/PanService( 3085): handlePanDeviceStateChange BT tethering is off/Local role is PANU drop the connection
D/BlueZ ( 3085): external/bluetooth/bluez/android/hal-pan.c:pan_disconnect()
D/Tethering( 627): sendTetherStateChangedBroadcast 0, 0, 0
D/BluetoothPanServiceJni( 3085): connection_state_callback(L72): state:2, local_role:1, remote_role:2
D/CachedBluetoothDevice( 2119): onProfileStateChanged: profile PAN newProfileState 1
E/bluetoothd( 3104): bnep: Can't delete bt-pan0 from the bridge bt-pan: No such device(19)
D/BluetoothAdapterProperties( 3085): CONNECTION_STATE_CHANGE: 14:30:C6:77:39:D2: 0 -> 1
D/PanService( 3085): handlePanDeviceStateChange preState: 1 state: 0
D/PanService( 3085): Pan Device state : device: 14:30:C6:77:39:D2 State:1->0
D/BluetoothAdapterService( 3085): getAdapterService() - returning [email protected]
D/BluetoothAdapterProperties( 3085): CONNECTION_STATE_CHANGE: 14:30:C6:77:39:D2: 1 -> 0
I/LocalBluetoothProfileManager( 2119): Failed to connect PAN device
D/CachedBluetoothDevice( 2119): onProfileStateChanged: profile PAN newProfileState 0

Nexus 7 (2013) won't connect to my home Wi-Fi (running Android 6.0.1)

I bought a second-hand Wi-Fi only Google/Asus Nexus 7 (2013), which came wiped, with Android 6.0.1 installed, but it won't connect to my home Wi-Fi router. It will save the details but when it tries to connect I get the message 'Wi-Fi Connection Failure'. I am certain the password is correct.
Other devices connect without problems, and I have successfully connected the Nexus to a work Wi-Fi network, but it's no good to me if it won't connect at home. I previously had another Nexus 7 that would connect fine, but was recently bricked by an Android update.
I have tried all suggested fixes I can find online, including:
- Restarting the router
- Wiping data on the Nexus 7
- Restarting the Nexus (in safe and normal mode)
- Switching Wi-Fi/Airplane Mode on and off on the Nexus 7
- Forgetting and re-entering the network details
- Changing the frequency on the Nexus 7
- Changing the channel and security settings on the router
None has any effect. As far as I know my router is on the latest firmware. It's a Sky Hub, which broadcasts at 2.4 GHz.
Can anyone think of a fix or any known issues? I can return the device free to the retailer but would like to see if I can avoid the hassle. I'm also going to avoid doing anything involving rooting the tablet for now in case that voids the warranty.
Let's see the log:
turn off wifi
run: adb logcat -v time > log.txt
turn on wifi
when you see the error, end adb log with ctrl-c immediately
zip up "log.txt" and attach it here
Be quick because the log gets big fast.
We'll be interested mostly in wpa_supplicant messages:
Code:
03-10 23:35:08.318 I/wpa_supplicant( 1879): wlan0: Trying to associate with SSID 'CC1'
03-10 23:35:08.432 D/Tethering( 561): sendTetherStateChangedBroadcast 1, 0, 0
03-10 23:35:08.436 D/NetworkManagementService( 561): getNetworkStatsSummaryXt:NetworkStats: elapsedRealtime=102015
03-10 23:35:08.436 D/NetworkManagementService( 561): [0] iface=lo uid=-1 set=ALL tag=0x0 rxBytes=0 rxPackets=0 txBytes=0 txPackets=0 operations=0
03-10 23:35:08.438 D/NetworkManagementService( 561): getNetworkStatsSummaryDev:NetworkStats: elapsedRealtime=102019
03-10 23:35:08.438 D/NetworkManagementService( 561): [0] iface=lo uid=-1 set=ALL tag=0x0 rxBytes=0 rxPackets=0 txBytes=0 txPackets=0 operations=0
03-10 23:35:08.441 I/wpa_supplicant( 1879): wlan0: Associated with 00:04:ad:d5:e2:0a
03-10 23:35:08.722 I/wpa_supplicant( 1879): wlan0: WPA: Key negotiation completed with 00:04:ad:d5:e2:0a [PTK=CCMP GTK=CCMP]
03-10 23:35:08.726 I/wpa_supplicant( 1879): wlan0: CTRL-EVENT-CONNECTED - Connection to 00:04:ad:d5:e2:0a completed [id=0 id_str=]
Ok, no idea if I've done this right, but here goes (I'm trying to connect to SSID SKY8DBEF):
Code:
03-11 22:37:49.844 D/WifiService( 597): Connect with config* ID: -1 SSID: "SKY8DBEF" PROVIDER-NAME: null BSSID: null FQDN: null PRIO: 0
03-11 22:37:49.844 D/WifiService( 597): KeyMgmt: WPA_PSK Protocols:
03-11 22:37:49.844 D/WifiService( 597): AuthAlgorithms:
03-11 22:37:49.844 D/WifiService( 597): PairwiseCiphers:
03-11 22:37:49.844 D/WifiService( 597): GroupCiphers:
03-11 22:37:49.844 D/WifiService( 597): PSK: *
03-11 22:37:49.844 D/WifiService( 597): Enterprise config:
03-11 22:37:49.844 D/WifiService( 597): IP config:
03-11 22:37:49.844 D/WifiService( 597): IP assignment: DHCP
03-11 22:37:49.844 D/WifiService( 597): Proxy settings: NONE
03-11 22:37:49.844 D/WifiService( 597): cuid=-1 luid=-1 lcuid=0 userApproved=USER_UNSPECIFIED noInternetAccessExpected=false roamingFailureBlackListTimeMilli: 1000
03-11 22:37:49.844 D/WifiService( 597): triggeredLow: 0 triggeredBad: 0 triggeredNotHigh: 0
03-11 22:37:49.844 D/WifiService( 597): ticksLow: 0 ticksBad: 0 ticksNotHigh: 0
03-11 22:37:49.844 D/WifiService( 597): triggeredJoin: 0
03-11 22:37:49.844 D/WifiService( 597): autoJoinBailedDueToLowRssi: false
03-11 22:37:49.844 D/WifiService( 597): autoJoinUseAggressiveJoinAttemptThreshold: 0
03-11 22:37:49.845 I/chatty ( 597): uid=1000(system) WifiStateMachin expire 26 lines
03-11 22:37:49.850 E/WiFiServiceImpl ( 597): CONNECT nid=-1 uid=1000 name=android.uid.system:1000
03-11 22:37:49.850 D/WifiService( 597): Connect with config* ID: -1 SSID: "SKY8DBEF" PROVIDER-NAME: null BSSID: null FQDN: null PRIO: 0
03-11 22:37:49.850 D/WifiService( 597): KeyMgmt: WPA_PSK Protocols:
03-11 22:37:49.850 D/WifiService( 597): AuthAlgorithms:
03-11 22:37:49.850 D/WifiService( 597): PairwiseCiphers:
03-11 22:37:49.850 D/WifiService( 597): GroupCiphers:
03-11 22:37:49.850 D/WifiService( 597): PSK: *
03-11 22:37:49.850 D/WifiService( 597): Enterprise config:
03-11 22:37:49.850 D/WifiService( 597): IP config:
03-11 22:37:49.850 D/WifiService( 597): IP assignment: DHCP
03-11 22:37:49.850 D/WifiService( 597): Proxy settings: NONE
03-11 22:37:49.850 D/WifiService( 597): cuid=-1 luid=-1 lcuid=0 userApproved=USER_UNSPECIFIED noInternetAccessExpected=false roamingFailureBlackListTimeMilli: 1000
03-11 22:37:49.850 D/WifiService( 597): triggeredLow: 0 triggeredBad: 0 triggeredNotHigh: 0
03-11 22:37:49.850 D/WifiService( 597): ticksLow: 0 ticksBad: 0 ticksNotHigh: 0
03-11 22:37:49.850 D/WifiService( 597): triggeredJoin: 0
03-11 22:37:49.850 D/WifiService( 597): autoJoinBailedDueToLowRssi: false
03-11 22:37:49.850 D/WifiService( 597): autoJoinUseAggressiveJoinAttemptThreshold: 0
03-11 22:37:49.854 D/audio_hw_primary( 195): out_set_parameters: enter: usecase(1: low-latency-playback) kvpairs: routing=2
03-11 22:37:49.887 I/Keyboard.Facilitator( 1008): onFinishInput()
03-11 22:37:49.891 D/AudioFlinger( 195): mixer(0xb4200000) throttle end: throttle time(4)
03-11 22:37:50.021 I/wpa_supplicant( 961): wlan0: Trying to associate with SSID 'SKY8DBEF'
03-11 22:37:51.062 I/wpa_supplicant( 961): wlan0: CTRL-EVENT-ASSOC-REJECT bssid=c0:3e:0f:8e:ea:15 status_code=1
03-11 22:37:51.062 I/wpa_supplicant( 961): wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=1 ssid="SKY8DBEF" auth_failures=1 duration=10 reason=CONN_FAILED
03-11 22:37:53.070 D/audio_hw_primary( 195): disable_audio_route: reset and update mixer path: low-latency-playback
03-11 22:37:53.071 D/audio_hw_primary( 195): disable_snd_device: snd_device(2: speaker)
03-11 22:38:01.658 I/wpa_supplicant( 961): wlan0: CTRL-EVENT-SSID-REENABLED id=1 ssid="SKY8DBEF"
03-11 22:38:01.665 I/chatty ( 597): uid=1000(system) WifiStateMachin expire 10 lines
03-11 22:38:16.975 E/ ( 193): invalid crash request of size 4 (from pid=5518 uid=0)
03-11 22:38:17.101 I/chatty ( 597): uid=1000 system_server expire 1 line
03-11 22:38:17.127 E/Diag_Lib( 5816): Diag_LSM_Init: Failed to open handle to diag driver, error = 2
03-11 22:38:17.127 E/Sensors ( 5816): sns_fsa_la.c(386):fsa: fflush failed, 9
03-11 22:38:17.128 E/Sensors ( 5816): sns_fsa_la.c(386):fsa: fflush failed, 9
03-11 22:38:17.154 W/Sensors ( 5816): sns_smr_la.c(446):smr_la: smr_apps_la_thread_main is starting, fd=11, sns_smr.en_rx_msg_ptr=b70009f8
03-11 22:38:17.175 W/Sensors ( 5816): sns_sam_app.c(6827):sns_sam_reg_algo: Registering algo service 16, err 0
03-11 22:38:17.195 E/Sensors ( 5816): sns_debug_main.c(565):Debug Config File missing in EFS!
03-11 22:38:28.381 I/chatty ( 597): uid=1000(system) HeapTaskDaemon expire 1 line
03-11 22:38:49.925 I/Keyboard.Facilitator.LanguageModelFlusher( 1008): run()
03-11 22:38:49.925 I/Keyboard.Facilitator( 1008): flushDynamicLanguageModels()
03-11 22:38:58.429 I/wpa_supplicant( 961): wlan0: Trying to associate with SSID 'SKY8DBEF'
03-11 22:38:59.567 I/wpa_supplicant( 961): wlan0: CTRL-EVENT-ASSOC-REJECT bssid=c0:3e:0f:8e:ea:15 status_code=1
03-11 22:38:59.567 I/wpa_supplicant( 961): wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=1 ssid="SKY8DBEF" auth_failures=1 duration=10 reason=CONN_FAILED
[/QUOTE]
mpb39 said:
Ok, no idea if I've done this right, but here goes (I'm trying to connect to SSID SKY8DBEF)
Click to expand...
Click to collapse
It logs:
Code:
wlan0: CTRL-EVENT-ASSOC-[B]REJECT [/B]bssid=c0:3e:0f:8e:ea:15
wlan0: ... id=1 ssid="SKY8DBEF" [B]auth_failures=1[/B]
The router rejects your N7. Can you check the router's own logs?
On your N7 go to WiFi Direct and rename the device. This will re-generate fresh /data/misc/wifi/wpa_supplicant.conf and may fix the problem which really looks like a bad passphrase.
Ok, I renamed it Nexus7, but it didn't have any effect. Exact same problem.
The router logs that I can access aren't detailed enough to show anything about device connections, as far as I can tell. Just router startups etc. And the N7 isn't showing up in the list of attached devices.
Any other ideas?
I'm thinking I should return the N7 to the retailer on Monday since I'm in a 14-day return period, so it doesn't matter if it's actually broken or not. Either way, if I can't connect to my home Wi-Fi the device is really no good to me.
k23m said:
It logs:
Code:
wlan0: CTRL-EVENT-ASSOC-[B]REJECT [/B]bssid=c0:3e:0f:8e:ea:15
wlan0: ... id=1 ssid="SKY8DBEF" [B]auth_failures=1[/B]
The router rejects your N7. Can you check the router's own logs?
On your N7 go to WiFi Direct and rename the device. This will re-generate fresh /data/misc/wifi/wpa_supplicant.conf and may fix the problem which really looks like a bad passphrase.
Click to expand...
Click to collapse
mpb39 said:
I bought a second-hand Wi-Fi only Google/Asus Nexus 7 (2013), which came wiped, with Android 6.0.1 installed...
Click to expand...
Click to collapse
It was wiped but the OS could have been modified. Does it accept OTA now? I'd reflash it with factory image anyway.
i was experienced the same problem with you, that was after i changed its mac address. what i did is i changed it back to the default one and its working fine again.
I suppose that could have been the problem, but would a factory reset not restore the original MAC code if it had been changed?
Anyway, I've returned the device to the retailer for a refund now.

Categories

Resources