I has working HASS. But on Ehternet wired. How to enable WiFi after installed. I see HOWTO on github and video
https://www.youtube.com/watch?v=qnCRcGTznXs . But CONFIG USB cannot work =( My wifi wpa2-psk and AES.
[connection]
id=hassos-network
uuid=72111c67-4a5d-4d5c-925e-f8ee26efb3c3
type=802-11-wireless
[802-11-wireless]
mode=infrastructure
ssid=SSIDHERE
[802-11-wireless-security]
auth-alg=open
key-mgmt=wpa-psk
psk=PASSWORDHERE
[ipv4]
method=auto
[ipv6]
addr-gen-mode=stable-privacy
method=auto
Cannot work for me
1 Like
nickrout
(Nick Rout)
July 29, 2018, 8:02pm
2
What is the name and path of that file?
try:
network/my-network
network/system-connections
network/hass-network
1 Like
nickrout:
Yeah so which one?
Every time different. No option works. I do not have a monitor, I’m looking at the dchp lease router
nickrout
(Nick Rout)
July 30, 2018, 4:53am
6
Should be network/my-network according to here:
# Network
HassOS uses NetworkManager to control the host network.
## Configure network
Only a manual configuration using NetworkManager connection files is supported. Without a configuration file, the device will use DHCP by default. These network connection files can be placed on a USB drive and imported to the host as described in [Configuration][configuration-usb].
## Configuration examples
You can read the [NetworkManager manual][nm-manual] or find many configuration examples across the internet. Keep in mind that the system is read-only. If you don't want the IP address to change on every boot, you should modify the UUID property to a generic [UUID4][uuid]. Inside the `\CONFIG\network\` directory on the USB drive or SD card, create a file called `my-network` and add the appropriate contents below:
### Default
A preinstalled connection profile is provided by default:
```ini
[connection]
id=my-network
uuid=f62bf7c2-e565-49ff-bbfc-a4cf791e6add
This file has been truncated. show original
But anyway, it is always better to set the fixed IP via your DHCP server, which is probably on your router.
It is not working for me. For wpa2-psk same config?
broekd
(Dirk van den Broek)
August 22, 2018, 7:22am
8
I have also struggeld with this and the following video provided me the finale step to get it to work
So this is with wpa2-psk and AES
the most importhing I never figured out is the following :
you create a flashdrive (usb stick with ssd in there) (beside your ssd kaart that contains the hassio boot image)
the name of the flashdrive needs to be config (you give a volume naam during format)
you put the the flashdrive also in your pi during boot
The following steps are described in many places
on the drive create a network folder
in the network folder create your config file named “system-connections” (name & id do not have to match anymore to my understanding)
uuid generated via https://www.uuidgenerator.net/
below my network config file
[connection]
id=hassos-network
uuid=“put here your generated uuid”
type=802-11-wireless
[802-11-wireless]
mode=infrastructure
ssid=“Put here your SSID”
[802-11-wireless-security]
auth-alg=open
key-mgmt=wpa-psk
psk=“put here your wifi pswd”
[ipv4]
method=auto
[ipv6]
addr-gen-mode=stable-privacy
method=auto
2 Likes
That worked for me. It’s a pity that I have to keep a USB drive permanently plugged to have wifi connectivity
HeffeD
(Jeff)
August 26, 2018, 6:20pm
10
You don’t need to keep the drive plugged in. It imports the contents of your network file when you boot your Pi, or if you use the import command. After the import is done, you can unplug the USB drive.
1 Like
ghpk
(Manu K)
May 20, 2019, 4:31pm
11
broekd:
system-connections
Thanks, Worked fine with wpa2-psk and AES setup I have.