Issues connecting to wifi for the first time
Hello! I'm working on getting RatOS up and running. I just flashed it to my SD card using Balena. I've connected to the RatOS wifi and am attempting to set up RatOS to connect to my home wifi. I believe the issue is in my mesh system. I have 4 TP Link Decos around my house. RatOS is givng me many options to choose from (much more than 4) on both 2.4GHz and 5GHz. I've tried it a few times and it's obviously being rejected somehow because it's rebooting and restarting the RatOS wifi network. Any else having issues with mesh networking or found a solution?
I can't do a hardwired connection in the place where the printer is going or I would.
Thank you ahead of time!
Solution:Jump to solution
Got the solution. If you're having issues with mesh wifi, this might work for you.
Note: I'm working with TP-Link Deco X20s.
Step 1: Flash RatOS per https://os.ratrig.com/docs/installation/#setting-up-your-printer
Step 2: Plug into Ethernet....
Installing RatOS | RatOS
This is preliminary documentation for the upcoming v2.1.0 release. The work is still ongoing and the documentation is not yet complete.
10 Replies
I feel like I've heard of a few others having issues with a mesh setup, but can't recall the solution. Do a quick search in this discord and see if anything pops up?
I have been, but haven't found a direct correlation. I'll keep looking. Hopefully, someone will have a solution they can share. I can't use the printer without it.
Is there a way to boot it up with a wired connection and add the wifi connection later? Maybe that will allow me to properly configure it then add it to my machine once it's switched to wifi.
Yes, but I don't recall the exact steps. There is a file somewhere that contains the wifi details. Once you've got the raspi plugged into ethernet, you can ssh in and edit the file
oh, actually. Once it is on ethernet you can go to ratos.local/configure, and do the wifi setup there. On reboot it should pick up the wifi I believe
Thanks! I was actually just in the process of giving that a try, actually. I'm reflashing to ensure I'm starting the whole process from scratch. I'll report back with a solution if it works. Also, I think the file is called /etc/wpa_supplicant/wpa_supplicant.conf, but I'm working on properly editing that.
Awesome. Please do report back and I'll add it to my personal notes for helping others 🙂
Solution
Got the solution. If you're having issues with mesh wifi, this might work for you.
Note: I'm working with TP-Link Deco X20s.
Step 1: Flash RatOS per https://os.ratrig.com/docs/installation/#setting-up-your-printer
Step 2: Plug into Ethernet.
Step 3: ssh into RatOS. Use Terminal (command prompt). ssh pi@ratos.local. It'll prompt you for a password. It's raspberry.
Step 4: Run this command to edit the wpa supplicant file (controls the wifi networks): sudo nano /etc/wpa_supplicant/wpa_supplicant.conf.
Step 5: Scroll down to the WPA/WPA2 (or whatever section is relevant to you) and uncomment the section by removing the # on each line. Add in your network details. It should look something like this:
network={
ssid="network_name"
psk="password"
}
Step 6: Reboot using sudo reboot. Unplug the ethernet while it's rebooting.
Step 7: Wait a couple minutes for it to boot. Check to see if it's connecting via wifi by running the ssh command again or going to ratos.local in your browser.
Worked for me! Happy printing.
Installing RatOS | RatOS
This is preliminary documentation for the upcoming v2.1.0 release. The work is still ongoing and the documentation is not yet complete.
Noted! It is now part of my helper notes 🙂
I hope it helps someone else!
One additional thing: im pretty sure ratos throws a "ratos wpa_supplicant" (something allong those lines) in the root folder?
Since I booted my printers up by editing that file after Balena etcher was finished
You can also edit this file on the ad card before launching RatOS for the first time, and it will connect to your wifi on the first boot