2 Replies Latest reply on Aug 31, 2016 2:48 PM by Intel Corporation

    Reg:Auto connetion of WIFI on edison board

    srujani

      Hi ..

       

      I want to connect wifi automatically when the edison board is on.I am using META image. In order to connect it automatically without using configure_edison –wifi.

       

                     when I run configure_edison --version i can get as below

                          Could not determine firmware version information. Quitting.

                          none

                     After I reboot the device it gives as the below ifconfig image.

                     I have changed the vi /etc/wpa_supplicant/wpa_supplicant.conf

         network={

      ssid="XXXXXXXXXX" 

       

      key_mgmt=WPA-PSK 

      pairwise=CCMP TKIP

      group=CCMP TKIP WEP104 WEP40

      eap=TTLS PEAP TLS

      psk="XXXXXXXXX" 

      }

      what are the necessary changes so that I can connect it automatically. 

       

      Thanks In Advance

      Srujani

        • 1. Re: Reg:Auto connetion of WIFI on edison board
          Intel Corporation
          This message was posted on behalf of Intel Corporation

          Hello srujani,

          In order to connect your board to a specific network without using configure_edison --wifi, you can follow the next steps:

          ifconfig wlan0 down
          #THE FOLLOWING IS JUST ONE COMMAND
          cat << EOF > /etc/wpa_supplicant/wpa_supplicant.conf
          ctrl_interface=/var/run/wpa_supplicant
          ctrl_interface_group=0
          config_methods=virtual_push_button virtual_display push_button keypad
          update_config=1
          fast_reauth=1
          device_name=Edison
          manufacturer=Intel
          model_name=Edison



          network={
            ssid="YOUR_NETWORK"

            key_mgmt=WPA-PSK
            pairwise=CCMP TKIP
            group=CCMP TKIP WEP104 WEP40
            eap=TTLS PEAP TLS
            psk="YOUR_PASSWORD"
          }
          EOF
          #THE COMMAND ENDS IN THE LINE ABOVE
          systemctl restart wpa_supplicant.service
          ifconfig wlan0 up

          After entering those commands you should be able to connect to a specific network that you specify. If you would like to set this to be ran every time on boot, I'd suggest you to create a system service. You can read https://communities.intel.com/docs/DOC-111103 in order to learn how to create a system service.

          I hope this information helps.
          -Peter.

          • 2. Re: Reg:Auto connetion of WIFI on edison board
            Intel Corporation
            This message was posted on behalf of Intel Corporation

            Hello srujani,

            Do you have any updates about this? Do you still need help?

            -Peter.