LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 05-30-2019, 11:46 AM   #1
pianoforte361
Member
 
Registered: Jul 2015
Posts: 94

Rep: Reputation: Disabled
Question Save changes


Running Mint Tara on a flash drive.
My question is how can I configure this to see my external flash on the network modem/router for more added storage. Also make sure the changes are stored on shut-down.
Thank you: Ray.
 
Old 05-30-2019, 01:07 PM   #2
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
your heading is completely off to your request.
 
Old 05-30-2019, 01:54 PM   #3
pianoforte361
Member
 
Registered: Jul 2015
Posts: 94

Original Poster
Rep: Reputation: Disabled
Just tell me how to do it please, thats all I ask.
Ray
 
Old 05-30-2019, 02:04 PM   #4
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Quote:
Originally Posted by BW-userx View Post
your heading is completely off to your request.
It's a not a great title but it does refer, perhaps, to the second part of the OP's question as long as you assume that it's not related to the first.

OP: to save a session, you need persistence, so search on the web for Linux Mint persistence to see how you can do this. As for the router's flash memory, check the router documentation. See e.g. here: https://www.groovypost.com/howto/sha...-wi-fi-router/
 
1 members found this post helpful.
Old 05-30-2019, 02:07 PM   #5
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
well it was defiantly misleading to me. that is a for sure... do answer the mans question... thanks you..
 
Old 05-30-2019, 03:49 PM   #6
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,519

Rep: Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493Reputation: 2493
How did you put Mint on your flash drive? Generally when someone uses software such as unetbootin, etcher, rufus, etc. to create a bootable usb, it is a read only filesystem. If you want a system that saves changes in configuration or for data, you need to either do a 'persistent' install or do an actual full install. Which did you do?
 
1 members found this post helpful.
Old 05-31-2019, 11:46 AM   #7
pianoforte361
Member
 
Registered: Jul 2015
Posts: 94

Original Poster
Rep: Reputation: Disabled
Hi there yancek
Its not misleading at all to me.

I put Mint on my flash drive with universal usb installer 1 9 6 2 pen drive Linux.
Persistent file save works ok say to save a photo etc.
But to save any changes made to any config to SAVE ON THE USB on the router/modenm.
This does not save on shut down.
Thats it. Ray Thank you all.
 
Old 05-31-2019, 01:06 PM   #8
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
So you're saying it's not saving your network configuration between reboots and youre booting with persistence turned on?
I would say you're probably not running persistent but in fresh read-only mode...

Last edited by linus72; 05-31-2019 at 01:10 PM.
 
1 members found this post helpful.
Old 06-01-2019, 01:46 PM   #9
pianoforte361
Member
 
Registered: Jul 2015
Posts: 94

Original Poster
Rep: Reputation: Disabled
What I am saying is its not saving my config of the USB flash drive which is on my router/modem.
This is acting when working as ' NAS'.
The Mint App. OS IS SAVING OK.
This appears me to be file sharing. ie a file smb://******/usb1/. ****** is the network name, usb1 is the flash drive on the Modem/router.
This is the file that comes with config on the desktop, and on shut down not saved. usb1 on******
Thank you: Ray
 
Old 06-03-2019, 05:51 PM   #10
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,710

Rep: Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899
I don't exactly know what file you are referencing by "This is the file that comes with config on the desktop" However, linux Mint uses systemd and therefore you need to create a service (/lib/systemd/system/my_script.service) to run a script to save the file to your router. Untested but I think this will work.

Code:

[Unit]
Description=My script

[Service]
Type=oneshot
RemainAfterExit=true
ExecStart=/bin/true
ExecStop=/usr/local/bin/my_script

[Install]
WantedBy=multi-user.target
Your my_script would need to verify/mount the router share and copy the file.

To enable the service run the command
systemctl enable my_script
 
Old 06-06-2019, 11:52 AM   #11
pianoforte361
Member
 
Registered: Jul 2015
Posts: 94

Original Poster
Rep: Reputation: Disabled
Hi Michaelk: thanks for reply
When I do config to mount USB1[this is on the router] network I see my photos on the USB1 OK.
On the desk top appears usb1 on BTHub.
This is also available on file network again usb1 on BTHub.
On shut down and reboot all info gone [no save] and config required again. Thats it.
Ray: Thank you again.
 
Old 06-06-2019, 12:39 PM   #12
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,710

Rep: Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899
Please explain your config to mount the router share.
 
Old 06-06-2019, 01:48 PM   #13
pianoforte361
Member
 
Registered: Jul 2015
Posts: 94

Original Poster
Rep: Reputation: Disabled
Click network in file page.
Select BTHUB then properties inset my router password and on desktop and in the network
file home file page appears usb1 on BTHub.
No save on shut down of this info I have just added?
Ray: Thank you.
 
Old 06-06-2019, 03:12 PM   #14
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,710

Rep: Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899Reputation: 5899
If you right click on usb1 on BTHub in the left window of the file browser you should see an add bookmark in the menu. That should save the settings. If usb1 on the router is unavailable there might be an error when you start the file browser.
 
Old 06-08-2019, 11:40 AM   #15
pianoforte361
Member
 
Registered: Jul 2015
Posts: 94

Original Poster
Rep: Reputation: Disabled
Hello there michaelk.
I am pleased to report that what you suggested has worked and now it saves the config.
Thank you very much indeed.
Ray:
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Technology Changes Us, Changes Society, and Changes Governments LXer Syndicated Linux News 0 10-10-2016 02:00 PM
Intercept frequency changes and C states changes klub Linux - Kernel 1 03-25-2011 04:43 PM
Changes to /etc files revert changes after reboot yeahya Linux - General 2 11-22-2010 08:42 PM
EMACS won't save changes vanquisher Linux - Software 4 12-26-2003 06:03 AM
alsamixer changes emu10k1 levels everytime xmms changes songs sulzla Linux - Software 0 06-29-2003 11:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint

All times are GMT -5. The time now is 02:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration