<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: 羅莉</title>
    <description>The latest articles on DEV Community by 羅莉 (@zuowangdao-notes).</description>
    <link>https://dev.to/zuowangdao-notes</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4281754%2F4216832e-8931-464e-97fe-029269c2a0cc.jpg</url>
      <title>DEV Community: 羅莉</title>
      <link>https://dev.to/zuowangdao-notes</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/zuowangdao-notes"/>
    <language>en</language>
    <item>
      <title>Debugging Android Tethering When the Hotspot Has No Internet</title>
      <dc:creator>羅莉</dc:creator>
      <pubDate>Fri, 04 Dec 2026 04:12:24 +0000</pubDate>
      <link>https://dev.to/zuowangdao-notes/debugging-android-tethering-when-the-hotspot-has-no-internet-1j8d</link>
      <guid>https://dev.to/zuowangdao-notes/debugging-android-tethering-when-the-hotspot-has-no-internet-1j8d</guid>
      <description>&lt;p&gt;Tethering is one of those features that fails in ways the UI never explains: the toggle is greyed out, or the hotspot is up and the laptop has an address but no route to the internet. Both are diagnosable from the shell in a few minutes, and the answer is usually in the carrier config rather than in the phone.&lt;/p&gt;

&lt;h2&gt;
  
  
  Greyed-out USB tethering
&lt;/h2&gt;

&lt;p&gt;If the USB tethering switch is disabled while a cable is connected, the phone has not accepted the interface. Three causes cover most cases:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;A charge-only cable or port.&lt;/strong&gt; Some cables have no data lines. Try a known data cable and a different port before touching settings.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The carrier entitlement is missing.&lt;/strong&gt; &lt;code&gt;adb shell dumpsys carrier_config | grep -i tether&lt;/code&gt; shows whether the current profile allows tethering. A &lt;code&gt;false&lt;/code&gt; there explains the greyed switch better than any UI message.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A stale USB configuration.&lt;/strong&gt; Toggling developer options &amp;gt; default USB configuration, or rebooting with the cable attached, often renegotiates the interface.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;A longer walkthrough of the cable and carrier checks is in &lt;a href="https://zuowangdao.com/post/android-usb-tethering-greyed-out-data-cable-check.html" rel="noopener noreferrer"&gt;Android USB tethering greyed out: cable and data check&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Hotspot up, client online, no internet
&lt;/h2&gt;

&lt;p&gt;This is the interesting failure, because the phone itself works. Check it in this order:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Client has an IP but no DNS?&lt;/strong&gt; Try &lt;code&gt;ping 1.1.1.1&lt;/code&gt; from the client. If that works and &lt;code&gt;ping example.com&lt;/code&gt; does not, the hotspot is not forwarding the resolver, not the uplink.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;IPv6-only upstream?&lt;/strong&gt; Some networks hand out IPv6 but the phone's NAT64/DNS64 path is broken for tethered clients. Disabling IPv6 on the hotspot AP, or on the client, isolates it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;APN protocol mismatch?&lt;/strong&gt; A profile set to IPv4-only on an IPv6 network, or the reverse, produces exactly this asymmetry. The APN protocol and roaming protocol fields are worth reading before a network reset.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The client-side version of this check, including Windows and macOS, is in &lt;a href="https://zuowangdao.com/post/mobile-hotspot-connected-no-internet-check-20260710.html" rel="noopener noreferrer"&gt;Mobile hotspot connected but no internet&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  When the APN is the root cause
&lt;/h2&gt;

&lt;p&gt;Roaming APNs often differ from the home APN in protocol and in the authentication type. If the phone roams onto a partner network, the home APN may connect but throttle or blackhole certain traffic. Comparing the APN protocol string against the carrier's published values is faster than a factory reset. Background on the IPv4/IPv6 and roaming protocol fields is at &lt;a href="https://zuowangdao.com/post/apn-roaming-protocol-ipv4-ipv6-slow-network-20260709.html" rel="noopener noreferrer"&gt;APN roaming protocol and slow networks&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  The reset you should do last
&lt;/h2&gt;

&lt;p&gt;Resetting network settings clears Wi-Fi passwords, Bluetooth pairings, APNs and installed eSIM profiles on some devices. It fixes a surprising number of stubborn cases, but it also destroys the evidence. Before you reset, capture the current APN, the active subscription IDs and the connectivity dump. If you do reset, know what disappears first: &lt;a href="https://zuowangdao.com/post/reset-network-settings-delete-wifi-bluetooth-apn-esim-dual-sim-20260714.html" rel="noopener noreferrer"&gt;what a network settings reset deletes&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Short version
&lt;/h2&gt;

&lt;p&gt;Read the carrier config before the UI, test IP versus hostname before reinstalling anything, and treat a network reset as the last step rather than the first. Most tethering bugs are configuration mismatches, and they are reproducible.&lt;/p&gt;

