Joecowboy
Joecowboy
Okay, here is killing the pid of telepathy-ofono with it copied to /opt as you suggested but as you notice the ERROR is still there. Do you have a way...
I moved bindToInterface.so from /opt to /lib then chmod ug+s on the file and tried your curl requests. The error still persists as you can see from the last two...
No I didn't, because it's my phone and no gcc compiler. I compiled it on an another ubuntu box.
I thought about that too. I guess I can try and install gcc on the phone and report back.
Ok I installed gcc and libc6-dev to compile your project. I compiled it without any errors on the phone now. However, I am still receiving the ERROR. Do you have...
Here is the output from what you wanted me to try with "NO" ERROR: ``` BIND_INTERFACE=rmnet_data0 DNS_OVERRIDE_IP=8.8.8.8 LD_PRELOAD=/lib/bindToInterface.so curl ifconfig.me curl: (6) Could not resolve host: ifconfig.me ``` However, I...
I uncommented line 13 to enable debugging. Curl seems to work if I disable the wlan0 interface: ``` BIND_INTERFACE=rmnet_data0 DNS_OVERRIDE_IP=8.8.8.8 LD_PRELOAD=/lib/bindToInterface.so curl ifconfig.me Detected DNS query to: 127.0.1.1:53, overwriting with...
With wlan0 disabled: ``` curl --interface rmnet_data0 ifconfig.me "MY IP ADDRESS OUTPUT" ``` With wlan0 enabled: ``` curl --interface rmnet_data0 ifconfig.me curl: (7) Failed to connect to ifconfig.me port 80:...
Okay I will do that.
OKay, I created a question over on Android Enthusiasts per your request: https://android.stackexchange.com/questions/242015/cannot-bind-to-cell-network-interface-example-with-curl