New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Read basic config from config-file on FAT-Partition #3
Comments
User installed apps are now stored on the sd card as a first step. This makes sure they aren't affected by updates of the root file system. |
As of commit 6ab5545, WLAN config for wlan0 is now stored on the SD card, in "config/net/wpa.wlan0.conf". Format for this file is the same as for wpa_supplicant.conf. A basic configuration can simply set SSID and PSK for one network:
If this file does not exist, an empty file is created automatically on startup. Config changes using the "WiFI" app are saved to "config/net/wpa.wlan0.conf" as well. |
That's commit cecfd42 Sounds good, I'll give it a try asap. |
Yes, of cource - i accidentally pasted the parent commit 😊 |
Sure, I think this approach separates data/config and system in a way that makes updating easy and saves (me and others) configuring the wifi over and over again. |
I could have closed it myself, but because you opened the issue I thought it better if you give the final OK 😄 |
Thanks! |
If you use the "simple layout", all changes to files in /etc/ will be stored on the FAT partition (in config/etc/). |
Would it be possible to implement that for the advanced layout as well? I like the idea of having (more of/"all" of) the config being separated from the system to preserve it during updates. |
Yes, but doing so would negate some of the advantages of the advanced layout - namely, write speed and (more) robustness against unclean shutdown. What I'm thinking about is a third layout variant, with uImage, am335x-kno_txt.dtb and rootfs.img and maybe some configuration defaults (like an initial WLAN config) on the FAT partition, and changes (downloaded apps, config changes, ...) on an EXT4 partition. |
Is that really worth the effort? I am even not sure if we should release the files for the advanced layout. Having different files being part of different setups will probably confuse some users. |
I think it is, especially since it would combine the advantages of the advanced layout (more robust, faster) with the advantages of the simple layout (config changes persist across upgrades). The disadvantage of this setup is that changes cannot easily be accessed "offline" from Windows, because these changes would be on an EXT4 file system. |
Does anybody need this? Maybe we should just create a tool, which can transfer settings like WLAN via USB. |
Is that idea still necessary? (We intriduced a new layout, so do we need it anymore?) |
Revert "Revert "Add ALSA Sound support""
Obsolete due to new unified sd card layout |
Make basic features configurable via config-file placed on FAT partition so the config can easily be edited and saved to survive firmware updates.
I'd particularly like to use this to set up WiFi so I can enter the WPA/WEP-Key on the desktop computer.
The text was updated successfully, but these errors were encountered: