im trying to install kali linux but headless but i cant connect to my wifi and idk how i can fix that any help?
k9t33n
im guessing it's wireless
k9t33n
make sure you enabled it in the imager with the correct details
thebrohypers
i saw videos that they addes 2 files to enable ssh and connecting to the wifi?
k9t33n
putting the incorrect details is definitely possible yes
k9t33n
oh do you mean enabling WiFi? yes
k9t33n
scroll down to wherever it says WiFi in the settings icon, put your wifis password and stuff in and see how it goes.
thebrohypers
so i did in that setting bar my wifi login and writed it and now my light on the pi is pinging all the time
k9t33n
which one?
thebrohypers
the green one
k9t33n
do you know how to ssh?
thebrohypers
yh it says the hostname is correct but
k9t33n
but what?
thebrohypers
but there are no facts from the requested type found
k9t33n
what do you mean by facts?
k9t33n
your main pc is on windows correct?
thebrohypers
yh
thebrohypers
wait the green light is stopped flashing and stays on now
k9t33n
ok type into your terminal on your main pc ssh <username>@<ip> but replace whats within the <> with the actual stuff
thebrohypers
k9t33n
the username is not rassbery pi by default
thebrohypers
cant get in
thebrohypers
k9t33n
now you need to remember your password
thebrohypers
i never created a password
k9t33n
its either "pi" or "rassbery" by default, forgot which one
k9t33n
*raspberry sorry
thebrohypers
permission denied
k9t33n
ok go into the imager and set it to something youl remember
thebrohypers
do i need to write the data again?
thebrohypers
yes right
k9t33n
res
k9t33n
yes
thebrohypers
so i have the option ssh enable on and the first option is use password auth
k9t33n
yes
thebrohypers
thats enabled but i cant make a password for it
k9t33n
and set the username to something like your name and set the hostname to something youll also remember like "my-pi"
thebrohypers
this one?
thebrohypers
k9t33n
i cant speak that launguage but i think so
thebrohypers
alr its writing now
thebrohypers
thats weird
thebrohypers
im logged in but my pi isnt connected to my wifi
k9t33n
logged in with ssh?
thebrohypers
yh
k9t33n
it is connected then
k9t33n
ignore the light
k9t33n
ok your done
thebrohypers
alr thank u so much for helping man
thebrohypers
so i have a new problem i cant connect with the vnc viewer
thebrohypers
k9t33n
oh confusing
thebrohypers
yh and its the correct ip and i started the server in my pi
k9t33n
make sure vnc is turned on
k9t33n
on your ssh do sudo raspi-config then go into interfaces and turn on vnc
thebrohypers
i did
k9t33n
well it should work now
thebrohypers
stil not working im getting a time out error
k9t33n
ok and your using the hostname for this?
thebrohypers
The ip
thebrohypers
also tryed with hostname aswell i used also remote desktop but still nothing
oops.se
Kali headless don't support mDNS and I understand why. The only way I know is to find the IP or specify a static IP in the file cmdline.txt
Example: dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 elevator=deadline root=/dev/mmcblk0p2 rootfstype=ext4 rootwait ip=XXX.XXX.XXX.XXX
Where XXX is a free IP adr. from your network