Thanks for your work, Aydan! I'm using your scripts on my kobo mini and replaced udhcpd by dnsmasq, so after a few seconds after plugging usb I can login with
root@kobo.usb.
You could give it a try! dnsmasq is great for dns and dhcp server in embedded devices like our kobos
PS1: the KoboRoot.tgz attached on first post (v2) does not work out of the box, seems that you use ETHER_MODULE_LOADED to look at lsmod, but after that you check for USBNET_MODULE_LOADED (which does not exists)