WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Settings persistence: WiFi but not browser  (Read 3333 times)

Offline breakstuff

  • Newbie
  • *
  • Posts: 25
    • my weblog
Settings persistence: WiFi but not browser
« 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...

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14819
Re: Settings persistence: WiFi but not browser
« Reply #1 on: December 26, 2011, 10:30:09 PM »
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.

Offline breakstuff

  • Newbie
  • *
  • Posts: 25
    • my weblog
Re: Settings persistence: WiFi but not browser
« Reply #2 on: December 31, 2011, 12:55:31 PM »
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:

Code: [Select]
opt/bootlocal.sh
opt/bootsync.sh
opt/shutdown.sh
opt/tcemirror
opt/.filetool.lst
opt/.xfiletool.lst
home
opt/backgrounds

/opt/.xfiletool.lst:

Code: [Select]
Cache
cache
.cache
XUL.mfasl
XPC.mfasl
opt/.tce_dir
mnt
.adobe/Flash_Player/AssetCache
.macromedia/Flash_Player
.opera/opcache
.opera/cache4
.Xauthority
.wmx

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Settings persistence: WiFi but not browser
« Reply #3 on: December 31, 2011, 03:53:02 PM »
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?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11633
Re: Settings persistence: WiFi but not browser
« Reply #4 on: December 31, 2011, 03:56:44 PM »
It sounds like he only wants to save the wifi settings in home and nothing else.

Offline Guy

  • Hero Member
  • *****
  • Posts: 1089
Re: Settings persistence: WiFi but not browser
« Reply #5 on: December 31, 2011, 04:32:45 PM »
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: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.
« Last Edit: December 31, 2011, 04:40:40 PM by Guy »
Many people see what is. Some people see what can be, and make a difference.

Offline Guy

  • Hero Member
  • *****
  • Posts: 1089
Re: Settings persistence: WiFi but not browser
« Reply #6 on: December 31, 2011, 04:38:18 PM »
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.
Many people see what is. Some people see what can be, and make a difference.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11633
Re: Settings persistence: WiFi but not browser
« Reply #7 on: December 31, 2011, 04:41:15 PM »
If he uses a persistent home, won't that save his last opened tabs in Chrome? He doesn't want that.

Offline Guy

  • Hero Member
  • *****
  • Posts: 1089
Re: Settings persistence: WiFi but not browser
« Reply #8 on: December 31, 2011, 04:50:27 PM »
Quote
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.
Many people see what is. Some people see what can be, and make a difference.