WIFI Tether not working.. - G1 Android Development

Guys, apologies if this has been posted before but couldn't find it.
I've rooted my phone with JF RC9, but for some reason I can't use the wifi tether (one of my main reasons for rooting in the first place). So far as I can tell, I have root (in that I can su in a terminal) and my pc can see the ssid of the phone and connects quite happily but I don't get internet access for some reason - am I missing something really obvious or have others encountered this before?

Hi!
I assume you are using "Wifi Tether for Root Users" ...
If yes please make sure that you are using the lastest Version (0.97.1) which is available here:
http://code.google.com/p/android-wifi-tether/downloads/list
(0.97.1 fixes some cupcake-related issues)
You say that you see that your client is able to connect ... right?
Please check the following:
1) What ip-address do you got from the phone?
(For Windows): Open command-prompt and type "ipconfig"
You should got an ip-address like: 192.168.2.100 (maybe 101, 102, ... at the end).
2) Are you abel to ping the standard-gateway?
type: ping 192.168.2.254
You client must support ad-hoc mode - otherwise it won't work.
Please check and report back.

Man, have I been dense. After spending a couple of weeks, scouring forums, taking the classic I.T. approach of 'turn off, wait, turn on again', I've figured it out...
I'd set up a static i.p. on my pc a long time ago so was still trying to make it through the router...
doh!
Thanks for your reply though harry_m, it was your comment around pinging the i.p. address tat jogged my memory! works like a charm now

Related

Internet Sharing with the at&t rom

I feel like a newb asking this question, but the Tilt doesn't have Internet Sharing like the roms for the 8525. The Wireless Modem utility doesn't work worth a chit. I've search for an hour to find a cab for installing Internet Sharing but I can't find it. Surely some of the masters here has come up with one.
Or could I just grab the exe file off my 8525 and run it with any "installing"?
Check out this link:
http://forum.xda-developers.com/showthread.php?t=334268&page=3
Better yet, post #24.
What advantage does Internet Sharing have?
Back up
Can someone please direct me to the back up tool
Neonwheels said:
Check out this link:
http://forum.xda-developers.com/showthread.php?t=334268&page=3
Better yet, post #24.
What advantage does Internet Sharing have?
Click to expand...
Click to collapse
SWEET! Thanks!!
Advantage? So far it is the best option for tethering my laptop. PDANet worked like a charm, but with Internet Sharing it's not need anymore.
I was trying to get the Tilt to work like a modem for a couple hours last night and it would disconnect every time it got to "Registering computer on network". I saw that Internet Connection Sharing (post 30) and gave it a go. Tethered like a charm, 768kbit down ~125ms latency.
The file \Windows\Internet Sharing.lnk contains this text:
41#:MSINTERNET_SHARING?:intshruiapp
And I just copied it to \Windows\Start Menu\Programs and can run it from there or the shortcut I created in the HTC Home plugin. You don't have to do anything on the PC to use it either, except have ActiveSync (I think it requires even less because activesync automatically disconnects when this is in use).
I cant get ICS to work on the Tilt. I get "cannot connect for unknown reason" error in ICS window. Any ideas?
Is your "Network Connection" set to MEdia Net? I have two things on my list, that and "AT&T ISP GPRS". If I try that one, it tries to connect a bunch of times then dies with the unknown reason thing.
It gave me that same message if I end-tasked ActiveSync on the PC, so I'd say make sure they both say connected before trying to connect the internet sharing.
Yes, its set to Medianet. Do I need to be connected to my laptop for this to work? I didnt think so.
swweeet i got it working thanks everyone
lansa said:
Yes, its set to Medianet. Do I need to be connected to my laptop for this to work? I didnt think so.
Click to expand...
Click to collapse
It won't work if it isn't connected to the laptop. that is what it is for!
help with tethering
Hello everyone I did some of the applications last night on trying to setup my tether to my tilt but its not connecting. I could not find internet sharing to change those setting on download needed cab for it. My phone is set media net and have the correct ip and subnet gateway so what am I missing??
It seems AT&T was pretty successful in killing Tilt Internet Connection Sharing (ICS) with the introduction of 6.1. It was seamless until the upgrade, now it is not. Lotsa complicated workarounds been posted here for the past year and a half. I wish someone who is doing it successfully would post a set of step by step instructions. We novices keep sorting through all these posts on the subject and if there is light at the end of the tunnel, it needs a new bulb!! With data plans getting more and more lucrative for the carriers, tethering is getting more and more important, anyone got a simple answer?

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

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

[Q] Eduroam

Hi all, this is my first post and sorry for my english
I have a big problem with my galaxy sl, i can't use wifi connection (eduroam) in my uni (http://venus.unive.it/wifi/index.php?cmd=eduroam_android Venice)
I have followed the istruction of my uni, but wifi don't work
I have read http://forum.xda-developers.com/showthread.php?t=1477743, i have tryed all versions but the connection don't work
I use miui rom v2.3.23 (http://forum.xda-developers.com/showthread.php?t=1538234) with default kernel.
Do u have a solutions???
thanks to all
Hey there!! I also have eduroam in my University and I have never been able to connect it. Sorry then!!
Same problem here (with eduroam and another similar wifi network in my university).
Actually I was able to connect, but it worked few times. Usually after a full wipe my phone connects flawlessly to wifi, but after that connection, another full wipe is needed.
In my case, it seems that the phone is unable to get a valid IP, because using a fake IP, gateway etc (in wifi settings press the menu button and then go in advanced) it will immediately enstablish a connection (no internet connection of course). I tried to put valid infos once (I had with me my laptop connected and I copied all the infos from it, I only changed the last number in the IP) and it worked. That's why I think is an IP problem, but maybe it was luck .
Maybe doing a sort of "wifi config reset" solves the problem (at least in my case), but it means that everytime I should reconfigure it... I simply gave up and I use my 3G connection .
I found this weird workaround time ago, but I never tried it. I think it worths a try.
===
EDIT:
Strange, you use a different config. I thought all Eduroam networks would have used the same config. Here mine's:
SSID: eduroam
Security: 802.1x Enterprise
EAP method: TLS
CA certificate: "Not specified"
Client certicate: the downloaded certificate
i will try ur config next week but, my friend can use edoroam with a acer liquid (2.2 foryo) with config written in university site.
IMO there are a bugs in the kernel of galaxy sl because a lot of android phone can connected to eduroam
Up
I tried again after I saw this thread and I now I'm quite sure that my problem is an IP problem. I played a little with airplane mode/static IP in a random way (as suggested in the link I posted) and finally I enstablished a connection.
Usually, right before the connection, my phone asks the credential password. And that's weird.
Anyway I discovered something interesting. In our /system/build.prop we have:
Code:
...
wifi.interface=eth0
...
wifi.interface=tiwlan0
but
Code:
getprop wifi.interface
gives as result tiwlan0 and that's ok, this is our wifi interface.
But after that I went to see some other config files and I found that in our /system/etc/dhcpcd we have
Code:
interface eth0
I think this should be
Code:
interface tiwlan0
(I found reference to eth0 in /system/etc/wifi/wifi.conf too, but I don't what this file is used for).
I wanted to see if changing eth0 with tiwlan0 in /system/etc/dhcpcd/dhcpcd.conf and removing wifi.interface=eth0 from build.prop would have helped, but I had no time and now I'm on holiday.
If your problem is similar to mine, try to do that change, it won't break anything, I already did that and wifi works (at home of course, where I've never had a problem).
I have also eduroam in my university and i am using eduroam fixer and it is working perfectly. İt is in google play and free you can use it
Sent from my GT-I9003 using Tapatalk
Try this app: Transparent Proxy. Input your wifi proxy and port.
It may work...
I also have eduroam in my university and I've managed to make it work.
You just need to enter eduroam config and set it like this (I have my phone in spanish, so the names could be a little messed up ):
Code:
EAP method: TTLS
Phase 2 authentication: PAP
Identity: [I]"your university mail"[/I]
Password: [I]"your university mail password"[/I]
And leave everything else blank. Hope it works for you guys!!

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