Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


Intel Edison - Install and configure Jubilinux

Jubilinux = Debian Jessie for edison.


Set up

  • Connect both USB cables to the Edison.
  • Open serial terminal:
    screen /dev/ttyUSB0 115200
  • Install dfu-util:
    sudo dnf install dfu-util
  • Download the latest jubilinux version and unpack the archive.


  • Run the script.
    sudo ./
  • Reconnect power (bottom cable on photo above).
  • Monitor the installation (using serial console on another window), it involves three reboots, so don't pull the cords yet.


  • Change edison and root passwords, default password is edison.
  • Edit /etc/rc.local For example:
    ### uncomment to disable USB device mode and enable host mode for the OTG port
    rmmod g_multi || true
  • Configure WPA_supplicant:
    # 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
  • If WiFi lags, disabled powermanagement (for example in /etc/rc.local):
    iwconfig wlan0 power off
  • Update:
    apt-get update
    apt-get upgrade
  • Configure powerbutton handling. See:
    gcc pwr-button-handler.c -o pwr-button-handler
    cp pwr-button-handler /usr/local/bin
    # /usr/local/bin/pwr-button-handler 
      /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
    Description=Edison PWR button handler
    ExecStart=/usr/local/bin/pwr_button_handler "touch /tmp/btn-1" "touch /tmp/btn-2" "/bin/systemctl poweroff"
    systemctl enable /etc/systemd/system/pwr-button.service 
    systemctl start /etc/systemd/system/pwr-button.service 
intel_edison_jubilinux.txt · Last modified: 2021/10/09 15:14 by