[Q] WPA Enterprise with PEAP and MSCHAPV2 Using wpa_supplicant.conf - General Questions and Answers

As a point of reference, I am using a rooted HTC G2 running GingerVillain 1.5.
I have been trying to manually connect to my University's wifi (UT of Arlington if it's any help) The Xpress connect app they recommend does not work as it does not detect the network or something or rather. I don't want to mess with it anymore as it would be better to have the settings OS based than app based unless there is no other way.
So, I tried to set it up manually according to what my computer had set up: PEAP with MSCHAPV2. Android only offered "none specified" for user or CA certificates. It acts like it is going to connect, then promptly disconnects.
I think my problem is similar to this topic which was resolved: http://forum.xda-developers.com/showthread.php?t=576407
However, whenever I pull wpa_supplicant.conf and change anything, Wi-Fi won't start on the phone. Is there something else I need to do to get a modified one to work? I'll probably still have to play with some settings to get it to actually work with my university.

Ok, I found this topic http://forum.xda-developers.com/showthread.php?t=692254 which fixes the wifi crash when rebooting after modifying wpa_supplicant.conf I'll have to see if I can get the network to work next time I can go to school.

Related

School wifi problem

Just got my Samsung Captivate about a month and I got my wifi connected to the school network, but when i open the broswer or any apps need internet i didnt get any connections? at the first week it works.. and when connecting to the school wifi it should be come out with the school login page,, then the internet will work.. however the wifi is connected doesnt matter how strong the wifi singal is.. it just cant load and cant bring me to the login page..
I really need help..
and the wifi works everywhere.. except my school...
btw my friends iphone 3gs works..
I am also at college and have had the same problem. the best reason I have found is the phone itself. half of our wifi is an older standard that does not work on the phone. it shows up as wep and i can not get it to recognize it as 802.1x . in my tinkering I have also messed up the wifi that was working.
long story short it probably won't work. I have spent a long time trying to get it to work with no luck
Sent from my SAMSUNG-SGH-I897 using XDA App
Hello to both of you,
I also attend a college with an 802.1x connection and the captivate supports most of these networks; however you will probably need to configure the network settings manually (usually retrievable on your schools IT site). If you dont mind digging up your settings I would love to check to see if I can configure your phone.
FYI, you might be having a problem similar to what's seen in this post.
http://androidforums.com/captivate-support-troubleshooting/142397-odd-netmask-issues-wifi.html
I definitely had this problem today. It appeared connected but no web pages would load. Going to have to investigate further. Why can't things just work
I know my school recently implemented some new security certificates that you must agree to before logging in, has anything like that changed for you? My wife's Aria is running 2.2 and can log into the school network, but my captivate cannot. It is frustrating I know.
Seems some colleges and universities are noticing issues with android devices letting the DHCP leases to expire but keeps using the IP address assigned instead of requesting a new one.
See the following links.
h t t p ://www . natecarlson . com/2010/08/27/android-att-captivates-wifi-networking-is-broken/
h t t p ://www . net . princeton . edu/android/android-stops-renewing-lease-keeps-using-IP-address-11236.html
I actually have similar issues with my Belkin wireless router at home. My laptops and other wireless devices have no problems connecting or re-connecting but the Captivate just refuses to re-connect after the connection was terminated. Even after resetting the router, the phone just keeps trying to use the same IP address for some reason.
The only way I could get it to reconnect is to either reboot the phone or to remove the AP entry which is a pain especially if you have wireless passwords.
Hopefully someone with better insight into how Eclair and Froyo handles WiFi can come up with some fix.
more solutions?
I believe the new 2.2 firmware solves this issue. I too am at College and my captivate FAILS to actually access the internet through wifi unless I statically assigned the IP.
I just updated to Froyo and it connected instantly. I'll have to do more testing to make sure, but I think Samsung finally fixed it.
captivate wifi issue at school
i just got Galaxy S (Captivate) and wi-fi is giving trouble.
when i tried at a university campus, it gives error and says can't open and try again later. it is like, i get connected to the network, IP and DNS and everything is generated. But when i open browser to open a website, instead of taking me to login page it gives the above error.
here is what i get when i try to open a website.
'web page not available'. the page might be temporarily down or it may have been moved permanently to new address.
here are some suggestions:
- check to make sure device has signal and data connection. (I made sure it is connected to wifi)
- reload page later. (i tried after 5 mins, same result)
- view cached copy from google. (doesn't work either)
i am not able to understand why is this happening. i tried restarting the phone after connecting to wifi but no luck. any pointers?
Sounds like they use a portal system which requires logon and doesn't play nice with the Captivate's browser. Unfortunately many such portal systems are written poorly and I've even seen some that only work with Internet Explorer.
You could try a different browser on the Captivate. Dolphin allows spoofing assorted User Agents, which might help.
Hey guys, I have the same problem connecting to m school's network login page. It would say connected but the website always says cant be found. But the good news is that I found a way to connect to it manually! What you need is your captivate and friends iphone 4 or 3gs. First have use your friends iphone to connect to the wifi and then go into wifi settings. You should see 2 DNS address, Ip address, netmask (subnet mask) and router address. Now jot those addresses down except the ip address. Go to settings->wireless and network->Wi-Fi settings->now tap the bottom left button under the samsung logo and click advanced. Now check use static ip. Do not enter anything for your ip address just yet (we will do this last). Now enter router address into gateway, subnet mask into netmask, DNS1 to DNS1 and DNS2 to DNS2. ok when you are done click back and tap the network you want to connect to. Once you are connected jot down your ip address by taping the network once more. now go back to where the static ip was and input the ip address you just jot down into the ip address underneath use static ip. Disconnect and reconnect to the desired network. You may have to do this a few times or reboot your phone. This has been working for me so far around different buildings but with the same school network connection. I hope this helps cheers!
sremick said:
Sounds like they use a portal system which requires logon and doesn't play nice with the Captivate's browser. Unfortunately many such portal systems are written poorly and I've even seen some that only work with Internet Explorer.
You could try a different browser on the Captivate. Dolphin allows spoofing assorted User Agents, which might help.
Click to expand...
Click to collapse
Yeah, my school uses the Bradford dissovable agent. Funny thing is, some connections work perfectly, others not at all. Technically none should work, and sometimes I feel that maybe I should tell them that sometimes somehow it is possible to bypass the whole agent thing- but why rock the boat just yet
Does it need a proxy to work? If so, this app is amazing.
http://forum.xda-developers.com/showthread.php?t=766569
I figured it out a month ago, and it is actually petty easy. But you really have to change ip address manually, usually just the last number.
Sent from my SAMSUNG-SGH-I897 using XDA App

[Q] WiFi Tether App Not Broadcasting

Hey guys,
So over the weekend I hacked my original Droid and put Cyanogenmod 7 on it (the stable one). Now I'm trying to get the WiFi Tether app working. I downloaded and installed the WiFi Tether beta found off the Google site (I can't post a direct link since I dont have the 8 post requirement). I set up the SSID name and a WEP password, but it's not broadcasting. Neither me nor my roommate can see it. I even tried connecting to it manually through my laptop just incase the SSID wasn't being broadcasted for whatever reason, but no luck there. I looked through the settings and it literally looks like there isn't much to set up. I was wondering why this is happening? I'm rooted.
When I pressed edit under the menu, then under settings and selected "(Re)-Install binaries/configs", I received the following error: "Couldn't install file - /data/data/com.googlecode.android.wifi.tether/bin/dnsmasq!" I fixed it by stopping the tether and then clicking it again, it said the install was successful. I'm on a Windows 7 machine, my roommate is on a Mac. Neither of us could see the SSID being broadcast even after I installed the binaries/configs.
Someone recommended I try Barnacle. I did, and same result. No errors or red flags, says it's broadcasting, and neither of us can see it. I hardly doubt this is an operating system issue, I believe something's not going right in the apps.

