Recent content by yukky

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

  1. yukky

    Run script on USB Ethernet gadget plugged in

    You can check the line that gets added to /tmp/hotplug.log, however in my case with the USB ethernet gadget, I only get: Fri Sep 30 19:44:12 DST 2016 Action: add Product: Interface: usb0 Fri Sep 30 19:53:33 DST 2016 Action: remove Product: Interface: usb0 $PRODUCT is unfortunately blank for...
  2. yukky

    Run script on USB Ethernet gadget plugged in

    I've got everything working now! I didn't have any luck with script_usbhotplug in nvram /jffs/scripts/init-start #!/bin/sh # Replace hotplug2 rules with our own, and restart hotplug2 ln -sf /jffs/hotplug2.rules /etc/hotplug2.rules killall hotplug2 /jffs/hotplug2.rules line added for...
  3. yukky

    Run script on USB Ethernet gadget plugged in

    Thanks john9527. I can see this is still in the codebase: https://github.com/RMerl/asuswrt-merlin/search?utf8=✓&q=script_usbhotplug and looks to be an example here: http://www.snbforums.com/threads/laserjet-1020-on-rt-ac87u.19983/ .. and hey, thats your post ! :) Maybe a good idea to just have...
  4. yukky

    Run script on USB Ethernet gadget plugged in

    Right, everything is in promiscuous mode. Any clue about running a script on USB connect? Perhaps via hotplug2?
  5. yukky

    Run script on USB Ethernet gadget plugged in

    I'm also seeing this, so I'm not sure if I should be in promiscuous mode or not... device usb0 entered promiscuous mode br0: port 5(usb0) entering listening state br0: port 5(usb0) entering learning state br0: topology change detected, propagating br0: port 5(usb0) entering forwarding state
  6. yukky

    Run script on USB Ethernet gadget plugged in

    Hello, Hardware: RT-N66U Firmware: 380.62 I am trying to connect a Raspberry Pi Zero device as an Ethernet gadget via the USB port on the router. Everything works, except I need to manually put the usb0 interface up and add it to the br0 bridge. How can I automate this? When plugging in the...
Top