Stack Exchange Network
Stack Exchange network consists of 181 Q&A communities including
Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack Exchange
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It only takes a minute to sign up.
Sign up to join this community
Anybody can ask a question
The best answers are voted up and rise to the top
3 years, 7 months ago
I'm brand new to Raspberry Pi. I bought a RP 4 kit from Amazon with the goal of creating a NAS Box to access external hard drive files over my Wifi. I have a MacBook Pro, running Mojave 10.14.6
Connected 32 GB SD Card to Mac with card adapter
Formatted SD card to MS-DOS (FAT)
Downloaded Raspbian Buster Lite from Raspberrypi.org
Downloaded and installed balenaEtcher from balena.io
Installed Raspbian Buster Lite onto SD card with balenaEtcher
In Terminal, entered "touch /Volumes/boot/ssh" to create SSH onto SD card
In Terminal, entered "touch /Volumes/boot/wpa_supplicant.conf" to add networking information
In Terminal, entered "nano wpa_supplicant.conf" to edit file
Copy/pasted the below code, changing network name and password to my own network, doublechecking to make sure I entered information correctly
Control+X to exit nano, saved changed, closed Terminal
Inserted SD card into Raspberry Pi 4
Opened Terminal, entered "ssh-keygen -R raspberrypi.local" to connect to RP 4 over my wifi
Received error "mkstemp: No such file or directory"
I repeated the above steps twice to make sure I did everything correctly, but I received the same error.
Any thoughts on how to get past this error?
Thanks in advance!
Oct 8, 2019 at 17:16
You don't really need to generate a key to connect to your rpi.
Just connect (via ssh) to your pi with
ssh pi@<hostname or IP>
I don't think it will resolve as
raspberrypi.local, I have mine resolving as
raspberrypi - but I'd first make sure it gets onto your network (via your router/whatever you use for your wifi or
arp -a on mac) and use its IP address if the name does not resolve.
Default pi password for buster is
raspberry - don't forget to change it on your first login.
Oct 8, 2019 at 18:05
952 1 1 gold badge 7 7 silver badges 15 15 bronze badges
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our
Accept all cookies
Necessary cookies only