PrusaLink MAC not stable, local host name not allways working
Powering up the printer and after Prusa Link boot, I had a message No lan access. I switched off and then on the printer, but after new boot I had the same message. A Scan of my LAN with Advanced IP Scanner, verified that Prusa Link had not been connected. As I was searching the internet for a solution, sometime I saw the message Prusa Link OK. Trying to connect with the hostname I have ginven to it at setup, there was not any connection. And the IP that I have reserved in my rooter for the printer MAC was not the same as before. Checking again the LAN, I found that printer has changed MAC! I configured my router with the new MAC, but still unable to log with the "server" name. So I had to log using the IP.
Then I set up my router for the 2 different MAC addresses to have 2 specific IPs, in order to do not search each time for the random IP assigned by the router. Some times I can see PrusaLink by the "server"" name, some others I do not.
Do you have an idea what could be wrong? Is it normal to change MAC address, and how I can prevent it?
I have seen that there is a file in the Linux area of SD card that can be edited to assign a fixed IP (but not MAC), and set everything for PrusaLink. But my PC is running Windows 10, and the Ext2 Volume Manager can read the files, but not edit them (because they are "protected"). Can I set these options with a file in Windows area of SD? If not, is there any way to "unprotect" the filew (or folders) I want to edit from Windows? This could be very helpfull, because there is another bug in Prusa Link. If by error a is uploaded a file that is not gcode (for example an 3mf one), there is no option to delete it.
RE: PrusaLink MAC not stable, local host name not allways working
Please provide more details about the hardware hat PrusaLink is running.
If this is a Raspberry Pi with ethernet and wifi then you can just see two interfaces on the same network, which is normal, you would need IP per each of them set in DHCP server you use.
The best option to edit files is to use SSH client on windows ( for example putty.exe) to connect to the host ( I believe default username is 'jo' and password is 'raspberry') and then use sudo to become a root user to be able to edit certain files. The most convenient basic editor is nano.
There is an option to set static MAC address to the interface on the Linux. Also there is option to generate random MAC to improve anonymity, but that's another story....
See my GitHub and printables.com for some 3d stuff that you may like.
RE: PrusaLink MAC not stable, local host name not allways working
The hardware is Raspberry Pi W2 Zero with wifi purchased from Prusa store, on a MK3S+.
There are no two interfaces at the same time, the link IP is using randomly one of them, sometimes while been active! I do not find that normal. Also the use of declared "server" name it is not allways working, I have to use the IPs, testing wich is active.
And please add a delete option for files other than code.