TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: RICKMAN
from: A. DUMAS
date: 2018-01-21 09:47:00
subject: Re: Connecting mouse and

On 20/01/2018 22:34, rickman wrote:
> You can use the zero headless just as
> well as anything.

Just remember, after burning an SD-card with a fresh Raspbian image but
before ejecting it, to:

1. enable SSH access by creating a file "ssh" (I think "ssh.txt" also
works) on the card. On Windows or macOS, the FAT32 formatted /boot
partition of the card will be the only partition mounted and this is
where you create the file. The other partition is ext4 and normally
unreadable on Win/Mac. So don't create a(nother) "boot" subdirectory.

2. preconfigure access to your 2.4 GHz WPA/WPA2 wifi network by creating
a "wpa_supplicant.conf" file on that same partition, with your network
credentials:

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=XY
network={
 ssid="WifiName"
 psk="WifiPassword"
}

The first two lines I simply copied, not sure if they're essential. Use
your actual two-letter country code, like UK or US. You can add more
networks, just add another "network={...}" configuration; they will be
tried in order of appearance in the file. Instead of the clear-text
password you can also use the 64-char hex number output of
"wpa_passphrase WifiName" (it will ask for the password). When first
booting, the .conf file will be removed from the unsecure /boot
partition and saved in /etc/wpa_supplicant/ with only root access.
(Except, you know, sudo doesn't require a password on standard Raspbian
... so use the wpa_passphrase hash whenever possible.)

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.