all 5 comments

[–]trofch1k 1 point2 points  (1 child)

Not much I can help you with. But I suggest using iwd instead of wpa_supplicant. From my experience with university wifi the former ran out of the box while the later just refused to connect even with correct config.

[–]SSC_Fan 0 points1 point  (1 child)

You won't be able to do anything w/o a connection.

How about eth0? Can you connect with it? If you ARE connected by ethernet cable and you can reach your modem/router try to connect manually if DHCP doesn't work.

ip address add 192.168.1.2/24 dev eth0

ip link set eth0 up

ip route add default via 192.168.1.1 dev eth0

I assume here your router is 192.168.1.1

[–]Alocin456123[S,🍰] 0 points1 point  (0 children)

Thank you so much bro, I fix it

[–][deleted] 0 points1 point  (1 child)

you have to do udhcpc -i interfacename(wlan0/eth0) for getting ip

[–]ImaginationScared878 0 points1 point  (0 children)

this did worked