Wifi not working

Hi,

This wifi on my board doesn’t seem to be working, when I enter any wifi command it won’t return anything.

Log:

May 16 14:17:17 swi-mdm9x28-wp user.info kernel: [  467.549730] gpio_check_and_wake: wake-n_gpio26 STATE=WAKEUP
May 16 14:17:17 swi-mdm9x28-wp user.err kernel: [  467.563775] swimcu_gpio_irq_event_handle: Re-enabled irq 0 type A for MCU GPIO 0
May 16 14:17:17 swi-mdm9x28-wp user.info kernel: [  467.570392] gpio_check_and_wake: wake-n_gpio26 STATE=SLEEP
May 16 14:17:17 swi-mdm9x28-wp user.info Legato:  INFO | avcDaemon[1506]/avcDaemon T=main | coap.c le_coap_Push() 526 | Push: CoAP POST from device
May 16 14:17:17 swi-mdm9x28-wp user.warn Legato: -WRN- | supervisor[913]/supervisor T=main | proc.c GetWatchdogAction() 362 | wifi@0 watchdogAction '' in proc section
May 16 14:17:17 swi-mdm9x28-wp user.info Legato:  INFO | supervisor[913]/supervisor T=main | app.c app_Start() 3471 | Starting app 'wifi'
May 16 14:17:17 swi-mdm9x28-wp user.info Legato:  INFO | supervisor[913]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/wifi/read-only/lib/libComponent_wifi.so' to '/legato/systems/current/appsWriteable/wifi/lib/libComponent
May 16 14:17:17 swi-mdm9x28-wp user.info Legato:  INFO | supervisor[913]/supervisor T=main | app.c CreateFileLink() 2084 | Skipping file link '/legato/systems/current/apps/wifi/read-only/bin/wifi' to '/legato/systems/current/appsWriteable/wifi/bin/wifi': Already exists
May 16 14:17:17 swi-mdm9x28-wp user.info Legato:  INFO | supervisor[913]/supervisor T=main | proc.c proc_Start() 1403 | Starting process 'wifi@0' with pid 2764
May 16 14:17:17 swi-mdm9x28-wp user.info Legato:  INFO | supervisor[913]/supervisor T=main | supervisor.c SigChildHandler() 899 | Reaping unconfigured child process 2760.
May 16 14:17:17 swi-mdm9x28-wp user.info Legato:  INFO | supervisor[2764]/supervisor T=main | proc.c proc_Start() 1363 | Execing 'bin/wifi'
May 16 14:17:17 swi-mdm9x28-wp user.info Legato:  INFO | supervisor[2764]/supervisor T=main | resourceLimits.c SetRLimitValue() 301 | Setting resource limit maxCoreDumpFileBytes to value 8192.
May 16 14:17:17 swi-mdm9x28-wp user.info Legato:  INFO | supervisor[2764]/supervisor T=main | resourceLimits.c SetRLimitValue() 301 | Setting resource limit maxFileBytes to value 90112.
May 16 14:17:17 swi-mdm9x28-wp user.info Legato:  INFO | supervisor[2764]/supervisor T=main | resourceLimits.c SetRLimitValue() 301 | Setting resource limit maxLockedMemoryBytes to value 8192.
May 16 14:17:17 swi-mdm9x28-wp user.info Legato:  INFO | supervisor[2764]/supervisor T=main | resourceLimits.c SetRLimitValue() 301 | Setting resource limit maxFileDescriptors to value 256.
May 16 14:17:17 swi-mdm9x28-wp user.info Legato:  INFO | supervisor[2764]/supervisor T=main | resourceLimits.c SetRLimitValue() 301 | Setting resource limit maxMQueueBytes to value 512.
May 16 14:17:17 swi-mdm9x28-wp user.info Legato:  INFO | supervisor[2764]/supervisor T=main | resourceLimits.c SetRLimitValue() 301 | Setting resource limit maxThreads to value 20.
May 16 14:17:17 swi-mdm9x28-wp user.info Legato:  INFO | supervisor[2764]/supervisor T=main | resourceLimits.c SetRLimitValue() 301 | Setting resource limit maxQueuedSignals to value 100.
May 16 14:17:19 swi-mdm9x28-wp user.info Legato:  INFO | avcDaemon[1506]/avcDaemon T=main | coap.c le_coap_Push() 526 | Push: CoAP POST from device
May 16 14:17:21 swi-mdm9x28-wp user.info kernel: [  471.549193] gpio_check_and_wake: wake-n_gpio26 STATE=WAKEUP
May 16 14:17:21 swi-mdm9x28-wp user.err kernel: [  471.563702] swimcu_gpio_irq_event_handle: Re-enabled irq 0 type A for MCU GPIO 0
May 16 14:17:21 swi-mdm9x28-wp user.info kernel: [  471.570307] gpio_check_and_wake: wake-n_gpio26 STATE=SLEEP
May 16 14:17:21 swi-mdm9x28-wp user.info Legato:  INFO | avcDaemon[1506]/avcDaemon T=main | coap.c le_coap_Push() 526 | Push: CoAP POST from device
May 16 14:17:22 swi-mdm9x28-wp user.err kernel: [  472.530127] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:2 cur:0 tx) bc(rx:2 tx:1) mode:FIFO slv_addr:0x55 MSTR_STS:0x0d1300c8 OPER:0x00000010
May 16 14:17:22 swi-mdm9x28-wp user.err kernel: [  472.544946] i2c-msm-v2 78b8000.i2c: NACK: slave not responding, ensure its powered: msgs(n:2 cur:0 tx) bc(rx:2 tx:1) mode:FIFO slv_addr:0x55 MSTR_STS:0x0d1300c8 OPER:0x00000010
May 16 14:17:22 swi-mdm9x28-wp user.info Legato:  INFO | supervisor[913]/supervisor T=main | supervisor.c SigChildHandler() 899 | Reaping unconfigured child process 2764.
May 16 14:17:22 swi-mdm9x28-wp user.info Legato:  INFO | supervisor[913]/supervisor T=main | app.c app_StopComplete() 4753 | app 'wifi' has stopped.
May 16 14:17:22 swi-mdm9x28-wp user.info Legato:  INFO | supervisor[913]/supervisor T=main | apps.c DeactivateAppContainer() 374 | Application 'wifi' has stopped.

