Curl --interface issue - Ask Ubuntu
i try specify wireless interface curl, not working properly. when lan cable disconnected, works expected. when lan cable plugged in, connection timed out. see log below, first attempt plugged in lan cable. user@user-latitude-e6410:~/downloads/ats$ sudo curl http://speedtest4.ziggo.nl/testfile_20g.bin -o /dev/null --retry 0 --limit-rate 500000 --speed-limit 3000 --speed-time 2 --connect-timeout 5 --interface wlp2s0 --verbose % total % received % xferd average speed time time time current dload upload total spent left speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* trying 212.54.52.11... * local interface wlp2s0 ip 192.168.2.73 using address family 2 * local port: 0 * connected speedtest4.ziggo.nl (212.54.52.11) port 80 (#0) > /testfile_20g.bin http/1.1 > host: speedtest4.ziggo.nl > user-agent: curl/7.47.0 > accept: */* > < http/1.1 200 o...