Before You Start
- Connect your Linux computer to the Wi-Fi hotspot created by NetShare.
- Start sharing from the NetShare app.
- Keep the phone connected to the Internet.
Proxy Address
Host: 192.168.49.1
Port: 8282
Method 1 — GNOME (Ubuntu, Fedora, Pop!_OS, etc.)
- Open Settings.
- Select Network.
- Click Network Proxy.
- Select Manual.
- Enable HTTP Proxy.
- Enter:
| Field |
Value |
| Host |
192.168.49.1 |
| Port |
8282 |
- Use the same proxy for HTTPS if your desktop provides that option.
- Save the settings.
Method 2 — KDE Plasma
- Open System Settings.
- Select Network → Proxy.
- Choose Manual Configuration.
- Configure:
- HTTP:
192.168.49.1 Port 8282
- HTTPS:
192.168.49.1 Port 8282
- Apply the settings.
Method 3 — Command Line
You can temporarily configure the proxy for your current terminal session.
export http_proxy=http://192.168.49.1:8282
export https_proxy=http://192.168.49.1:8282
export HTTP_PROXY=http://192.168.49.1:8282
export HTTPS_PROXY=http://192.168.49.1:8282
Verify:
echo $http_proxy
Testing the Connection
After configuring the proxy:
- Open your web browser.
- Visit any website.
- If pages load successfully, NetShare is working correctly.
✔ Your Linux computer is now using your Android phone's Internet connection through NetShare.
Troubleshooting
- No Internet? Verify that NetShare is running and sharing.
- Wrong Wi-Fi? Ensure the Linux computer is connected to the NetShare hotspot.
- Proxy not working? Confirm the proxy address is
192.168.49.1 and the port is 8282.
- Browser works but Terminal doesn't? Configure the environment variables shown above.
- Still having issues? Disable any VPN or firewall temporarily to test the connection.
Some applications ignore the system proxy settings. Those applications may require their own proxy configuration.