Need a fresh perspective on laptop vs. hotspot...  - Page 1
Forum section: electronics / general

author: IDEngineer
author_rank: Super Contributor
timestamp: December 13, 2022, 11:52:51 pm
content: This has been driving me crazy for a couple of weeks now, so I need a "fresh set of eyes" please.I have a OnePlus 8T cellphone on T-Mobile. Works great and I'm not looking to get into a slugfest over choice of hardware or carrier. I also have a Lenovo X260 laptop running Win7.I used to be able to turn on the hotspot in the phone and then associate the laptop to the hotspot, giving me Internet access in the field. That stopped working a while back, for no obvious reason, and I haven't been able to fix it. Now I'm headed back into the field so I need to get this working again ASAP.Details:* Multiple other devices can successfully associate with the hotspot, including other cellphones, other laptops, etc. My own laptop is the ONE AND ONLY device that cannot use my cellphone's hotspot.* My laptop can successfully associate with EVERY other access point everywhere - hotels, retail stores, coffee shops, hospitals, other phone hotspots. This includes the hotspot on my wife's identical OnePlus 8T cellphone which was purchased and configured on the same day at the same time at the same T-Mobile location. My own cellphone is the ONE AND ONLY access point my laptop cannot use.* I have deleted and recreated the hotspot on the phone with different SSID's and passwords. No effect.* I have deleted and recreated the wireless network profile on the laptop for my cellphone to track the above changes on my cellphone. No effect.* I have tried enabling and disabling wireless "service" (things like IPv6, QoS Packet Scheduler, etc.). No effect. Even if I match those settings to another Win7 laptop that associates perfectly.* I have confirmed that the security (WPA2-Personal) and encryption (AES) match on both devices.To be clear: My laptop and cellphone both "see" each other and report that they are associated. My cellphone reports one device connected to its hotspot and reports its MAC address. Likewise, the laptop reports being associated with my cellphone's SSID. However, Internet packets will not transfer. Not even simple pings to something like 8.8.8.8. They associate, but they won't transfer data.I need some suggestions of things to try. Thanks in advance!

author: AndyBeez
author_rank: Frequent Contributor
timestamp: December 14, 2022, 12:14:52 am
content: Might be some random but strict policy rule on the Win7 Defender / Firewall. Maybe a 'network' is getting blocked?? Look for the network and or firewall protection settings. After 2020 MS stopped supporting Win7 with security updates, so something might have got busted back then? Happy hunting.

author: IDEngineer
author_rank: Super Contributor
timestamp: December 14, 2022, 12:26:27 am
content: All firewalls, Defender, etc. disabled. Including all related Windows Services. Been true on every laptop I've owned from the day I received them. I don't need to be debugging Microsoft's code when I'm trying to debug my own.No antivirus software installed. Bloatware that was present at purchase disabled, uninstalled, and associated Registry entries deleted. I run the barest OS environment possible.I have two Win7 laptops running here on the bench right now. Both are associated with the cellphone. One (happens to be the older one) passes data, the other does not.I'm baffled. I can't figure out if it's the laptop or the cellphone, since as noted above each works with EVERY other tested device. They just won't pass data between them.

author: AndyBeez
author_rank: Frequent Contributor
timestamp: December 14, 2022, 01:11:40 am
content: urm...Adapter card (wifi) Ethernet properties hasve CP/IP and LLDP enabled?IP on laptop is dynamic for the connection?Phone does not have an alternate address reservation?IP subnet conflicts?

author: IDEngineer
author_rank: Super Contributor
timestamp: December 14, 2022, 01:29:08 am
content: Quote from: AndyBeez on December 14, 2022, 01:11:40 amI will check, but I don't remember seeing those configuration options in the Adapter Properies.QuoteYep, both for local IP and DNS.QuoteI humbly admit I don't know about that.QuoteShouldn't be any since the hotspot uses DHCP, and I've forcefully disabled the Ethernet interface on the laptop to avoid interface contention/prioritization issues.

author: pcprogrammer
author_rank: Super Contributor
timestamp: December 14, 2022, 07:09:55 am
content: You wrote that it works with your wife's phone, which is the exact same model. Maybe a solution is to swap the sim cards and see if it still works, and then use the wife's phone as yours out in the field to at least have it working for now.

author: james_s
author_rank: Super Contributor
timestamp: December 14, 2022, 07:37:56 am
content: I can recall a couple of instances where two wireless devices simply would not talk to each other properly despite there being no obvious reason for them to be incompatible. I never did solve the problem in either case, only using a different network interface in the laptop got it working.

author: Psi
author_rank: Super Contributor
timestamp: December 14, 2022, 07:49:07 am
content: yes, i would swap sim cards and try it.Also, try a usb wifi adaptor on your laptop so the MAC address is different (or you might be able to change the MAC it in the options of your current wifi adaptor).I have heard of phone companies adding tethering blocks to users who do too much data when tethering.Often when the phone plan is unlimited they are expecting users to do a typical "phone user" amount of data which is smaller than a full on desktop/laptop user.So they make tethering against the rules if you read the fine print and can take action if they see you doing it too much.

author: Whales
author_rank: Super Contributor
timestamp: December 14, 2022, 08:06:25 am
content: QuoteThis sounds like an IP or routing issue.I recommend installing Wireshark on the laptop and monitoring all traffic on that interface. On Linux you can monitor an interface even when it's not associated, that lets you set it up and then see the very first packets after connection is established (including DHCP), I presume it's similar on Windows. See if anything weird happens, like ARP fights, and look inside the DHCP replies to see who has what IP address.Also worth checking if windows has any weird routes set that might be hijacking things (eg all of 10.x.x.x/8). I believe on windows the command isnetstat -rnIt's possible that another network interface (VPN, tunnel, ethernet, etc) has some routes or IP ranges set that might interfere.

