I'm running a WRT54GL with DD WRT, and having my domain hosted at zoneedit. For some reason, automatic dynamic DNS clients don't seem to work- they get the ipaddress of what i believe is a proxy server., so i want to throw together a script. In short i need to strip out the ipaddress from the output of ifconfig vlan1 (since vlan1 is the adaptor that's connected to my modem (grep gets me halfway there) and get it into a URL similar to
'wget -O - --http-user=username --http-passwd=password 'http://dynamic.zoneedit.com/auth/dynamic.html?host=mail.myzone.com&dnsto=myipaddress '
where myipaddress is replaced by the ipaddress i get from ifconfig vlan1. Any ideas on what the command should be? DDWRT uses busybox so anything i use needs to be from there