Thank you so much zacvoge for your patience! I’m new to all this. I got it working u sing a few clues from the links you provided, and some links from those pages to a couple of other pages. I think I’m beginning to understand. Here’s what I concluded:
- You can’t just edit the my-network file on the SD card which Hass.io is running off of (in the RPi.)
-
Hass.io will read a properly formatted and named USB memory stick, if found inserted in the RPi at startup.
- That’s the only way to get network manager changes into the running Hass.io OS on the RPi.
Here’s what I did:
First, I created a my-network file on my own laptop, using the instructions here. Specifically, the file contains the following lines:
[connection]
id=hassos-network
uuid=72111c67-4a5d-4d5c-925e-f8ee26efb3c3
type=802-11-wireless
[802-11-wireless]
mode=infrastructure
ssid=(my router’s SSID)
#Uncomment below if your SSID is not broadcasted
#hidden=true
[802-11-wireless-security]
auth-alg=open
key-mgmt=wpa-psk
psk=(my router’s password)
[ipv4]
method=auto
[ipv6]
addr-gen-mode=stable-privacy
method=auto
Note that the parts in parens () are replaced, without the parens, with local values.
I took an old USB memory stick and reformatted it, giving it a label of “CONFIG”. I used the Windows command-line “Format F: /FS=FAT LABEL=“CONFIG” /Q”. You could use other methods, like Windows Disk Management. The key is, the format has to be FAT or FAT32, and the label has to be “CONFIG.”
I created a folder called “network” on the root of my newly-formatted memory stick, and copied the “my-network” file I’d created to it (no file extension!)
I powered down my Raspberry Pi, inserted the USB stick, and rebooted.
Now it connects only with my wireless router. The wired connection (still attached) is not used.
I’m documenting this because there is a lot for a beginner to wade through, and some basic concepts are often left unstated in documentation written by someone with more experience, to whom this may all be second nature. I figured I’d offer these basic steps for others who are as clueless as I am, in hopes that we can all learn the secret handshakes, acronyms and abbreviations so we can be initiated into the inner circle of Pi users someday.