The bash script below uses python2 to obtain my wan ip address from my genie router.
You'll need save the text and chmod a+x the script file to make it executable.
Edit to change location of your python 2.x, user name, password and the ip address wher your router sits. The double hit is to fix errors where the user/password dialog sometimes fails (for me at least).
Recent comments