If you want udev to do some work for you and get your USB Ethernet dongle to be configured via DHCP as soon as you plug it in you might like to read
this and just disregard the stuff about Master mode.
It might even work for USB WiFi in Managed Mode ... but I've not tested it.