Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 25 Mar 2013 11:05 AM by  steven.eckhoff@logicpd.com
Can only get wireless SOM to connect to Smartphone Hotspot
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages
mike.arensdorf
New Member
New Member
Posts:


--
11 Mar 2013 11:23 AM
    For some reason I'm unable to get the wireless Torpedo DM3730 SOM to connect to two of our access points. Strangely, it will connect to my Android smartphone hotspot. In every case, I'm using WPA2 security.

    Using the following command:

    /etc/rc.d/init.d/network-wifi-station init

    Unless connecting to the smartphone, this command results in:

    Sending discover...
    Sending discover...
    Sending discover...
    No lease, forking to background...

    Are there any special requirements for the SSID and/or passphrase?

    I'm using 1021861_LogicPD_Linux_BSP_2.1-0
    steven.eckhoff@logicpd.com
    Basic Member
    Basic Member
    Posts:192


    --
    25 Mar 2013 11:05 AM
    Mike,

    I'm making your solution available to the rest of the TDG community.

    Solution:

    Space characters in the SSID were the culprit. There are two options.

    1. Do not use space characters in the SSID

    2. Modify line 125 in wpa_supplicant script:

    From

    WPA_PSK=`/usr/sbin/wpa_passphrase $WPA_SUPPLICANT_SSID $WPA_SUPPLICANT_PASSPHRASE | grep ' psk='`

    To

    WPA_PSK=`/usr/sbin/wpa_passphrase "$WPA_SUPPLICANT_SSID" $WPA_SUPPLICANT_PASSPHRASE | grep ' psk='`


    NOTE: (Added double quotes around $WPA_SUPPLICANT_SSID)
    You are not authorized to post a reply.