CMD for ipconfig /release , ipconfig/renew ??

My problem again is that i cant connect to a second wireless router(no password needed for second router), the 1sth router its password protected (@ my work) ,then i come home and i cant connect because the IP from my work its not gone and theres no way to release/renew
I want to know if theres an app to emulate CMD like in windows (and not a computer needed to do it),i want to do it on my tf instead (dont tell me "turn off/on your router " please, i wont be asking on mcdonalds or burguer king if they can turn off/on their router )or any other place if they can do that so i can release my ip and get a new one
Thats what i want to avoid , so if theres some way to release /renew my ip (and no computer needed) then that will be great
I have revolver rom installed , but this PROBLEM was even on the stock rom ,so is not the rom or the 2 routers, my wifes ipod 4th gen connects right away and always renews ip at any place
Please help me
Thanks in advanced
jesesystem said:
I want to know if theres an app to emulate CMD like in windows (and not a computer needed to do it),i want to do it on my tf instead (dont tell me "turn off/on your router " please, i wont be asking on mcdonalds or burguer king if they can turn off/on their router )or any other place if they can do that so i can release my ip and get a new one
Click to expand...
Click to collapse
You can use terminal emulator for "CMD" window.
Just turning off your tablet will reset the wifi and it will scan for a new access point. Leaving the area of the AP at work should cause it to scan for a new one too. If you have hard coded a static IP address in your advanced wireless settings, pick up an app like WiFi Manager from the market to allow you to have multiple profiles and switch between them.
---------- Post added at 01:15 PM ---------- Previous post was at 01:13 PM ----------
gls9 said:
You can use terminal emulator.
Click to expand...
Click to collapse
Network settings require root to perform and there are nice apps that do point and tap to set it.
gls9 said:
You can use terminal emulator for "CMD" window.
Click to expand...
Click to collapse
Do you know how to release / renew ip with that program?
drowe said:
Just turning off your tablet will reset the wifi and it will scan for a new access point. Leaving the area of the AP at work should cause it to scan for a new one too. If you have hard coded a static IP address in your advanced wireless settings, pick up an app like WiFi Manager from the market to allow you to have multiple profiles and switch between them.
---------- Post added at 01:15 PM ---------- Previous post was at 01:13 PM ----------
Network settings require root to perform and there are nice apps that do point and tap to set it.
Click to expand...
Click to collapse
Both are DHCP enabled, so i dont know why it wont release it from previous routers , ive tried turning off/on both routers and tablet aswell and the problem persist.
With wifi manager i can make my TF to "release", or forget the las ip ?
Maybe I don't understand the problem, but can't you change wireless connections in the settings/wireless menu? Tap on the new connection?
sent from my cyanogen(mod) vision
gee one said:
Maybe I don't understand the problem, but can't you change wireless connections in the settings/wireless menu? Tap on the new connection?
sent from my cyanogen(mod) vision
Click to expand...
Click to collapse
i cant release the previous ip (my work , protected with password, dhcp enabled)
when i get home i have the last IP (from work), si i try to connect at my home router but i can see i have the ip form work, and theres no way i can release it to get a new onw from my home router.
i can acces my tf options to see what connections are on range and i can connect aswell, but the old ip form work wont dissapear and i cant acces internet or any other web content because i dont have a valid IP and there no way i can get rid of it
so i was asking if theres some way/app/etc etc to get the new ip working from my home router(not password protected)
but i think thats not the problem(open router), mi wifes ipod can connect everytime she gets home, its TF problem
If you need to get a new IP, turn on airplane mode, then turn it off. Simple as that. You're seriously overcomplicating this.
a.mcdear said:
If you need to get a new IP, turn on airplane mode, then turn it off. Simple as that. You're seriously overcomplicating this.
Click to expand...
Click to collapse
i have not tried that, i will take the TF to work today and se if that works
on a side note; im not overcomplicating anything, im trying to get help for something i dont know, im just a new TF user
thank you for the advice and i hope it works
Also, just in case, you may want to check that you don't accidentally have a static IP set on your device. Sometimes its easiest to avoid problems by simply deleting the network profile from your Transformer (or "forget" the network in Wifi Settings), and then attempt to re-connect again fresh.
a.mcdear said:
Also, just in case, you may want to check that you don't accidentally have a static IP set on your device. Sometimes its easiest to avoid problems by simply deleting the network profile from your Transformer (or "forget" the network in Wifi Settings), and then attempt to re-connect again fresh.
Click to expand...
Click to collapse
Its set to DHCP so i know thats not the problem, i guess the problem rely on the routers, maybe i need to add password to my home router and see if keep getting the same problem, but as i said before i will have problems on every open wireless network maybe
As alluded to, the work IP falls out of range and hunts for a new AP.
Do you have MAC filtering?
OT: Why do you have an open home net?
GasGuzz said:
As alluded to, the work IP falls out of range and hunts for a new AP.
Do you have MAC filtering?
OT: Why do you have an open home net?
Click to expand...
Click to collapse
i know it have to look for a new ip, but no its not doing it on my home network, thats why im having problems
as i said before, what am i gonna do when i try to connect to another open network ?? (ask them to turn off/on their routers , ask them to put password)
i dont know if this only happens with my router, i will try all the advices when i get home tonigth and see what happens
It’s (most probably) not the TF.
My work has both Open/Secured APs. It connects to the Secured as soon as it’s in range/awake, unless I manually hook it up to the Open. Same at Secured home, it connects no-mess/no-fuss.
How many Open nets do you ‘see’ at home?
GasGuzz said:
It’s (most probably) not the TF.
My work has both Open/Secured APs. It connects to the Secured as soon as it’s in range/awake, unless I manually hook it up to the Open. Same at Secured home, it connects no-mess/no-fuss.
How many Open nets do you ‘see’ at home?
Click to expand...
Click to collapse
just my network it's open, but my wifes ipod can connect/disconect as fast as you say with you network, it's just the TF not getting the new IP everytime i get home from work.
i was so freaking mad 2 days ago so i did a full wipe, that did the trick , i didnt have lot of apps that's why i did it , but i dont want to do it again and get all my apps lost one more time
nop !!!
none of the above advices worked , im so sorry for the guy saying i was overcomplicating this, and no , the airplane mode dindt solve it either
so i dont know wth can i do , the problem again is that i cant get a new IP, my last ip it's still not released (not even with airplane mode) , turnit off/on the device and tablet wont solve it either
i did the test with my wifes ipod (took it work then comeback)and it works as it should, just the TF doesnt work
so if i can do it with with terminal emulator (to release/renew IP) i will appreciate the step by step guyz
thanks in advanced
If you're using DHCP, under GNU/Linux the way is to launch the terminal emulator and run
Code:
dhclient -r
and then either restart the network interfaces (different between distros) or to run the DHCP client on the interface (in my tablets case, probably 'dhclient wlan0' without the quotes).
BUT!!! This being an Android tablet rather than a standard GNU/Linux system, has no dhclient program as far as I know. I have access to ifconfig, dhclient, etc by way of having Debian stable programs running in a chroot.
You might try disabling WiFi, forgetting the network, and reconnecting to it. The last router I had also had a way of getting rid of leases manually, either by telling it to tell the client to FO or deleting them all.
EDIT: Give or take specifics, I think the TF101 (or at least Prime) has dhcpcd. Try
Code:
dhcpcd -k wlan0
dhcpcd -n wlan0
to release and then renew. No promises if that will do jack though. You might also just try running 'dhcpcd wlan0' (without quotes).
For terminal emulators, go to the market or check if your ROM has one (Prime does).
Sent from my Transformer TF101 using Tapatalk
You really shouldn't have to go through any of this stuff. I'd say the system is borked, maybe the hardware, maybe the software. You could try flashing a new version or just take it back, show them you can't connect to their network and get a replacement. It really works as easily as we say and as easy as the wife's ipod. I would take it back or send it in for repair, I think you have a broken system.
Spidey01 said:
If you're using DHCP, under GNU/Linux the way is to launch the terminal emulator and run
Code:
dhclient -r
and then either restart the network interfaces (different between distros) or to run the DHCP client on the interface (in my tablets case, probably 'dhclient wlan0' without the quotes).
BUT!!! This being an Android tablet rather than a standard GNU/Linux system, has no dhclient program as far as I know. I have access to ifconfig, dhclient, etc by way of having Debian stable programs running in a chroot.
You might try disabling WiFi, forgetting the network, and reconnecting to it. The last router I had also had a way of getting rid of leases manually, either by telling it to tell the client to FO or deleting them all.
EDIT: Give or take specifics, I think the TF101 (or at least Prime) has dhcpcd. Try
Code:
dhcpcd -k wlan0
dhcpcd -n wlan0
to release and then renew. No promises if that will do jack though. You might also just try running 'dhcpcd wlan0' (without quotes).
For terminal emulators, go to the market or check if your ROM has one (Prime does).
Sent from my Transformer TF101 using Tapatalk
Click to expand...
Click to collapse
with that code i get this
open_control : Permision denied
with dhclient -r i get this
dhclient : permision denied
im already rooted, my TF its the tf101
drowe said:
You really shouldn't have to go through any of this stuff. I'd say the system is borked, maybe the hardware, maybe the software. You could try flashing a new version or just take it back, show them you can't connect to their network and get a replacement. It really works as easily as we say and as easy as the wife's ipod. I would take it back or send it in for repair, I think you have a broken system.
Click to expand...
Click to collapse
well i cant do that , i bougth it from ebay , i dont think its the TF itself, maybe the router (but the ipod works :S )
i will try and see if it happens on some other open network, or just replace the modem

