I got an instruction from ChatGPT how to make a reverse tethering to use my PC’s internet on Android phone:
- Enable USB debugging on your Android phone. To do this, go to the Settings app on your phone, find the “About phone” section, and tap on the “Build number” seven times to enable Developer options. Then, go back to the main Settings screen, open the “Developer options,” and enable “USB debugging.”
- Once USB debugging is enabled, execute the following command in the terminal on your Linux PC to establish the reverse USB tethering connection:
adb reverse tcp:8080 tcp:8080
This command forwards the traffic from port 8080 on your Android phone to port 8080 on your Linux PC. You can change the port number if desired.
3. Configure the internet connection on your Android phone:
- Go to the Settings app on your phone and navigate to the “Network & internet” or “Connections” section.
- Tap on “Mobile network” or “SIM & network” and select your SIM card if you have multiple.
- Find and open the “Access Point Names” or “APN” settings.
- Create a new APN (if not available) or modify the existing one. Set the APN settings according to your mobile network provider. You may need to consult your provider’s website or support for the correct APN settings.
- Save the APN settings.
- On your Android phone, disconnect and reconnect the USB cable to establish the reverse USB tethering connection properly.
- Verify the connection: Your Android phone should now use your Linux PC’s internet connection. You can test it by opening a web browser or any other internet-dependent application on your phone.
Not sure what should I set in a new APN connection and what should be enabled on my phone (wifi/cell internet etc). Using default APN didn’t help me. And p.4. looks weird. Is there a more specific manual?
Looks like same topic is outdated: