Thank you asipsis for mentioning the 15 second delay. I just made two changes and now it seems like everything is working. Here’s what I did in case anyone else is facing the Can’t set scan mode on hci0: Network is down (100) error.
Step 1: Add a 15 second sleep command before EmulationStation starts.
cd /usr/bin/
sudo nano emulationstation
After the #!/bin/bash line, before the $es_bin, add the command sleep 15.
My script now looks like:
#!/bin/bash
sleep 15
es_bin="/opt/retropie/supplementary/EmulationStation/emulationstation"
nb_lock_files=$(find /tmp -name ".X?-lock" | wc -l)
if [ $nb_lock_files -ne 0 ]; then
Step 2: Change rc.local
cd /etc
sudo nano rc.local
Add the following 2 lines right before the “exit 0″ line:
hciconfig device up
hciconfig enable pscan