Unable to Connect to BeagleBone Black via Ethernet
Everything works fine when the BeagleBone Black is connected to a computer via USB but when connected to the network via Ethernet it does not work. I ran into this issue when I first started using my BeagleBone Black out-of-the-box and again when I updated the OS to Debian.
Here is the solution:
Connect the BBB to your computer via USB and give it time to boot In a web browser open the Cloud9 IDE by going to https://192.168.7.2:3000/. You may be prompted to choose some settings, I like the defaults. Create a new file, paste in the script below, and run it var fs = require("fs"); var destroyed_key_file = "/etc/dropbear/dropbear_rsa_host_key"; fs.readFile(destroyed_key_file, function (err, data) { if (err) throw err; if( data===null || data.length===0 ) { console.log("we have a corrupted host key file... try do delete it"); fs.unlink(destroyed_key_file, function (err) { if (err) throw err; console.log("successfully deleted " + destroyed_key_file); console.log("you should now reboot your beaglebone."); console.log("the /etc/init.d/dropbear script will create a new rsa host key file for you."); console.log("after the reboot you should be able to login over ssh"); }); } else { console.log("it seems that you have another problem, sorry"); } }); Now shutdown, I like to sudo shutdown -hP now, the USR lights will all go out when it is shut down Now you can unplug the BBB from USB and plug in an Ethernet cable and power adapter. You should now be able to access the BBB from anywhere on your network using https://beaglebone.local or ssh beaglebone.log. Thanks to httpss://groups.google.com/forum/?fromgroups=#!msg/beagleboard/Ya2qE4repSY/u4lvOjF66JEJ