Good point @nickrout, but in my situation I don’t always have direct access to the router.
My pi is hooked up to a monitor which is how I’m able to view logs, and it doesn’t look like it’s accepting input. How would I be able to log in manually? Also how can I ssh into hassos if my pi isn’t connecting to the wifi, and what would the username / password be if I was connected via ethernet?
It’s not a matter of wired vs. wireless. I 100% agree that wired is the way to go for a reliable connection. The RaspberryPi 3 has the great feature of ethernet and wifi. Maybe someone would like to run HA on ethernet but have wifi sensors on a different network. There are dozens of network variations out there done for very legitimate reasons. Hassio’s network configuration is a total nightmare for accommodating these.
I spent 3 weeks bashing my head against the wall trying to get WiFi to work. Starting from scratch reformatting SD at least 20 times with 32b or 64b HA87 or HA88 and trying various combinations of wifi configs and filenames. Believe me, I was about to throw in towel after this last attempt… I formatted USB FAT32 and it worked! The following is NOT in the “Getting Started” instructions.
The config file must use UNIX end-of-line (LF)
The config file data must be ANSI encoded.
The WiFi config file is stored in the “my-network” file name, and WITHOUT a file name extension.
The USB must be formatted FAT32.
At least, this is what finally worked for me… WOW… this was painful ! PLEASE… someone update the “Getting Started” with these findings so that others (inexperienced Linux folks) don’t have to go through this.
To complement the link, also check out my reply, regarding the importance of setting the channel<=10 of the SSID in your router before performing first-boot.
Hi Realogics
man alive to get wifi up and running was a big problem until I found your post why they can’t put up proper instructions on the getting started page of the website I will never know. it’s so very easy if you have the right instructions.
anyways thanks for all your head banging and finding out all I can say to anyone is follow the advice above.
@jdmswong have you been able to figure out how to connect Hass.io to WiFi on Pi? I am on Mac and for the life of me couldn’t make it work. Tried so many re-installs and multiple ways. Would appreciate any help you could offer. I am using pi 4.
I dont know if this can be useful, but after 5 attempts with sd’s folders creation/reflash sd/etc I finally format it in FAT 32, using win10 format default tool , a USB stick and label it CONFIG, then plug into Linux system (ubuntu), create a network folder, my-network file, copy/paste from here using nano -> plug usb on raspi4, boot the raspi with 2A power supply and check my router page too see if raspi4 magically appear and then it did.
Unfortunately I’m unable to use any network tool while connecting to HassOS through SSH.
Is the any way to alter WiFi configuration on running system? Is there a config file I can use to change the network configuration without using USB method?
worked for me,… thank you so much…
i used boot sd card method… awesome.
my usb driver failed in rpi 3b+, finally your solution worked… it is a big relief for me