author: pcprogrammer
author_rank: Super Contributor
timestamp: December 14, 2022, 08:23:56 am
content: Quote from: Psi on December 14, 2022, 07:49:07 amIf the problem moves to the other phone when swapping the sim cards the above might well be happening.ISP's like to call this fair use policy, even if you have unlimited data

author: AndyBeez
author_rank: Frequent Contributor
timestamp: December 14, 2022, 09:35:50 am
content: Another thought, is the phone's SSID top network priority?Is the laptop automatically and silently connecting to another higher priority network in range?

author: Psi
author_rank: Super Contributor
timestamp: December 14, 2022, 09:40:30 am
content: Think back to when it was last working...Did you happen to download 20GB ?

author: IDEngineer
author_rank: Super Contributor
timestamp: December 14, 2022, 05:38:27 pm
content: Update: It appears that T-Mobile hotspottingrequiresIPv6 to route packets!I noticed that IPv6 was disabled on the laptop in question. Only IPv4 was enabled. I enabled IPv6... and traffic started routing again. My guess is that if you don't obtain an IPv6 address from DHCP, your packets are simply ignored.I have not been able to find any authoritative documentation for this, but it's definitely how things are behaving. I'm able to reproduce the behavior on other laptops now by enabling/disabling IPv6.I will say that the responsiveness of the hotspot connection is dramatically lower than what I remember before the problem occurred. I don't know if T-Mobile dropped support for IPv4 addressing and their IPv6 address resolution is substantially slower, or if something else is going on. The throughput is the same once the sockets are connected, but the time to resolve DNS and establish TCP sessions is markedly slower. As a simple example, typing in "speedtest.net" requires 20-30 seconds to bring up the webpage, but then the throughput is the same as before. True for every website I've tried so far using IPv6.

author: magic
author_rank: Super Contributor
timestamp: December 14, 2022, 05:57:07 pm
content: If it's DNS, manually configure a different DNS server like aforementioned 8.8.8.8.If it's something else, then you have a problem.

author: IDEngineer
author_rank: Super Contributor
timestamp: December 14, 2022, 07:55:03 pm
content: Continued testing reveals interesting results.If I disable EITHER v4 or v6, no traffic is routed. Both protocols are required for anything to work.I tried hard-configuring the DNS servers (while leaving DHCP to obtain the IP address) and the results are unreliable. Interestingly, I cannot ping 8.8.8.8 using that IPv4 address. Icanping it using its IPv6 address. So while both protocols are required, they are definitely not being treated equally!There is a 10-30 second lag anytime a new site is visited. This does NOT occur with an Ethernet LAN connection on the machines used for testing so it's not a configuration problem with their browsers or overall TCP/IP stacks. It also doesn't occur when working through other WiFi access points (using IPv4). It's tempting to blame this on IPv6. However, it continues to be true that OTHER laptops do not slow down like this through my phone's hotspot.So while we've sort of solved the problem by making sure both IPv4 and IPv6 are enabled, there's still a weird delay when new sites are accessed. It's almost like the local DNS cache demands a full domain download before proceeding... but only when on this hotspot. Once the site has been visited once, the entire site becomes very snappy.

author: magic
author_rank: Super Contributor
timestamp: December 14, 2022, 08:04:26 pm
content: This ain't gonna far without Wireshark.It's possible that their DNS server responds slowly, so try a different one. Over v4, v6, or carrier pigeons, whatever you wantIt's possible, and perhaps much more likely, that the ISP's DNS responds quickly, but whenever you get both v4 and v6 addresses in the response, your system first tries v4 and then connects over v6 after v4 connection attempt times out. Try connecting toipv6.google.com- this has no v4 address.No idea why v4 suddenly stopped working. Could be something on your side. What are the IP addresses of the hotspot and the laptop, routes, etc?

author: IDEngineer
author_rank: Super Contributor
timestamp: December 15, 2022, 02:11:42 am
content: Here's some data. I'm typing this on the laptop while it's associated with the cellphone. Every switch of website takes 15-30 seconds and gives no indication that anything is happening, it just looks "stalled".Here's the wireless interface's report from ipconfig /all:QuoteNote it's getting DHCP addresses for both IPv4 and IPv6. I cannot disable either protocol or zero packets are routed. Note also the only DNS address is IPv4 despite IPv6 being configured to obtain a DNS address via DHCP, just like IPv4.Here's a traceroute to ipv6.google.com:QuoteIt appears we reach Google by the 8th hop, then bounce around inside their network until finally reaching the target IP at hop 16. Latency isn't too bad.

author: magic
author_rank: Super Contributor
timestamp: December 15, 2022, 08:57:53 am
content: These return times don't look too bad. I suppose that if you typeipv6.google.cominto a browser it loads faster thangoogle.com.Can you trace a v4 only site likeeevblog.com?It looks like both protocols are enabled indeed, and you have addresses and default routes configured for each (the hotspot, presumably/hopefully).

author: Infraviolet
author_rank: Super Contributor
timestamp: December 18, 2022, 01:29:28 am
content: To be fully sure if there is an issue within your laptop's OS, or whether it lies elsewhere, have you tried live booting the laptop from a USB and seeinf if the fresh OS can connect to the wifi hotpsot using the laptop's hardware? If not your problem isclearly in the laptop's hardware rather than it's OS. And you've said every device you've tried except that specific laptop connects just fine?