Closed wspvlv closed 3 months ago
Hi, not sure you're able to ping the Android actually - we set up an HTTP server, and Wi-Fi direct gives us simple DHCP, but nothing speaks ICMP as far as I know.
For CLI usage, I use this script from my dotfiles, see if that works for you?
Use it like:
$ apply-http-proxy default # To see what it will be doing
$ eval "$(apply-http-proxy default)" # To execute
Also, see the Wiki for proxy setup. On Linux, you'll have to setup the GUI separate from the CLI, which is also different from the browser. Also certain CLI apps follow other settings (like flatpak or systemd) which need to be configured specifically as well.
Hello, I tried the script. I can ping my phone back
4 bytes from 192.168.49.1: icmp_seq=1 ttl=64 time=5.29 ms
However, pinging an address outside the private area leads to the same issue.
From 192.168.49.1 icmp_seq=1 Destination Net Unreachable
I assume pings from the terminal don't require a specific proxy setup
Sorry, maybe my previous comment wasn't clear
Using the proxy, ping will not work. We only proxy http TCP traffic, not ICMP.
You would be able to use the script and then use something like curl which speaks HTTP, but not ping.
Ohh, I see. I set up the proxy for Firefox, and it does indeed work. Thanks for the help! Sorry, for wasting your time
Glad to hear it worked, have a good one!
What I've tried to do is to share my - mobile connection using this app. I have configured the proxy on the CLI (Linux) however when I ping I get
What do I do?