How the live system gets the wifi password

welcome! Can someone explain to me how the Elive system obtains the password of my wifi? When starting the live system, I don't have to enter the password, because it is already saved. How does this happen and why?
I already know that the script scans the disks for the existence of other systems and from them retrieves network data, if they were saved. Is it only this information that is searched for, or is there other information stored, for example, in browsers? why are network search services running from the start?

1 Like

Elive actually first asks if you want it to search for- and subsequently use- existing (saved) connections. So it is "opt in" and doesn't do any further searching than that.
If you agree, it will look for saved settings and use those....if you don't agree it simply wont and you'll have to configure the connections once Elive is up and running.

1 Like

Exactly :slight_smile:

And the way it "gets" them is by just copying the files from /etc/NetworkManager/system-connections/ into your Live system, to add your saved network configurations into the live mode

The "why is needed" is to improve the user experience, more exactly:

  • by running the command "showmyip" or "showmylocation" it can preconfigure your system to be set in the country you are in, so the desktop starts on this language and keyboard that you most likely want
  • in any of the cases the first question in the desktop is to make you select your language and keyboard, so in the rare cases that is not preconfigured to the one you want, you can set it
  • language and keyboard is not only needed to improve this user experience but also for the creation of the home directories (like Downloads VS TĂ©lĂ©chargements) or for the installer later to be updatable or to install your selected software
1 Like