On 08/08/2014 09:33:14 PM, Weedy wrote: > I remember a while ago some thread came on the topic of curl being > huge but they needed it to auth with some shitty upstream box. > Someone wrote a oneliner or something that would work and of course > mean no more curl. > I swore I saved/bookmarked it but for the life of me I can't find it. > > I have a Hitron CGN2 cable modem/router/WAP box (in bridge mode) and > I > want to reboot it from the openwrt router. Any suggestions for not > using curl to login to the webUI and do it?
Perhaps using nc or maybe socat? What's nice about curl is it's cookie handling, which is annoying to handle manually. So perhaps wget? Karl <[email protected]> Free Software: "You don't pay back, you pay forward." -- Robert A. Heinlein _______________________________________________ openwrt-users mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users