ifconfig

root@swi-mdm9x28-wp:~# ifconfig
bridge0   Link encap:Ethernet  HWaddr FA:44:AA:A0:49:8F
          inet addr:192.168.225.1  Bcast:192.168.225.255  Mask:255.255.255.0
          inet6 addr: fe80::f844:aaff:fe9d:468c/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:76 (76.0 B)

ecm0      Link encap:Ethernet  HWaddr AA:24:E9:BA:7F:52
          inet addr:192.168.2.2  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::a824:e9ff:feba:7f52/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2154 errors:0 dropped:4 overruns:0 frame:0
          TX packets:2253 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:227648 (222.3 KiB)  TX bytes:2630420 (2.5 MiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

rmnet0    Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          UP RUNNING  MTU:2000  Metric:1
          RX packets:89 errors:0 dropped:0 overruns:0 frame:0
          TX packets:78 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:5264 (5.1 KiB)  TX bytes:17392 (16.9 KiB)

rmnet_data0 Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:10.16.4.43  Mask:255.255.255.248
          inet6 addr: fe80::9ab7:1eaa:27e1:4583/64 Scope:Link
          UP RUNNING  MTU:1500  Metric:1
          RX packets:65 errors:0 dropped:0 overruns:0 frame:0
          TX packets:78 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:4477 (4.3 KiB)  TX bytes:17392 (16.9 KiB)

is pin 8 of sw401 high?

Did you mean pin 8 on the SW403 DIP switch? In that case it is LOW, together with all other pins

can you pull that up and try again?
Then do this:

  1. power up the unit
  2. app start wifiService
  3. wifi client start