DougieLawson wrote: ↑Fri Jul 05, 2019 11:40 am
Write plain Raspbian to your SDCard with etcher.
Re-insert it in your Windows machine.
open cmd.exe and run
echo "" > f:\ssh.txt
...
Doug's answer needs imho some clarification!
Once you have created the SD Card with Etcher, insert it into the Windows machine.
You will see a FAT partition (boot) and get errors for the EXT4 partition asking you to format the partition. Do not do that!
Windows cannot cope with the ext4 partition, but that does not matter for us.
On the fat partition (drive letter may be another one than F:) create a file named ssh or ssh.txt it can remain empty, only the presence of the file matters.
Create a file named wpa_supplicant.conf and edit the content accordingly:
Code: Select all
country=GB
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="your WiFi service set ID here"
psk="your WiFi password here"
}
Enter your country code in capitals, your ssid and your password.
Edit the file with notepad, notepad+ or another programming editor, NOT Word!
DO NOT put spaces around the = signs!
Eject the sd card and put it into the Raspi, power it and cross fingers.
SSH your new system with the system name "raspberry" if you have Windows 10 or have a bonjour or avahi deamon installed.
Else get the IP address from the DHCP information of your router.
Finding the IP address with the router is the best method anyway, so you know that the WLAN match succeeded.
Of course if you have got a raspi 4, starting with a wired Ethernet connection is always better than WiFi.
Enjoy your beer...
P.S. the keyboard layout never matters if you are headless.