I am trying to connect to wifi network from cmd line but no luck. NetwokManager, however, seems to be able to connect. Here's my k.config file:
Here are my commands and the outputs:network={
ssid="Keenetic-7777"
#psk="xxxxxx6767"
psk=c2db4fad5d6233a7f28023ca375f83a2eb2bac1b40d4bc57c4e78bfc565c80f8
}
As a result I have no connection established. What am I doing wrong?root@porteus:/mnt/sdd# iwconfig
wlan0 IEEE 802.11bg ESSIDff/any
Mode:Managed Frequency:2.437 GHz Access Point: Not-Associated
Tx-Power=20 dBm
Retry short limit:7 RTS thrff Fragment thrff
Encryption keyff
Power Managementff
lo no wireless extensions.
eth0 no wireless extensions.
wlan1 IEEE 802.11bg ESSIDff/any
Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm
Retry short limit:7 RTS thrff Fragment thrff
Encryption keyff
Power Managementff
root@porteus:/mnt/sdd# rfkill list
0: eeepc-wlan: Wireless LAN
Soft blocked: no
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
2: phy1: Wireless LAN
Soft blocked: no
Hard blocked: no
root@porteus:/mnt/sdd# wpa_supplicant -c /mnt/sdc/k.conf -i wlan0
Successfully initialized wpa_supplicant
wlan0: Trying to associate with 11:22:5d:86:93:66 (SSID='Keenetic-7777' freq=2437 MHz)
ioctl[SIOCSIWFREQ]: Device or resource busy
wlan0: Association request to the driver failed
wlan0: Associated with 00:00:00:00:00:00
wlan0: CTRL-EVENT-DISCONNECTED bssid=11:22:5d:86:93:66 reason=0
ioctl[SIOCSIWSCAN]: Device or resource busy
wlan0: Failed to initiate AP scan
ioctl[SIOCSIWSCAN]: Device or resource busy
wlan0: Failed to initiate AP scan
wlan0: Trying to associate with 11:22:5d:86:93:66 (SSID='Keenetic-7777' freq=2437 MHz)
ioctl[SIOCSIWFREQ]: Device or resource busy
wlan0: Association request to the driver failed
wlan0: Associated with 00:00:00:00:00:00
wlan0: CTRL-EVENT-DISCONNECTED bssid=11:22:5d:86:93:66 reason=0
wlan0: Trying to associate with 11:22:5d:86:93:66 (SSID='Keenetic-7777' freq=2437 MHz)
ioctl[SIOCSIWFREQ]: Device or resource busy
wlan0: Association request to the driver failed
wlan0: Associated with 00:00:00:00:00:00
wlan0: CTRL-EVENT-DISCONNECTED bssid=11:22:5d:86:93:66 reason=0
wlan0: Trying to associate with 11:22:5d:86:93:66 (SSID='Keenetic-7777' freq=2437 MHz)
ioctl[SIOCSIWFREQ]: Device or resource busy
wlan0: Association request to the driver failed
wlan0: Associated with 00:00:00:00:00:00
wlan0: CTRL-EVENT-DISCONNECTED bssid=11:22:5d:86:93:66 reason=0
dbus: wpas_dbus_bss_signal_prop_changed: Unknown Property value 7
wlan0: Trying to associate with 11:22:5d:86:93:66 (SSID='Keenetic-7777' freq=2437 MHz)
ioctl[SIOCSIWFREQ]: Device or resource busy
wlan0: Association request to the driver failed
wlan0: Associated with 00:00:00:00:00:00
wlan0: CTRL-EVENT-DISCONNECTED bssid=11:22:5d:86:93:66 reason=0
wlan0: Trying to associate with 11:22:5d:86:93:66 (SSID='Keenetic-7777' freq=2437 MHz)
ioctl[SIOCSIWFREQ]: Device or resource busy
wlan0: Association request to the driver failed
wlan0: Associated with 00:00:00:00:00:00
wlan0: CTRL-EVENT-DISCONNECTED bssid=11:22:5d:86:93:66 reason=0
wlan0: Trying to associate with 11:22:5d:86:93:66 (SSID='Keenetic-7777' freq=2437 MHz)
ioctl[SIOCSIWFREQ]: Device or resource busy
wlan0: Association request to the driver failed
wlan0: Associated with 00:00:00:00:00:00
wlan0: CTRL-EVENT-DISCONNECTED bssid=11:22:5d:86:93:66 reason=0
wlan0: Trying to associate with 11:22:5d:86:93:66 (SSID='Keenetic-7777' freq=2437 MHz)
ioctl[SIOCSIWFREQ]: Device or resource busy
wlan0: Association request to the driver failed
wlan0: Associated with 00:00:00:00:00:00
wlan0: CTRL-EVENT-DISCONNECTED bssid=11:22:5d:86:93:66 reason=0