RPI_Beginner
Posts: 10
Joined: Sun Apr 12, 2020 10:26 am

Cannot connect RPI4 with wifi

Sun Apr 12, 2020 12:34 pm

Hi!

I bought a PRI 4 a few days ago. I followed every step of this tutorial https://www.youtube.com/watch?v=BO1KYIPIn9Y and flashed the system on a SD cart. My problem: I cannot connect the RPI with the wifi (i cant see the IP).

My Wifi config:

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=DE

network={
ssid="ccc"
psk="ccc"
}

The LEDs shine red and green (blinking. I use a Mac.

Can someone help me?

Thank you!!

User avatar
DougieLawson
Posts: 39124
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Cannot connect RPI4 with wifi

Sun Apr 12, 2020 12:55 pm

Is your SSID hidden?
What do you get from iwlist scan wlan0? Does your SSID show up in that scan output?
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

RPI_Beginner
Posts: 10
Joined: Sun Apr 12, 2020 10:26 am

Re: Cannot connect RPI4 with wifi

Sun Apr 12, 2020 1:45 pm

Thank you for your reply. No my SSID is not hidden. I got this:
Bildschirmfoto 2020-04-12 um 15.30.42.png
Bildschirmfoto 2020-04-12 um 15.30.42.png (170.23 KiB) Viewed 263 times
I failed enter iwlist scan wlan0 on my mac terminal.

User avatar
DougieLawson
Posts: 39124
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Cannot connect RPI4 with wifi

Sun Apr 12, 2020 1:48 pm

You have to run that iwlist command on your Raspberry. I care not a jot about whether your Mac has any WiFi connection or not.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

RPI_Beginner
Posts: 10
Joined: Sun Apr 12, 2020 10:26 am

Re: Cannot connect RPI4 with wifi

Sun Apr 12, 2020 1:54 pm

Ahh ok i misunderstand you...but how can i run it on Raspberry?
Sorry im a absolute beginner

User avatar
DougieLawson
Posts: 39124
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Cannot connect RPI4 with wifi

Sun Apr 12, 2020 2:07 pm

Plug in a TV, keyboard and mouse. Boot up the RPi. Open an LXTerminal window and try the command.

Wire your RPi to your home router, create a file /boot/ssh or /boot/ssh.txt, boot up and you can connect to your RPi with an ssh session from your Mac. Use that to determine what's wrong with your RPi wifi settings. Since you have an Apple Mac you may be able to use ssh pi@raspberrypi.local to find the system on your network with Avahi/Bonjour (Bonjour was invented by Apple).

Or use RealVNC to get screen mirroring running across that wired connection and do the LXTerminal stuff.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

RPI_Beginner
Posts: 10
Joined: Sun Apr 12, 2020 10:26 am

Re: Cannot connect RPI4 with wifi

Sun Apr 12, 2020 3:55 pm

ok got it. Thank you!

RPI_Beginner
Posts: 10
Joined: Sun Apr 12, 2020 10:26 am

Re: Cannot connect RPI4 with wifi

Sun Apr 12, 2020 10:44 pm

A new problem occurred :roll:

after writing ssh pi@192.168.0.17

the terminal says:
ssh: connect to host 192.168.0.17 port 22: Connection refused

I add a empty ssh on the SD cart...but nothing happens.

Do you know what i can do?

Return to “Troubleshooting”