Hi. I have very weird issue with my both WiFi and cellular icons on my OPX_Lin15 phone.
What I am experiencing is that both WiFi and cellular icons have small 'x' symbol in the strength bar and basically it says that "connected, not internet" .
I can browse an internet on both WiFI and cellular, but I cannot download any apps from Google Play "Pending Download".
This started suddenly without system being updated and it happens on all networks (tested home/office wifi and cell provider)
Have tried follows
- reboot home router
- reset network settings
- reset / delete cache and data of Google Play
- flash the latest Lineage 15 ROM
Still same issue, Thank you
vecoo said:
Hi. I have very weird issue with my both WiFi and cellular icons on my OPX_Lin15 phone.
What I am experiencing is that both WiFi and cellular icons have small 'x' symbol in the strength bar and basically it says that "connected, not internet" .
I can browse an internet on both WiFI and cellular, but I cannot download any apps from Google Play "Pending Download".
This started suddenly without system being updated and it happens on all networks (tested home/office wifi and cell provider)
Have tried follows
- reboot home router
- reset network settings
- reset / delete cache and data of Google Play
- flash the latest Lineage 15 ROM
Still same issue, Thank you
Click to expand...
Click to collapse
You have got 2 options:
1) If you have got root, you can enable the local terminal in developer options, then open the terminal and then write:
su -c "adb shell settings put global captive_portal_mode 0"
enter & reboot the phone.
2) over usb cable connected to the phone with adb on your PC:
Open a comand line window and go to the dir where you've got the adb & fastboot.
Write:
adb shell<enter>
settings put global captive_portal_mode 0<enter>
reboot the phone
I got this but i managed to fix it.
Code:
adb shell
settings put global captive_portal_mode 0
Now switch on airplane mode then switch it back off
Code:
settings put global captive_portal_https_url https://clients3.google.com/generate_204
settings put global captive_portal_http_url https://clients3.google.com/generate_204
settings put global captive_portal_mode 1
Now switch airplane mode on then switch it back off.
Fixed and you retain your ability to have captive portal detection
Related
I'm not sure whether this post belongs here, but I have googled high and low and I have not found anything that directly pertains to my Samsung Galaxy S2 issue. And here at XDA, the VPN questions seem to be about private VPNs (not commercial).
I am currently running Android 2.3.4 Gingerbread.XXKG6
I follow these steps for connecting to a LT2P
www_dot_hopthewall_dot_com/wiki/wiki/Android_L2TP_Over_IPSec
And these for PPTP
www_dot_hopthewall_dot_com/wiki/wiki/Installing_personalVPN-PPTP_on_Android_Mobile_Phone
I have tried the PPTP and L2TP
Both fail to connect
L2TP yields:
"Unable to connect to network. Try again?"
But no additional error message.
PPTP however, seems to allow the connection.
I connected a few times.
I used pptp.sfo.witopia.net. as the VPN server
That seemed to let me connect a few times;
and according to hide-my-ip.com I had an L.A. IP
But now, when I try to connect, I'm getting an error message that reads:
"Server hung up. User name or password incorrect. Try again?"
But I didn’t do or change anything. I just tried to connect as usual.
I've tried
restarting the phone.
waiting a while.
Connecting with the computer (connects without a problem)
I tried connecting to the different VPN servers.
I also tried connecting changing the VPN server from URL to an IP address,
but that just tells me "Unable to connect to network. Try again?"
I am at a loss...
I have tried at home, on my wifi account...
The same one that my computer is on, but no dice.
The VPN service provider is also at a loss.
They said "...iPhones connect all day..." (talk about a kick in the teeth)
They asked me if I wanted to cancel my account and request a refund.
Nice.
Thanks for the replies.
This forums are always so helpful.
No, that's okay, don't get up. I'll get that.
A two part work around I found was:
PART I
Sharing the VPN Connection Over WiFi by Converting my Laptop into WiFi VPN Router. An article by BESTVPNSERVICE.COM
Using a Windows 7 machine with a Wi-Fi NIC
1) Click on your computers start button and in the search box type “cmd” and wait for it to appear on the menu.
2) After it appears, right click on it and select “Run As Administrator”.
3) When the Black Command Prompt Opens up, type the following command and press enter
4) netsh wlan show drivers
5) You will see something like the following image. If the ‘Hosted Network Supported’ (in the red square) say ‘Yes’, it means the driver is installed and if it says ‘No’, download the drivers.
6) Once it is made sure that you have the required driver, it’s time to set it up.
7) Type netsh wlan set hostednetwork mode=allow ssid=test key=password. Following Screen would appear. (Devices will detect network SSID as “test” change it to anything you want. Moreover, ‘key’ is your password which in this case is ‘password’, change it to whatever you want, I would suggest you to not to use numbers in password)
8 ) Then type, netsh wlan start hostednetwork. You will see the messages illustrated in the snap shot.
9) If you see the message that the ‘hosted network couldn’t be started’, then your WiFi driver is outdated, the best way to update the WiFi driver is Run you Windows Update or download the latest version from its official website.
10) Now that we have setup hosted network, we will make sure that it is shared on public Wi-Fi.
11) To do this, click on your Wi-Fi signal buttons on the bottom right hand corner of your screen.
12) Click on ‘Open Network and Sharing Center’.
13) Then click on Change adapter settings.
14) Click on the Connection that has description of ‘Your Created VPN Connection’ and right click on the Icon to go to its properties.
15) In Properties, go to ‘Sharing’ tab and check on ‘Allow Other Network User to connect through this computer…’
16) From the drop down menu of ‘Home Networking Connection’, Select the connection which had a description of ‘Microsoft Virtual WiFi Miniport Adapter’/’Virtula AP’ or it can be ‘Wireless Network Connection 2’ as in my case.
17) Check on the ‘Allow other network users to control or disable….’ Option as well.
18) Click ok and you are all set to go now.
19) Connect your VPN and ask your Friends or Colleague to discover your VPN enabled WiFi Connection.
20) Now, whenever you will restart your computer, your Shared WiFi connection will be disabled. You will have to reenter only the following command in the command prompt to enable it again.
netsh wlan start hostednetwork (or create a custom batch file for this, if you want to avoid reentering the command every time).
PART II
If the wi-fi direct on your phone isn't discovering your freshly created network,
you may need enable Ad Hoc connections for it.
For that I looked at an article here; but instead of Root Explorer is simply used ES Explorer:
Download this version of wpa_supplicant
Like I said, I used "ES Explorer"
• use "ES Explorer" to mount /system/bin/ and make a backup of wpa_supplicant
• rename the current one to wpa_supplicant.bak and copy the new wpa_supplicant to /system/bin
• then we need to adjust the permissions on the file to:
ticked - All options in the read and execute columns; and write column owner row
unticked - write column & group row; write column & others row.
• change /system/bin back to read only
• disable and re-enable wireless
• now your adhoc wireless network should be listed with the other wireless networks and you can connect.
After this two maneuvers, I was able to connect my phone to my laptop using my laptop's internet access and thus connecting to the VPN.
I find that the order of network activation matters.
What I mean is:
First connect to the internet (router, modem, or however that may be)
Then connect to the VPN
And then activate and connect to the hostednetwork.
I hope this helps someone, despite the fact that you have to be within wifi range of your windows machine. It's not quite the same as being on the streets and connecting to your VPN -but Android can't [consistently and reliably] connect to VPNs. And since no one replied to me here it stands to reason that no one knows how to get Android to connect to commercial VPN services (not even WiTopia's tech support).
I have a Samsung Galaxy S III and I have a problem which occurs on all the roms I have tried so far: Paranoid Android, Cyanogenmod and Ultimarom: When using Automateit to frequently turn wifi on and off, wifi breaks after a while (no fixed time, sometimes there are days without problems), which means wifi can not be turned on again, neither manually, nor automatically. When turning it on, no networks are shown. The only fix is a reboot.
Now I am looking for a solution which could avoid the reboot. I want to now if there are shell commands to restart/reload the wifi module manually. Then I could use the Automateit-Shell extension to frequently do this automatically. Does anyone know how to do this?
Samba
sambahb said:
I have a Samsung Galaxy S III and I have a problem which occurs on all the roms I have tried so far: Paranoid Android, Cyanogenmod and Ultimarom: When using Automateit to frequently turn wifi on and off, wifi breaks after a while (no fixed time, sometimes there are days without problems), which means wifi can not be turned on again, neither manually, nor automatically. When turning it on, no networks are shown. The only fix is a reboot.
Now I am looking for a solution which could avoid the reboot. I want to now if there are shell commands to restart/reload the wifi module manually. Then I could use the Automateit-Shell extension to frequently do this automatically. Does anyone know how to do this?
Samba
Click to expand...
Click to collapse
From terminal on your phone:
1.
Code:
su
ls /sys/class/net
It will list your interfaces. For wlan it will probably be wlan0.
Then:
2.
Code:
ifconfig wlan0 down
For bringing it up:
3.
Code:
ifconfig wlan0 up
Tried on my stock 4.3 now, works ok for going down. But it automatically brings it up after ~ 10 secs.
Hi guys so I got the ATT version of LG V10 and I unlocked it. after put in my T mobile simcard everything works fine except for I wasnt able to get mobile data. So i set up a new APN and now mobile data is working fine with 4g Lte. However, when i tried to turn on my mobile hotspot, I kept getting this error.
Authentication was unsuccessful.
There is a temporary network problem that prevents the enablement of the Mobile Hotspot function. Please retry later.
I tried messing with the set ups and restarting and about all the things i can think of but still cant fix the error. if somebody know how to fix this please help me.
Thank you very much
SOCONFUSED123 said:
Hi guys so I got the ATT version of LG V10 and I unlocked it. after put in my T mobile simcard everything works fine except for I wasnt able to get mobile data. So i set up a new APN and now mobile data is working fine with 4g Lte. However, when i tried to turn on my mobile hotspot, I kept getting this error.
Authentication was unsuccessful.
There is a temporary network problem that prevents the enablement of the Mobile Hotspot function. Please retry later.
I tried messing with the set ups and restarting and about all the things i can think of but still cant fix the error. if somebody know how to fix this please help me.
Thank you very much
Click to expand...
Click to collapse
Hello, I was just wondering if you ever found a solution to this problem? I am thinking about unlocking my AT&T LG V10 and switching it over to T-Mobile but I would hate not being able to use the phone as a mobile hotspot on T-Mobile.
Please let me know if you found a solution, thank you.
Possible solution
In case anyone is interested, I found that the following helped my laptop to connect to my mobile hotspot and have interent access.
1. Download Settings Database Editor from Google Play
2. Scroll down to find "tether_entitlement_check_state" under the System Table and set it to "0" without the quotations.
3. Then you will need to download adb onto your computer. This tutorial is helpful: https://forum.xda-developers.com/showthread.php?t=2141817
3. Once you install adb onto your computer you will want to follow the steps about opening the cmd function as administrator and type "adb devices" in lowercase and no quotations so that your computer can find your device. If it cannot find the device then you will need to download the necessary drivers to your computer. This can be found at the lg main website. I just downloaded all of them.
4. Once it can find your device then type in adb shell. However, if it cannot find your device you may need to switch some things up like under Tethering in your phone, turn on the USB tethering. Type the command adb device once more. This should allow your computer to find it and authorize it.
5. Once device is found and authorized type in adb shell. Once that commands registers, then type in the following: "pm grant by4a.setedit22 android.permission.WRITE_SECURE_SETTINGS" without quotations.
6. Now you should be able to go back to the Settings Database Editor app, change to global table and scroll down to find "tether_dun_required" and set that to 0. (You may find it helpful to also add these prompts in the adb command prompt as well by typing "settings put global tether_dun_required 0" without quotes after the adb shell command)
7. Now your laptop should be able to connect to your mobile hotspot (once it's set up and turned on your lg v10) If it still doesn't have internet access even though it's connected then you need to follow the steps from this website: https://www.digitalreborn.com/fix-android-wifi-tethering-dns-responding/
Yay! Success it should all work. Note I did not find the DNS Changer described in the above link. I just went to google play and typed in DNS Charger and picked the one that popped up first and followed the instructions, turned on my VPN and once it was set up and connected I had internet access on my laptop through my mobile hotspot! However, you will need to go through all these settings again if either phone or laptop restarts. I haven't figured out how to make phone and laptop to keep these changes. Hope this helps someone because it took me forever to figure this out. Shalom.
Solved
combat_chicka said:
In case anyone is interested, I found that the following helped my laptop to connect to my mobile hotspot and have interent access.
1. Download Settings Database Editor from Google Play
2. Scroll down to find "tether_entitlement_check_state" under the System Table and set it to "0" without the quotations.
3. Then you will need to download adb onto your computer. This tutorial is helpful: https://forum.xda-developers.com/showthread.php?t=2141817
3. Once you install adb onto your computer you will want to follow the steps about opening the cmd function as administrator and type "adb devices" in lowercase and no quotations so that your computer can find your device. If it cannot find the device then you will need to download the necessary drivers to your computer. This can be found at the lg main website. I just downloaded all of them.
4. Once it can find your device then type in adb shell. However, if it cannot find your device you may need to switch some things up like under Tethering in your phone, turn on the USB tethering. Type the command adb device once more. This should allow your computer to find it and authorize it.
5. Once device is found and authorized type in adb shell. Once that commands registers, then type in the following: "pm grant by4a.setedit22 android.permission.WRITE_SECURE_SETTINGS" without quotations.
6. Now you should be able to go back to the Settings Database Editor app, change to global table and scroll down to find "tether_dun_required" and set that to 0. (You may find it helpful to also add these prompts in the adb command prompt as well by typing "settings put global tether_dun_required 0" without quotes after the adb shell command)
7. Now your laptop should be able to connect to your mobile hotspot (once it's set up and turned on your lg v10) If it still doesn't have internet access even though it's connected then you need to follow the steps from this website: https://www.digitalreborn.com/fix-android-wifi-tethering-dns-responding/
Yay! Success it should all work. Note I did not find the DNS Changer described in the above link. I just went to google play and typed in DNS Charger and picked the one that popped up first and followed the instructions, turned on my VPN and once it was set up and connected I had internet access on my laptop through my mobile hotspot! However, you will need to go through all these settings again if either phone or laptop restarts. I haven't figured out how to make phone and laptop to keep these changes. Hope this helps someone because it took me forever to figure this out. Shalom.
Click to expand...
Click to collapse
This worked for me, but I have a couple clarifications to add.
First, in case it wasn't clear, this does NOT require root to work. But after restarting the phone and/or uninstalling Settings Database Editor these steps need to be repeated again and again. Not that big a deal if u don't restart your phone often but still a pain in the neck. For me it's still preferable over rooting and installing a custom rom though so I'm very appreciative for this solution.
Also, finding the LG v10 adb drivers was the most time consuming part of the process. I found working ones here
Drivers also attached in case link goes dead
Just for tempuary.
Could it be cleaning tools messing it up? SD Maid and Norton.
https://play.google.com/store/apps/details?id=com.symantec.cleansweep
https://play.google.com/store/apps/details?id=eu.thedarken.sdm
https://play.google.com/store/apps/details?id=eu.thedarken.sdm.unlocker
What do you mean by wifi app?
If your wifi is not working, it may be that your particular card is not supported.
It was working a few days ago. Last night it showing .... and no connection saved pop up. Blink and continue loading.
@Dunard
I recommend rebooting Remix OS in Safe Mode - it will boot without all 3rd party apps - only basic system ones. If WiFi wil work in Safe Mode, it means some installed app must've got WiFi broken.
To boot in safe mode:
1. ALT+F1 to go into terminal (Must be first enabled - Settings > Experimental Features > Enable debug terminal console)
2. Enter following command:
setprop persist.sys.safemode 1
Click to expand...
Click to collapse
3. Enter command "reboot" to restart computer.
4. Remix will start in Safe mode.
Next reboot of Remix will discard safe mode setting - system will boot normally.
ok thanks
I am trying to change saved WiFi networks on rooted Android 9 by updating file /data/misc/wifi/WifiConfigStore.xml. Right now, I am getting the following results:
Prepare WiFiConfigStore.xml with new WiFi networks on a computer
Disable WiFi on Android device
Push WiFiConfigStore.xml to Android device via ADB
Enable WiFi on Android device
Check Saved WiFi networks - Android doesn't display any network
Reboot the Android device
Check Saved WiFi networks - Android shows the networks from uploaded WiFiConfigStore.xml
Is there any way to let WiFi service know to reload WifiConfigStore.xml file without rebooting the entire device? I tried command "svc wifi disable; svc wifi enable", as well as killing all processes running under user "wifi", but that doesn't force Android to reload the config.
Is there any way to let WiFi service know to reload WifiConfigStore.xml file without rebooting the entire device?
Click to expand...
Click to collapse
pkill system_server
.. but that is more or less a "warm reboot" .....
The file is read/write by the WifiManagerThread of this process
regards
Bernd