There are helper scripts supposed to do this in the usbnet/bin directory (usbnet-enable to switch tethering on, and usbnet-disable to switch tethering off). Note that I haven't tried them, and that I don't even know if they're supposed to work with fw 2.5
. That won't help setup connexion sharing on the host computer though.