I'm using latest version of Debian-based Linux Kali. Maybe it is an XY problem, as the main problem is after I log in to the system I get a blank screen and mouse pointer. Somebody on the Internet recommend me to change window manager.
But I'm unable to do this as I can't connect to wifi.
I found tutorial how to do this here
And I tried to do it step by step, but it doesn't work for me.
In that tutorial that author wrote that I need use the command ip link set wlan0 ip
to bring up the wifi interface. In his example the output looks like this:
root@kali:~# ip link show w
lan0 4: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN mode DORMANT qlen 1000
link/ether 00:60:64:37:4a:30 brd ff:ff:ff:ff:ff:ff
root@kali:~# ip link set wlan0 up
root@kali:~# ip link show wlan0
4: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT qlen 1000
link/ether 00:60:64:37:4a:30 brd ff:ff:ff:ff:ff:ff
On the other hand when I call:
ip link set wlan0 up
ip link show wlan0
I get:
4: wlan0: <NO_CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DORMANT qlen 1000
link/ether 00:60:64:37:4a:30 brd ff:ff:ff:ff:ff:ff
and after running wpa supplicant with valid network details
wpa_supplicant -B -D wext -i wlan0 -c /etc/wpa_supplicant.conf
iw wlan0 link
still returns Not connected.
How do I solve this problem and what shall I do next?
iwlist scan
?ifup wlp1s0
to bring the network up andifdown wlp1s0
to bring it down.