PEAP Wifi

Anyone have luck connecting to a PEAP AP with credentials, I tried some apps that don't seem to work? I can't connect at my University.
Photon Q
I haven't been able to join my work's network with the photon q either. Someone in my thread suggested "explicitly trusting" the certificate but I haven't had the chance to see if the network team is competent enough to do that.
Other people at work also have other motorola phones with ICS so I'll ask them if they can connect. I haven't seen any other devices struggle like the photon q. It just constantly says connecting and then giving up. I can manually set everything correctly and it doesn't matter, if I don't manually create the profile it never asks for the rest of the information.
I'm really at a loss but if sprint's LTE announcements hold true in a couple weeks it may not even matter (assuming an LTE signal is even remotely discoverable).
same for me, I'm just hoping for an JB update soon(yeah right) cause LTE will never be here, but we don't even have wimax. thanks
Sent from my XT897 using xda app-developers app
Plancy said:
same for me, I'm just hoping for an JB update soon(yeah right) cause LTE will never be here, but we don't even have wimax. thanks
Sent from my XT897 using xda app-developers app
Click to expand...
Click to collapse
I know... I do miss my evo shift's wimax, sometimes my work network was so crappy that I'd just wirelessly tether to my phone and got much better speeds.
Interesting that you noted JB. Is the general consensus that Motorola is rather slow about releasing OS updates? My co-worker with the Droid 4 just got ICS a few weeks ago while the Galaxy Nexus has been starting to get JB on sprint.
Successful connect to EAP
Well, my university has 802.1x EAP for wifi encryption. I was unable to connect from my Photon Q using the wifi settings. I have, however, found a workaround. It consists of using this app "WiFi Connection Manager" (Sorry I can't post the link)
I added the network manually through this app, and my phone connects to the network automatically.
Ill write down the steps for my University's network:
1) Click on the app "WiFi Manager"
2) Click on the menu button inside the app
3) "Manual Add Network"
4)Put in the credentials
5) Click Add
6) the phone should connect to the Enterprise network now.
Hopefully it works for everyone who needs it.
zodiac12345 said:
I have, however, found a workaround. It consists of using this app "WiFi Connection Manager"
Click to expand...
Click to collapse
Free from the play store & working for me as well.
zodiac12345 said:
Well, my university has 802.1x EAP for wifi encryption. I was unable to connect from my Photon Q using the wifi settings. I have, however, found a workaround. It consists of using this app "WiFi Connection Manager" (Sorry I can't post the link)
Click to expand...
Click to collapse
I can!
https://play.google.com/store/apps/details?id=com.roamingsoft.manager
I'll have to give this a shot when I go to work tomorrow, I had the network director fiddling with my phone for a while and checking the AP manager and they just weren't talking properly. We loaded our certificate onto the phone as well and that had no effect.
EDIT: IT WORKED. Oddly enough the APs showed up as WPA/WPA2 PSK in the program, but when I manually created the profile with the settings that I know are correct it did eventually connect and work.
good work guys, my univeristy just switched over to peap and this thread helped.
Thanks, guys. Once I had gotten my Photon Q back in late September, I was able to connect to my Universities' wi-fi, although it was kind of a pain because I had to delete and re-create the network profile a few times before it would work. A few weeks ago, though, we had a security certificate expire, and so for the past three weeks I've been unable to connect to our wi-fi. Using the WiFi Connection Manager to manually create the profile worked like a charm though!
In case people are curious, our Universities wi-fi is 802.1X EAP/PEAP using MSCHAPv2 as Phase 2 authentication.
wingzeroismine said:
I'll have to give this a shot when I go to work tomorrow, I had the network director fiddling with my phone for a while and checking the AP manager and they just weren't talking properly. We loaded our certificate onto the phone as well and that had no effect.
EDIT: IT WORKED. Oddly enough the APs showed up as WPA/WPA2 PSK in the program, but when I manually created the profile with the settings that I know are correct it did eventually connect and work.
Click to expand...
Click to collapse
Thanks for this thread, and thanks for this post. I had the same thing happen. My work wifi showed WPA/WPA2, ect., and I could not enter my credentials. We also have an open wifi, which the program kept logging into automatically, but it doesn't work for me because it doesn't allow ssl. So, I had to delete the open network, go to the settings to filter the scan to ignore open networks, then add the secure network manually with all the credentials entered. Then it worked.

Hotspot issues with Android Pie

I am having issues regarding Wifi hotspot on Pie.
1. My laptop find it very difficult to find the hotspot. Sometimes I have to restart the hotspot 2-3 times before the network shows up on my laptop. On Oreo, this was always instant and worked immediatly.
2. In the last few days using a hotspot from the phone and my laptop I have had issues regarding DNS/internet. Even though my laptop is connected to the hotspot network, it doesn't have any internet access. When browsing the web on my laptop, all DNS requests always fails. It happens whenever I try to navigate to a site and tries to ping a url from CMD. But if I try to ping a ip address, let say 1.1.1.1, that works fine! I can also use my browser on my phone without any issues at all. The laptop works fine on any other network and the phone works well on its own but the hotspot causes great problems. It sounds to me that for some reason when using a hotspot, DNS requests doesn't come through properly. Also, if I connect to a VPN on my laptop, eveything works, even DNS requests but my VPN is somewhat unreliable so it constantly disconnects so that is not a viable solution for me.
Anyone experiencing similar problems? It's really annoying because now I can't get any work done on my daily commute.
Edit: It sounds similar to these problems: http://piunikaweb.com/2018/08/22/go...hotspot-tethering-issues-after-android-9-pie/
baxtex said:
I am having issues regarding Wifi hotspot on Pie.
1. My laptop find it very difficult to find the hotspot. Sometimes I have to restart the hotspot 2-3 times before the network shows up on my laptop. On Oreo, this was always instant and worked immediatly.
2. In the last few days using a hotspot from the phone and my laptop I have had issues regarding DNS/internet. Even though my laptop is connected to the hotspot network, it doesn't have any internet access. When browsing the web on my laptop, all DNS requests always fails. It happens whenever I try to navigate to a site and tries to ping a url from CMD. But if I try to ping a ip address, let say 1.1.1.1, that works fine! I can also use my browser on my phone without any issues at all. The laptop works fine on any other network and the phone works well on its own but the hotspot causes great problems. It sounds to me that for some reason when using a hotspot, DNS requests doesn't come through properly. Also, if I connect to a VPN on my laptop, eveything works, even DNS requests but my VPN is somewhat unreliable so it constantly disconnects so that is not a viable solution for me.
Anyone experiencing similar problems? It's really annoying because now I can't get any work done on my daily commute.
Edit: It sounds similar to these problems: http://piunikaweb.com/2018/08/22/go...hotspot-tethering-issues-after-android-9-pie/
Click to expand...
Click to collapse
@thugslug @jbm76 I know you guys had an issue with hotspot. Is this the same problem?
yldlj said:
@[email protected] I know you guys had an issue with hotspot. Is this the same problem?
Click to expand...
Click to collapse
Point 2 sounds like it..
jbm76 said:
Point 2 sounds like it..
Click to expand...
Click to collapse
I can't remember what thread you wrote the adb commands that might fix it? Was going to direct him to that post.
yldlj said:
I can't remember what thread you wrote the adb commands that might fix it? Was going to direct him to that post.
Click to expand...
Click to collapse
Yep that fixed for me ??
adb shell settings get global tether_dun_required
If the result is "null" or "1"
adb shell settings put global tether_dun_required 0
Reboot phone
yldlj said:
@[email protected] I know you guys had an issue with hotspot. Is this the same problem?
Click to expand...
Click to collapse
His first problem I don't have, but it's the second that's the same issue as mine.
Obviously he's never searched or he'd have found my lengthy post not very far back.
The solution is there too.
I've never tried turning the VPN on to see if I get through access to the internet that way. I can't now as I've applied the fix @jbm76 found, and I don't really want to back out the fix to try it.
Definitely an area where pie has gone backwards. For those of us affected anyway.
Edit.... Sorry, I didn't note that this was a new thread.
My post is in the OB4 thread (which I at first thought this was). I'm tired and didn't look well enough.
jbm76 said:
Yep that fixed for me ?
adb shell settings get global tether_dun_required
If the result is "null" or "1"
adb shell settings put global tether_dun_required 0
Reboot phone
Click to expand...
Click to collapse
I will try these and report back.
baxtex said:
I will try these and report back.
Click to expand...
Click to collapse
If you get errors at the cmd prompt make sure usb debugging is set 'on' on the phone.
Followed the commands and it seemed to do the trick! Many many thanks!
baxtex said:
Followed the commands and it seemed to do the trick! Many many thanks!
Click to expand...
Click to collapse
[emoji3][emoji3]
Most people it works straight away. What region are you in?
Sent from my SM-P605 using Tapatalk
jbm76 said:
[emoji3][emoji3]
Most people it works straight away. What region are you in?
Sent from my SM-P605 using Tapatalk
Click to expand...
Click to collapse
Sweden.
I want to remember that it did work before, then I have to reflash Pie again and that's when the issues started.
I still wanted to say that I still suffering from the first problem, having difficulties actually finding the hotspot at all.
Its very odd. This problem has started to arise again. I tried running adb shell settings get global tether_dun_required again but I get the answer that it is 0 so that looks fine. I haven't updated anything since I had this problem the last time.
Folks,
To provide some more info and more things to try if you are rooted (I am in the US on T-Mobile). These instructions should also help you avoid tethering detection using the standard Android tethering options if you wish to.
1) Go into settings --> system --> developer options and turn off Tethering hardware acceleration. This will make sure all tethering routing is done by Android at the software level and not by Qualcomm's chipsets (so following steps will apply).
2) As suggested, put global tether_dun_required 0. Note you can also do this from a command prompt by typing su (get root access) and typing setting put global tether_dun_required 0. What this does is route tething traffic over the same APN as phone traffic, and not the hidden tethering APN that some carriers put on the sim cards.
3) Install Change TTL and in settings set it to run a boot and set TTL to 64. This ensures that all traffic leaving your phone will have a TTL of 64 and look like it is coming from the phone. (I am pretty sure this also set's ipv6 hop limit, as TMobile in the US is all IPv6 and this hides traffic.)
Reboot. If you still have trouble -- try Android's USB option to see if it is WiFi related vs Tethering system related.
- Verify that global tether_dun_required is still 0 after reboot (it should be if you are rooted).
- Delete the WiFi entry on your computer and re-join the phone's network -- sometimes it is on your computer's side.
Another thing to try is Easy Tether -- this is a good USB tethering option that won't use Android tethering system and it is guaranteed to route traffic over the phone's network APN.
If the issue is DNS, you can isolate that by manually putting a DNS (8.8.8.8) into the tethered computer to see if that is the issue.
Also, google search xda VPN Hotspot. This app has a ton of options to change Android's tethering routing even if you are not using a VPN. This may also help you figure something out. You can activate tethering, then go in here and turn on the wlan interface and it should route traffic directly to that (which should be happening anyways because of tether_dun_required = 0).
Good luck!
MW
MetroWestMA said:
Folks,
To provide some more info and more things to try if you are rooted (I am in the US on T-Mobile). These instructions should also help you avoid tethering detection using the standard Android tethering options if you wish to.
1) Go into settings --> system --> developer options and turn off Tethering hardware acceleration. This will make sure all tethering routing is done by Android at the software level and not by Qualcomm's chipsets (so following steps will apply).
2) As suggested, put global tether_dun_required 0. Note you can also do this from a command prompt by typing su (get root access) and typing setting put global tether_dun_required 0. What this does is route tething traffic over the same APN as phone traffic, and not the hidden tethering APN that some carriers put on the sim cards.
3) Install Change TTL and in settings set it to run a boot and set TTL to 64. This ensures that all traffic leaving your phone will have a TTL of 64 and look like it is coming from the phone. (I am pretty sure this also set's ipv6 hop limit, as TMobile in the US is all IPv6 and this hides traffic.)
Reboot. If you still have trouble -- try Android's USB option to see if it is WiFi related vs Tethering system related.
- Verify that global tether_dun_required is still 0 after reboot (it should be if you are rooted).
- Delete the WiFi entry on your computer and re-join the phone's network -- sometimes it is on your computer's side.
Another thing to try is Easy Tether -- this is a good USB tethering option that won't use Android tethering system and it is guaranteed to route traffic over the phone's network APN.
If the issue is DNS, you can isolate that by manually putting a DNS (8.8.8.8) into the tethered computer to see if that is the issue.
Also, google search xda VPN Hotspot. This app has a ton of options to change Android's tethering routing even if you are not using a VPN. This may also help you figure something out. You can activate tethering, then go in here and turn on the wlan interface and it should route traffic directly to that (which should be happening anyways because of tether_dun_required = 0).
Good luck!
MW
Click to expand...
Click to collapse
Hi and thank you for your post. It seems that windows had changed dns settings by its own to something invalid, so that is why it didn't work. However I am still having connection issues. Mainly I find it very difficult to connect my laptop (and other devices) to the hotspot of the Oneplus 6.
1) Done.
2) Done.
3) It was already set at 64 but I tried setting in to 64 again.
DUN is still 0 after reboot. I have also removed the wifi from my PC and changed name on the hotspot. Also tried both 2.4 and 5 Ghz. When the pc is connected the hotspot, I can ping google succesfully, so internet works but not DNS, all requests in my browser times out. I have also tried setting DNS to external providers in the phone (not sure if if affects the hotspot though). I looked at easy tether but root version was pretty expensive. I also googled XDA VPN Hotspot but I'm not sure which app you mean. Do you have the link?
Right now I'm just thinking of factory resetting the phone and installing the latest oxygen version (I'm still on 9.0.0.0).
Here is even more testing:
What I am experiencing is that there are grave problems trying to connect when in an area with a lot of wifi networks.
I live on the countryside and I thought I would try using hotspot for a couple of times. Thing is, at home, sharing hotspot from the phone to my laptop always works instantly, both on 5Ghz and 2.4Ghz. I might add that there are basically no wifi networks interfering where I live, except for my own. When I start my bus ride in the morning from my house to a city were I work, the hotspot usually works pretty good. But it's when I'm going home that I am start having problems. In the city, there is probably around 50-100 wifi networks when I start the ride home. And that's when it usually is impossible to connect the hotspot to the laptop. However, when leaving the city and entering the highway, it is usually easier. I have these connection problems on both 5Ghz and 2.4Ghz and if it does connect, 2.4 is hideous, it disconnects all the time.
So the conclusion for me is that it is having a very hard time connecting when there are a lot of wifi networks around. However, It never seemed to be a major problem on Oreo, only on Pie.
baxtex said:
Hi and thank you for your post. It seems that windows had changed dns settings by its own to something invalid, so that is why it didn't work. However I am still having connection issues. Mainly I find it very difficult to connect my laptop (and other devices) to the hotspot of the Oneplus 6.
1) Done.
2) Done.
3) It was already set at 64 but I tried setting in to 64 again.
DUN is still 0 after reboot. I have also removed the wifi from my PC and changed name on the hotspot. Also tried both 2.4 and 5 Ghz. When the pc is connected the hotspot, I can ping google succesfully, so internet works but not DNS, all requests in my browser times out. I have also tried setting DNS to external providers in the phone (not sure if if affects the hotspot though). I looked at easy tether but root version was pretty expensive. I also googled XDA VPN Hotspot but I'm not sure which app you mean. Do you have the link?
Right now I'm just thinking of factory resetting the phone and installing the latest oxygen version (I'm still on 9.0.0.0).
Here is even more testing:
What I am experiencing is that there are grave problems trying to connect when in an area with a lot of wifi networks.
I live on the countryside and I thought I would try using hotspot for a couple of times. Thing is, at home, sharing hotspot from the phone to my laptop always works instantly, both on 5Ghz and 2.4Ghz. I might add that there are basically no wifi networks interfering where I live, except for my own. When I start my bus ride in the morning from my house to a city were I work, the hotspot usually works pretty good. But it's when I'm going home that I am start having problems. In the city, there is probably around 50-100 wifi networks when I start the ride home. And that's when it usually is impossible to connect the hotspot to the laptop. However, when leaving the city and entering the highway, it is usually easier. I have these connection problems on both 5Ghz and 2.4Ghz and if it does connect, 2.4 is hideous, it disconnects all the time.
So the conclusion for me is that it is having a very hard time connecting when there are a lot of wifi networks around. However, It never seemed to be a major problem on Oreo, only on Pie.
Click to expand...
Click to collapse
Seems more like WiFi / Computer related than phone. Did you try USB tethering? Is DNS get manually set in your computer by something else you installed?
MetroWestMA said:
Seems more like WiFi / Computer related than phone. Did you try USB tethering? Is DNS get manually set in your computer by something else you installed?
Click to expand...
Click to collapse
USB tethering works fine, dns as well. Its just the connection, it is very difficult to connect anything to the Oneplus 6 in wifi crowded areas.
Will this effect Bluetooth tethering too? Or is there another command for that? Dang built in hot spot get horrible speed after this setting is set, at least be on T-Mobile.
Hi guys,
I also face a strange issue, the connected devices to the hotspot it keeps disconnected after some time.. 1min, 5min, 15min...is random and annoying. Dose anyone face this issue to? Tried diferent fixes but nothing works, it remained to do a factory reset to see if the problem persist..
khrisstyan said:
Hi guys,
I also face a strange issue, the connected devices to the hotspot it keeps disconnected after some time.. 1min, 5min, 15min...is random and annoying. Dose anyone face this issue to? Tried diferent fixes but nothing works, it remained to do a factory reset to see if the problem persist..
Click to expand...
Click to collapse
Read this thread. Workaround in here.

Categories

Resources