Go to previous topic
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
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)


    ---