&lt;p&gt;Field notes on roaming, eSIM and dual-SIM troubleshooting are collected at &lt;a href="https://zuowangdao.com/" rel="noopener noreferrer"&gt;Zuowangdao&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>mobile</category>
    </item>
    <item>
      <title>When a Travel eSIM Says Connected but Nothing Loads: A Debugging Checklist</title>
      <dc:creator>羅莉</dc:creator>
      <pubDate>Fri, 04 Dec 2026 04:06:08 +0000</pubDate>
      <link>https://dev.to/zuowangdao-notes/when-a-travel-esim-says-connected-but-nothing-loads-a-debugging-checklist-4lmb</link>
      <guid>https://dev.to/zuowangdao-notes/when-a-travel-esim-says-connected-but-nothing-loads-a-debugging-checklist-4lmb</guid>
      <description>&lt;p&gt;Most "travel eSIM not working" reports are really one of three different failures: the profile never provisioned, the phone is sending data through the wrong SIM, or the connection is up but DNS/routing is broken. Treating them as one problem is why people reinstall the eSIM three times and still land with no internet.&lt;/p&gt;

&lt;p&gt;Here is the order I use, cheapest check first.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Is the failure below or above the radio?
&lt;/h2&gt;

&lt;p&gt;Open a browser and try an IP address directly, for example &lt;code&gt;https://1.1.1.1&lt;/code&gt;. If the IP loads but hostnames do not, the radio and data session are fine and the resolver is the problem. Change DNS to a public resolver, toggle airplane mode, and retest. If the IP also times out, move to the next step, because this is a routing or provisioning issue rather than DNS.&lt;/p&gt;

&lt;p&gt;On Android, &lt;code&gt;adb shell dumpsys connectivity&lt;/code&gt; shows the active network, its capabilities and whether the system believes it is validated. A network with &lt;code&gt;INTERNET&lt;/code&gt; but without &lt;code&gt;VALIDATED&lt;/code&gt; is the classic captive-portal or broken-APN state.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Is the travel SIM actually the data SIM?
&lt;/h2&gt;

&lt;p&gt;Dual-SIM phones keep the default data subscription separate from the default SMS subscription. A phone can be perfectly online on the travel eSIM and still send verification SMS through a home SIM that has no roaming. Check both defaults: mobile data, and SMS. The step-by-step version of the data-line switch is in &lt;a href="https://zuowangdao.com/post/dual-sim-switch-mobile-data-no-internet-fix-20260711.html" rel="noopener noreferrer"&gt;this guide to switching the data SIM on a dual-SIM phone&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Does the APN match the eSIM?
&lt;/h2&gt;

&lt;p&gt;Many travel eSIMs ship an APN profile, but a network-settings reset, a restore from backup, or a manual edit can leave the APN empty or pointing at the old carrier. Data then fails even with five bars. On iPhone the field is under Settings &amp;gt; Cellular &amp;gt; [eSIM] &amp;gt; Cellular Data Network; on Android it is under Connections &amp;gt; Mobile networks &amp;gt; Access point names. The Japan-specific walkthrough at &lt;a href="https://zuowangdao.com/post/japan-esim-signal-no-data-apn-roaming-check-20260626.html" rel="noopener noreferrer"&gt;eSIM has signal but no data: APN and roaming checks&lt;/a&gt; covers the roaming-data toggle that is easy to miss when the local SIM is also installed.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Separate an install failure from a data failure
&lt;/h2&gt;

&lt;p&gt;If the plan never finished installing, no APN edit will help. An add-plan error usually means an EID mismatch, an activation code already used, a region restriction from the seller, or a carrier-locked phone. The order of checks for &lt;a href="https://zuowangdao.com/post/android-esim-add-failed-eid-apn-no-service-checklist-20260623.html" rel="noopener noreferrer"&gt;eSIM add failures on Android&lt;/a&gt; is EID, activation, then no-service state, so you can tell the seller exactly which step failed instead of "it does not work".&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Keep the home number reachable
&lt;/h2&gt;

&lt;p&gt;Data is half the job. Banking and airline logins still send SMS to the registered number. Keep the home SIM active for messages, enable voice/SMS roaming if the carrier allows it, and send yourself one test code before you need it at a counter. If codes stop arriving, suspect the SMS centre number or roaming setting before blaming the eSIM.&lt;/p&gt;

&lt;h2&gt;
  
  
  Minimal field checklist
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Travel eSIM set as the mobile-data line&lt;/li&gt;
&lt;li&gt;Data roaming on for the travel eSIM, off for the home SIM&lt;/li&gt;
&lt;li&gt;APN filled and saved, then one airplane-mode cycle&lt;/li&gt;
&lt;li&gt;Manual network selection if automatic keeps failing&lt;/li&gt;
&lt;li&gt;One SMS verification test done before relying on the home number&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These notes come from the editors of &lt;a href="https://zuowangdao.com/" rel="noopener noreferrer"&gt;Zuowangdao&lt;/a&gt;, a travel-connectivity guide on eSIM, roaming and dual-SIM troubleshooting.&lt;/p&gt;

</description>
      <category>travel</category>
    </item>
  </channel>
</rss>
