Jubilinux = Debian Jessie for edison.
screen /dev/ttyUSB0 115200
sudo dnf install dfu-util
flashall.sh
script.sudo ./flashall.sh
edison
and root
passwords, default password is edison
./etc/rc.local
For example: ### uncomment to disable USB device mode and enable host mode for the OTG port rmmod g_multi || true
# wpa_passphrase SSID # add output to /etc/wpa_supplicant/wpa_supplicant.conf # vi /etc/network/interfaces auto wlan0 iface wlan0 inet dhcp wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf # ifup wlan0
iwconfig wlan0 power off
apt-get update apt-get upgrade
wget http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel-edison/plain/meta-intel-edison-bsp/recipes-support/pwr-button-handler/files/pwr-button-handler.c gcc pwr-button-handler.c -o pwr-button-handler cp pwr-button-handler /usr/local/bin # /usr/local/bin/pwr-button-handler Usage: /usr/local/bin/pwr-button-handler "command_line1" "command_line2" "command_line3" command_line1: a command line to execute when the PWR button is pressed for more than 2s command_line2: a second command line to execute when the PWR button is released (after being pressed for more than 2s) command_line3: a third command line to execute when the PWR button is pressed three times (within 4s) cat << EOF > /etc/systemd/system/pwr-button.service [Unit] Description=Edison PWR button handler [Service] ExecStart=/usr/local/bin/pwr_button_handler "touch /tmp/btn-1" "touch /tmp/btn-2" "/bin/systemctl poweroff" Restart=on-failure [Install] WantedBy=multi-user.target EOF systemctl enable /etc/systemd/system/pwr-button.service systemctl start /etc/systemd/system/pwr-button.service