I think it would be ifconfig in a terminal. Type the gateway in the browser. Log in to your router. Then go into settings.
http://192.168.1.1/Management.asp then a the bottom of that page:UPnP: Enable DisableWoo.
So I typed in my Router IP, now its asking me for a password.... what to try?
Noedit: Even then, management.asp most likely will not be present on all routers.