The router he is using is a Netgear WNDR3400 v1. Where are the GPIO pins located on this particular router? How did you "by trial and error" discover the physical location of these pins?
Sorry if it wasnt clear enough, but since I knew the GPIO numbers I literally tested all of the numbers echoing in 1s and 0s and switching them to outputs and looked at the router to see if anything lit up.
Aren't there any other software running on the router that would mess with the gpios? Those lights indicated something, and usually openwrt adopts these functionalities...
*protip:* you can use dmesg -w, press enter to get some empty lines and then connect your USB device ;) By the way, there are some differences between Bash and Dash (which is default "/bin/sh" in Ubuntu), for example some weird IF conditions will work in Bash, but won't work in Dash. Bash seems to be more tolerant, but is slower compared to (Rainbow) Dash. How do I know? I was using Ubuntu in times when it used Bash as default and their switch to Dash broke my scripts.
Wow! I really can see a potential in this - great that YT algorithm brought me here! How this can have so few views? Cheers bro.
Thank you for your work. I just learned a lot from it! keep on going, you are great.
this is so cool man . i want to do this, but i gotta find a router first
The router he is using is a Netgear WNDR3400 v1. Where are the GPIO pins located on this particular router? How did you "by trial and error" discover the physical location of these pins?
Sorry if it wasnt clear enough, but since I knew the GPIO numbers I literally tested all of the numbers echoing in 1s and 0s and switching them to outputs and looked at the router to see if anything lit up.
Great Work!!
Aren't there any other software running on the router that would mess with the gpios? Those lights indicated something, and usually openwrt adopts these functionalities...
*protip:* you can use dmesg -w, press enter to get some empty lines and then connect your USB device ;)
By the way, there are some differences between Bash and Dash (which is default "/bin/sh" in Ubuntu), for example some weird IF conditions will work in Bash, but won't work in Dash. Bash seems to be more tolerant, but is slower compared to (Rainbow) Dash. How do I know? I was using Ubuntu in times when it used Bash as default and their switch to Dash broke my scripts.