Tiny Core Linux
Tiny Core Base => TCB Q&A Forum => Topic started by: breakstuff on December 26, 2011, 05:20:14 PM
-
I have read a lot of documentation in an attempt to solve this but it's all swimming around inconclusively in my head so please pardon me if this is covered somewhere.
I don't want to use any persistence besides saving WiFi settings, in order to have a browser kiosk of sorts. Initially, if I rebooted and did not choose backup then I would have to retype the WiFi password after the boot. Then I rebooted and chose "backup" from the drop down which saved my WiFi password after boot. However, then all my Chrome settings like last open tabs were saved and I don't want that for my kiosk. How can I make the only thing that gets saved be the WiFi settings?
Also, the WiFi doesn't get started without me clicking the WiFi icon on the wbar and then choosing the wireless network. At least it doesn't make me retype the password, but it would be nice if it is possible to have a default SSID that it connects to. How would I accomplish this?
Thank you...
-
How can I make the only thing that gets saved be the WiFi settings?
Your backup is controlled by /opt/.filetool.lst, which lists the files to be backed up and /opt/.xfiletool.lst, which lists the files to be excluded from the backup.
-
The output of those files is below. Bit of a noob here, can you point me in the right direction as to what listed here would store WiFi/browser settings?
/opt/.filetool.lst:
opt/bootlocal.sh
opt/bootsync.sh
opt/shutdown.sh
opt/tcemirror
opt/.filetool.lst
opt/.xfiletool.lst
home
opt/backgrounds
/opt/.xfiletool.lst:
Cache
cache
.cache
XUL.mfasl
XPC.mfasl
opt/.tce_dir
mnt
.adobe/Flash_Player/AssetCache
.macromedia/Flash_Player
.opera/opcache
.opera/cache4
.Xauthority
.wmx
-
The configuration files for both are in your home directory, and should be saved at backup.
Did you backup?
What exactly is it that you want saved that is not?
-
It sounds like he only wants to save the wifi settings in home and nothing else.
-
I don't use wifi, but for Chrome:
You may be able to set up chrome how you want using chrome settings. To do this click on the spanner near the top right.
If you can't do it using that method, you may include
home/tc/.config/chromium
in /opt/.xfiletool.lst
or just some subdirectories of home/tc/.config/chromium.
Not knowing how you are going to use the kiosk, there are many other things which could be suggested.
1. You could install more than one browser, so the user has a choice. That is also install Firefox, and maybe others. It is not necessary, just an idea.
2. If you have Tinycore installed on a hard drive, I suggest using persistent home and opt, and not using backup. This results in quicker start up and shut down.
3. Check out these pages
http://wiki.tinycorelinux.net/wiki:kiosk (http://wiki.tinycorelinux.net/wiki:kiosk)
http://wiki.tinycorelinux.net/wiki:menu (http://wiki.tinycorelinux.net/wiki:menu)
This enables you to remove things from the menu and wbar, so the user cannot access other things on the computer. You can change this when you want to perform maintenance.
Just ideas, it is up to you.
-
You should be able to start the wifi automatically by adding appropriate commands to /opt/bootlocal.sh.
Someone else may be able to help with what commands to use.
-
If he uses a persistent home, won't that save his last opened tabs in Chrome? He doesn't want that.
-
If he uses a persistent home, won't that save his last opened tabs in Chrome? He doesn't want that.
He can probably set it up how he wants using chrome settings.
If not, there are other ways.
If he decides to use persistent home and opt, and can't set it up how he wants using chrome settings, we can discuss this further.
I found waiting too long for the computer to start was annoying, when you just want to get on and use it. - Just my opinion.
Backup is designed to prolong the life of usb drives, and is not necessary on hard drives.