#I just moved to a new place and changed wifi network naming scheme and now I can't connect to rpi
128 messages · Page 1 of 1 (latest)
I changed th wpa stuff already using notepad but to no avail
Edited the 3 wpa files on my boot
I tried editing using text editor on Mac but was met with “no permission to edit this file”
Can you send that file, with your ssid and password censored?
does it matter if it is set to my 5g network?
google shows that my 3b+ supports 5ghz
i have a 2.4gz network too but i would rather have it connected to the 5ghz so i dont have to keep switching just to see print progress
i put the exact same wifi name and password in these 3 files
That is maybe the error...The file has to be named wpa_supplicant.conf and not mainsailos-wpa_supplicant.txt
all 3 or just the first one?
2 of them got funny name
Only one. The others doesn't matter at all
okay ill try it
wait i just remembered that my miansail os is pretty outdated
but ill try this anyway
I just checked and it should be the same, even for an outdated mainsailos/raspberry pi os
ping: cannot resolve mainsailos.local: Unknown host
Can you check your router, to see if it's there?
trying but my dad forgot the password so i cant log in to the router
ill update when i get access
I can’t tell
I read the list of devices but can’t tell which ip is the pi
I know the ip of the pi via Ethernet
But idk if it’s the same if it’s on WiFi
Is there a way for me to check the pi’s IP address by connecting a monitor and keyboard?
Yes, with ip addr
I have an issue now
I forgot my mainsail password
I tried pi but that didn’t work
I tried all my passwords to no avail
Forgetting the username and password is the worst thing. But there are ways around it iirc. But you would have to search for it on your own
It says here “started WPA Supplicant”
Then it most likely started and you just need to find the correct username and password
Or if you don't need your history, you could just backup your config files & mainsail settings and reflash
I’m able to get into mainsailos.local if connected via Ethernet
Without it needing a password and whatnot
What’s the default password?
Cause I think it might be set to default
But I don’t remember reading anything about it when I last flashed
With ssh?
Default password should be raspberry
Web doesn't have a login....
Yeah biscuits
Not set to default
I’ll try ssh
Yeah can’t ssh to mainsailos.local
Wrong password
“Permission denied (publickey, password)
Did you mabye setup a ssh key?
Probably but I don’t remember
Could’ve sworn I just used raspberry
Since I was too lazy to set one
pi is default user and raspberry is the default password
☝️
Alright. I’ll try stuff
How do I do this
Do I just download my printer.cfg and stuff
Yes, just download all the configs. For mainsail you have to click on the settings button top right. There you will find the mainsail settings in moonraker db entry
mainsail.cfg is the only config, you don't need to download. That one is always the same
Ah okay
For the moonraker DB, I selected all the boxes except for webcams. Does that include my printer.cfg or do I still have to download that from the config files
You still have to download that
I don't know if you already reflashed, but you could also do a backup of the whole sdcard first
Just to be sure, that you don't loose anything important
The last time I reflashed was before I re-setup mainsail like 2 years ago
Hmm there’s a 32 bit and a 64 bit option now for flashing mainsailos via rpi imager
Which do I pick?
Doesn't matter. I recommend the 32 bit version, as the 64 bit version isn't really needed
Alright thanks
I’m confused
Now it’s not even working even via Ethernet
Okay so I got connected cause I apparently changed the name from mainsail.local to Raspberrypi.local
But that’s only via lan
Manually set the ssid and password via raspi config
I connected the raspberrypi to the router via Ethernet cable and it showed up then. But it’s not connecting to the WiFi so far
@pseudo tulip sry for the ping, but I guess you have a lot more experience with the wifi thing of SBCs
Wifi won't connect, but ethernet works. WPA conf and raspi-config got already tried.
That option isn’t viable for me due to the lack of Ethernet in my building as of now
It only works now cause the rpi is far from the printer
But once it’s connected there’s no way
I feel like they’re the one that helped me the first time this happened. But now I’m running into even more problems after problems
Yup I restarted it without the Ethernet plugged in and left it on for like an hour and no luck. I plugged in the Ethernet without turning it off and it connected within 30 seconds
Sorry, didnt notice the ping. Lrt me read to it first.
It’s alright. While you’re reading that I’m gonna put an option. Usb WiFi dongle
Tho I would prefer that to be a last resort since I’m trying to save as much as I can for a better pc
So, I only can guess here, do you use the exact same SSID's for 2.4 and 5ghz? This is often an issue with raspberry pis, also using WPA3 for encryption sometimes leads to issues.
Nope using different ssid’s
Well, different names
Tho my dad says im able to connect to any device even if im using the 5g while it’s on a 2.4g
Also I learned that I’m using the rpi 3B not the 3B+
So there’s no 5g built in
But yeah, I think it’s WPA3
For a quick test I would suggest, open an Hotspot with your mobile device, use simple ssid and password for the hostpot, normaly in Android you can see which IP the rpi then gets assigned. Try to connect via its IP from your mobile that gives Hotspot.
And if it connects then it’s an issue with WPA3?
If that works, you have to change settings in your router.
Found a Reddit thread from 2021 that says no rpi supports WPA3
Probably, could be a combination of. Also ensure there is no 'MAC filter' enabled inside routers firmware
Okay that’s odd. My wpa_supplicant.conf file completely disappeared
Then it has accepted your setup. This behavior is intended. Because there are no read limitations on FAT32 partitions and your password is stored in clear text. So, it sets it up and deletes the file if setup was succesful..
A template is inside WiFi-Readme.txt in boot partition. Just copy and paste the according blocks to a new file
hmm my iphone isnt showing any devices being connected
Then there might be an option you setup NetworkManager by using raspi-config or you Wifi module died.
Try to flash a standard, raspberry pios. If it works there you did something that messed up your mainsailos, this is hard to recover if you havent access to it
alright. im trying this now
Ofc on another SDcard
ah i already did a fresh install on this sd card
so i dont really have much to lose anymore
man i love KM switches when using a single keyboard
Trying to flash the default rpi os. I’ll update tomorrow or something
Okay that’s weird. So for starters, we have 2 routers. 1 being the one the internet provider gave us, then the second one which has stronger range and speeds which is connected to the first router.
The one it’s connected to is router 1
The one below it is our stronger router
And it won’t let me connect to it
But I can ping google.com when connected to router 1, albeit with high ping
It takes pretty long to load but I’m able to go on google images so the WiFi module definitely works
Then please close this post