I’m using FX30 and IOT Card http://www.farnell.com/datasheets/2267053.pdf , I tried to create Access Point with instruction here ( WiFi access point section ) wifi - Legato Docs
I got a error " ifconfig: SIOCGIFFLAGS: No such device (-19)"
I rebooted my device but it’s not useful
State Led in IOT card are good
Thanks @cchenry,
I updated firmware successfully and follow document which you refered to me a few day ago but I still can’t create Access Point,
root@fx30:~# fwupdate query
Connecting to service …
Firmware Version: SWI9X15Y_07.12.09.00 r34123 CARMD-EV-FRMWR1 2017/04/26 23:34:19
Bootloader Version: SWI9X15Y_07.12.09.00 r34123 CARMD-EV-FRMWR1 2017/04/26 23:34:19
Linux Version: 3.14.29ltsi-a00e464379_499694411b #2 PREEMPT Tue Jun 12 16:49:03 PDT 2018
FX30 Version: R14.0.4.002
This is Step by step what I did
root@fx30:~# wifi ap setsecurityproto 1
Security protocol set to 1.
root@fx30:~# wifi ap setpassphrase secret123
Passphrase set.
root@fx30:~# wifi ap setssid EXAMPLESSID
SSID set successfully.
root@fx30:~# wifi ap start
ERROR:le_wifiAp_Start returns -6.
root@fx30:~#
this is log
Aug 2 07:02:33 | wifiService[603]/framework T=main | le_wifiClient_server.c Handle_le_wifiClient_RemoveNewEventHandler() 515 | Sending response to client session 0x27cac : 0 bytes sent
Aug 2 07:02:33 | wifiService[603]/daemon T=main | le_wifiClient.c CloseSessionEventHandler() 414 | sessionRef 0x27cac GetFirstSessionRef 0x27cac
Aug 2 07:02:33 | wifiService[603]/framework T=main | le_wifiClient_server.c CleanupClientData() 195 | Client 0x27cac is closed !!!
Aug 2 07:02:33 | wifiService[603]/framework T=main | le_wifiAp_server.c CleanupClientData() 195 | Client 0x27d3c is closed !!!
Aug 2 07:23:42 | wifiService[603]/framework T=main | LE_FILENAME ExtractFileDescriptor() 33 | Received fd (10).
Aug 2 07:23:42 | wifiService[603]/framework T=main | LE_FILENAME ExtractFileDescriptor() 33 | Received fd (11).
Aug 2 07:23:43 | wifiService[603]/daemon T=main | le_wifiClient.c CloseSessionEventHandler() 414 | sessionRef 0x27d3c GetFirstSessionRef (nil)
Aug 2 07:23:43 | wifiService[603]/framework T=main | le_wifiClient_server.c CleanupClientData() 195 | Client 0x27d3c is closed !!!
Aug 2 07:23:43 | wifiService[603]/framework T=main | le_wifiAp_server.c CleanupClientData() 195 | Client 0x27cac is closed !!!
Aug 2 07:24:11 | wifiService[603]/framework T=main | LE_FILENAME ExtractFileDescriptor() 33 | Received fd (10).
Aug 2 07:24:11 | wifiService[603]/framework T=main | LE_FILENAME ExtractFileDescriptor() 33 | Received fd (11).
Aug 2 07:24:11 | wifiService[603]/daemon T=main | pa_wifi_ap_ti.c pa_wifiAp_SetSecurityProtocol() 787 | Security protocol : 1
Aug 2 07:24:11 | wifiService[603]/framework T=main | le_wifiAp_server.c Handle_le_wifiAp_SetSecurityProtocol() 688 | Sending response to client session 0x27d3c : 4 bytes sent
Aug 2 07:24:11 | wifiService[603]/daemon T=main | le_wifiClient.c CloseSessionEventHandler() 414 | sessionRef 0x27cac GetFirstSessionRef (nil)
Aug 2 07:24:11 | wifiService[603]/framework T=main | le_wifiClient_server.c CleanupClientData() 195 | Client 0x27cac is closed !!!
Aug 2 07:24:11 | wifiService[603]/framework T=main | le_wifiAp_server.c CleanupClientData() 195 | Client 0x27d3c is closed !!!
Aug 2 07:24:56 | wifiService[603]/framework T=main | LE_FILENAME ExtractFileDescriptor() 33 | Received fd (10).
Aug 2 07:24:56 | wifiService[603]/framework T=main | LE_FILENAME ExtractFileDescriptor() 33 | Received fd (11).
Aug 2 07:24:56 | wifiService[603]/daemon T=main | pa_wifi_ap_ti.c pa_wifiAp_SetPassPhrase() 824 | Set passphrase
Aug 2 07:24:56 | wifiService[603]/framework T=main | le_wifiAp_server.c Handle_le_wifiAp_SetPassPhrase() 731 | Sending response to client session 0x27cac : 4 bytes sent
Aug 2 07:24:57 | wifiService[603]/daemon T=main | le_wifiClient.c CloseSessionEventHandler() 414 | sessionRef 0x27d3c GetFirstSessionRef (nil)
Aug 2 07:24:57 | wifiService[603]/framework T=main | le_wifiClient_server.c CleanupClientData() 195 | Client 0x27d3c is closed !!!
Aug 2 07:24:57 | wifiService[603]/framework T=main | le_wifiAp_server.c CleanupClientData() 195 | Client 0x27cac is closed !!!
Aug 2 07:25:26 | wifiService[603]/framework T=main | LE_FILENAME ExtractFileDescriptor() 33 | Received fd (10).
Aug 2 07:25:26 | wifiService[603]/framework T=main | LE_FILENAME ExtractFileDescriptor() 33 | Received fd (11).
Aug 2 07:25:26 | wifiService[603]/daemon T=main | pa_wifi_ap_ti.c pa_wifiAp_SetSsid() 750 | SSID length 11 | SSID: “EXAMPLESSID”
Aug 2 07:25:26 | wifiService[603]/framework T=main | le_wifiAp_server.c Handle_le_wifiAp_SetSsid() 645 | Sending response to client session 0x27d3c : 4 bytes sent
Aug 2 07:25:26 | wifiService[603]/daemon T=main | le_wifiClient.c CloseSessionEventHandler() 414 | sessionRef 0x27cac GetFirstSessionRef (nil)
Aug 2 07:25:26 | wifiService[603]/framework T=main | le_wifiClient_server.c CleanupClientData() 195 | Client 0x27cac is closed !!!
Aug 2 07:25:26 | wifiService[603]/framework T=main | le_wifiAp_server.c CleanupClientData() 195 | Client 0x27d3c is closed !!!
Aug 2 07:25:37 | wifiService[603]/framework T=main | LE_FILENAME ExtractFileDescriptor() 33 | Received fd (10).
Aug 2 07:25:37 | wifiService[603]/framework T=main | LE_FILENAME ExtractFileDescriptor() 33 | Received fd (11).
Aug 2 07:25:37 | wifiService[603]/daemon T=main | pa_wifi_ap_ti.c pa_wifiAp_Start() 449 | AP starts
Aug 2 07:25:37 | wifiService[603]/daemon T=main | pa_wifi_ap_ti.c pa_wifiAp_Start() 463 | SSID = EXAMPLESSID
Aug 2 07:25:37 | wifiService[603]/framework T=WifiApPaThread | LE_FILENAME PThreadStartRoutine() 362 | Set nice level to 0.
Aug 2 07:25:37 | wifiService[603]/daemon T=WifiApPaThread | pa_wifi_ap_ti.c WifiApPaThreadMain() 230 | Started!
Aug 2 07:25:37 | wifiService[603] | | WIFI_START
Aug 2 07:25:37 | wifiService[603]/daemon T=WifiApPaThread | pa_wifi_ap_ti.c WifiApPaThreadMain() 247 | PARSING:WIFI_SET_EVENT : len:15
Aug 2 07:25:38 | wifiService[603] | | ifconfig: SIOCGIFFLAGS: No such device
Aug 2 07:25:38 | wifiService[603]/daemon T=main | pa_wifi_ap_ti.c pa_wifiAp_Start() 484 | WiFi Access Point Command Failed: (23296)wlan0 WIFI_START
Aug 2 07:25:38 | wifiService[603]/daemon T=main | pa_wifi_ap_ti.c pa_wifiAp_Start() 614 | WiFi Client Command Failed: As a result, configuration file (/tmp/hostapd.conf) is removed.
Aug 2 07:25:38 | wifiService[603]/framework T=main | le_wifiAp_server.c Handle_le_wifiAp_Start() 557 | Sending response to client session 0x27cac : 4 bytes sent
Aug 2 07:25:38 | wifiService[603]/daemon T=main | le_wifiClient.c CloseSessionEventHandler() 414 | sessionRef 0x27d3c GetFirstSessionRef (nil)
Aug 2 07:25:38 | wifiService[603]/framework T=main | le_wifiClient_server.c CleanupClientData() 195 | Client 0x27d3c is closed !!!
Aug 2 07:25:38 | wifiService[603]/framework T=main | le_wifiAp_server.c CleanupClientData() 195 | Client 0x27cac is closed !!!
Hi Medhi,
Could you please try this:
rm /etc/network/interfaces
reboot
Then, re-post the contents of /etc/network/interfaces and try client mode. If that works, reboot again and then try AP mode. (the device cannot switch between client and AP mode without a reboot).