[NEEDS UPDATING] Presence Detection using DD-WRT Router Script

This is my first time trying anything regarding router scripts etc. So i am not familiar with running the commands in the console. I believe i have wget on my router but not curl. I tried installing the ipkg via telnet but it doesn’t seem to be updating and then when i try ipkg list it tells me to run ipkg update so something isn’t working correctly. You need ipkg to install Optware correct? Trying to make sense of what I have been reading on forums and ddwrt wikis.

Thanks again