2 Replies Latest reply on Jul 18, 2017 1:10 PM by Intel Corporation

    wifi power constantly cycling

    rainbow_lazer

      Hello! I'm running jubilinux on an Edison EDI2.LPON.AL.S. I'm having lots of trouble connecting through wifi. I've tried several different networks, and am familiar with the standard procedure of connecting outlined in the Edison support docs.

       

      I am able to connect intermittently through wifi, but the connection fails frequently. I'm also unable to sync using ntpd over wifi (I've tried on multiple networks).

       

      I'm seeing this output when connected to the board over serial.

       

      [  117.213234] wifi_platform_set_power = 0

      [  123.590861] Dongle Host Driver, version 1.141.59 (r)

      [  123.590861] Compiled in /home/robin/src/edison-linux-helper/edison-bcm43340 on Apr  4 2017 at 22:42:52

      [  123.591046] wl_android_wifi_on in

      [  123.610014] wifi_platform_set_power = 1

      [  124.152547] F1 signature OK, socitype:0x1 chip:0xa94c rev:0x2 pkg:0x0

      [  124.160919] DHD: dongle ram size is set to 524288(orig 524288) at 0x0

      [  124.169771] dhdsdio_download_firmware: firmware path=/lib/firmware/fw_bcmdhd.bin, nvram path=/lib/firmware/bcmdhd.cal

      [  124.292896] sdioh_request_buffer: [1] doing memory copy buf=f4f29000, len=2037

      [  124.304565] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.

      [  124.473159] dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)

      [  124.483077] wifi_platform_get_mac_addr

      [  124.489083] wifi_get_mac_addr_intel: unable to open /config/wifi/mac.txt

      [  124.500286] Firmware up: op_mode=0x0015, MAC=90:b6:86:0f:ff:7c

      [  124.528124] Firmware version = wl0: Aug 15 2014 15:09:17 version 6.20.190.2 (r497061) FWID 01-bb9bbd07

      [  124.539145] dhd_preinit_ioctls wl ampdu_hostreorder failed -23

       

      Here is my wpa_supplicants file:

       

      ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev

      update_config=1

       

      network={

          ssid="rainbow_lazer"

          psk="password"

      }

       

      network={

              ssid="tbennyt"

              psk="password"

      }

       

      network={

              ssid="tbennyt-5"

              psk="password"

      }

      ~

      ~

      ~

      ~

      ~

      ~

      "/etc/wpa_supplicant/wpa_supplicant.conf" 17L, 238C           1,1           All

       

      And my /etc/network/interfaces file:

       

      # interfaces(5) file used by ifup(8) and ifdown(8)

      auto lo

      iface lo inet loopback

       

      auto usb0

      iface usb0 inet static

          address 192.168.2.15

          netmask 255.255.255.0

       

      auto wlan0

      iface wlan0 inet dhcp

          wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

       

               # For WPA

         # wpa-ssid Emutex

         # wpa-psk passphrase

          # For WEP

          #wireless-essid Emutex

          #wireless-mode Managed

          #wireless-key s:password

      # And the following 4 lines are for when using hostapd...

      #auto wlan0

      #iface wlan0 inet static

      "/etc/network/interfaces" 26L, 562C                           1,1           Top

       

       

       

      Any suggestions for getting the wifi working smoothly are much appreciated!

        • 1. Re: wifi power constantly cycling
          Intel Corporation
          This message was posted on behalf of Intel Corporation

          Hi rainbow_lazer,

          Thank you for contacting us. 
          I’ve been investigating about the Jubilinux image. Please keep in mind that the only image that we support is the Yocto image, so the suggestions we offer for Jubilinux will be limited. Nevertheless, we’ll try to help you troubleshoot this issue.

          We compared the output of the wpa_supplicant.conf files. The output is slightly different:
          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="Intel2.4"

            key_mgmt=WPA-PSK
            pairwise=CCMP TKIP
            group=CCMP TKIP WEP104 WEP40
            eap=TTLS PEAP TLS
            psk="xxx"
          }

          network={
            ssid="Intel5.0"

            key_mgmt=WPA-PSK
            pairwise=CCMP TKIP
            group=CCMP TKIP WEP104 WEP40
            eap=TTLS PEAP TLS
            psk="xxx"
          }

          We also looked for the /etc/network/interfaces file, but this file doesn’t exist in the Yocto image.
          Fortunately, we found a guide that shows how to configure Wi-Fi in Jubilinux. The guide is the following: http://openaps.readthedocs.io/en/latest/docs/walkthrough/phase-0/setup-edison.html . Please make sure to check for all the prerequisites and follow the steps to configure Wi-Fi. 
          If you’re interested in using the Yocto image, you should go here: https://software.intel.com/en-us/get-started-edison-windows-step2  and follow the installation process. If you use this image it’ll be a lot easier for us to continue to assist you.

          Let us know your results after following the guide.

          Regards,
          -Sergio A
           

          • 2. Re: wifi power constantly cycling
            Intel Corporation
            This message was posted on behalf of Intel Corporation

            Hi rainbow_lazer,

            Do you still need assistance with this case?

            -Sergio A