How do i setup Kali Linux while in text mode

298 Views Asked by At

I am a newbie at Linux, in fact this is the first time i'm using linux. Having installed Kali Linux i keep getting the text mode display, a youtube tutorial shows that i need a display manager and how to set it up, but i can't run

sudo apt-get update

or

sudo apt-get install

gdm3 because i am not connected to the net ( a step i skipped while setting up due to ignorance). Please how do i set up a WIFI connection or install a usb modem in text mode? Thanks. I'm stuck at black n white

2

There are 2 best solutions below

1
On BEST ANSWER

Try to enable the WiFi by running:

nmcli r wifi on
3
On

Just edit /etc/network/interfaces and write:

auto wlan0
iface wlan0 inet dhcp 
                wpa-ssid {ssid}
                wpa-psk  {password}

After that write and close file and use command:

sudo dhclient wlan0

Replace {ssid} and {password} with your respective WiFi SSID and password.