Results 1 to 1 of 1
Thread: Help with curl
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Mar 2008
Help with curl
curl -u admin:passw http://192.168.1.1 -d "getpage=..%2Fhtml%2Fhome%2Fhome_dhcp.htm&landhcps0%3Asettings%2Fstart=192.168.1.33&landhcps0%3Asettings%2Fend=192.168.1.69&landhcps0%3Asettings%2Fstaticip5%2Fmac=HTTP/1.0 200 OK" http://192.168.1.1/cgi-bin/webcm
The post message is later of -d option. I want to change the dhcp options.
My problem is that my router have login and password, and it didn't work. so I need to know what I should change in the sintax of the command in order to authenticate and send the post message at the same time? is it possible?
Thanks in advance,