Log inUsernamePassword
Log me on automatically each visit    
Register
Register
Log in to check your private messages
Log in to check your private messages
SMS Forum Index » SMS User Support

Post new topic   Reply to topic
Configuration Persistence
View previous topic :: View next topic  
Author Message
baz00r
Junior Member


Joined: 16 Nov 2016
Posts: 2

PostPosted: Wed Nov 16, 2016 1:27 pm    Post subject: Configuration Persistence Reply with quote

Hi everybody,

I love this little distro but was wondering if there is any way to enable persistence? I am running this on Unified Networking Lab as a liveCD. I don't see any option on startup to create a persistence file, is this possible?

Many thanks
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1752
Location: Greece

PostPosted: Wed Nov 16, 2016 1:58 pm    Post subject: Reply with quote

One way is to boot SMS from USB and store changes directly on USB or a .DAT file.

If you still wanna use LiveCD use a .dat file stored in a USB or on disk, or you can even use a valid partition that SMS can write on, on booting machine.

Download savedat.zip and choose which size do you want to use.
Beware because when you unzip it, it will expand to the actual size.
http://repository.superbminiserver.org/Archives/SMS.Native.CD/extra/savedat.zip

Also look at bootcodes (changes=) at
http://sms.it-ccs.com/wiki/#LinkTarget_1961


Regards
gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
baz00r
Junior Member


Joined: 16 Nov 2016
Posts: 2

PostPosted: Thu Nov 17, 2016 9:45 am    Post subject: Reply with quote

Hi gerasimos_h,

Firstly, many thanks for your reply.

Unfortunately the only option I have is a LiveCD ISO, as this is all that Unified Networking Lab supports currently. Anyway I downloaded those .dat files and extracted them into the same location as my ISO file. I went with the 256MB dat file and renamed this to "save.dat".

The path to the ISO is
/opt/unetlab/addons/qemu/linux-sms/cdrom.iso

The path to the .dat file is
/opt/unetlab/addons/qemu/linux-sms/save.dat

I went to "Run SMS" and pressed tab. And added this to my boot parameters.

changes=/opt/unetlab/addons/qemu/linux-sms/save.dat

After booting I changed the IP address of the Eth0 interface to 192.168.1.2 with a netmask of 255.255.255.0.

Then I typed "reboot", selected "Run SMS" again and put the same boot parameters in, unfortunately the ip address configured on the eth0 interface did not stick.

Perhaps I am missing a step somewhere? Do I need to explicitly tell SMS to write the config changes to file or something before rebooting?

Thanks for the assistance.
Back to top
View user's profile Send private message
gerasimos_h
Site Admin


Joined: 09 Aug 2007
Posts: 1752
Location: Greece

PostPosted: Thu Nov 17, 2016 10:34 am    Post subject: Reply with quote

You need to set a path that SMS will have access while booting, I don't thing that SMS is seeing that path you gave
"/opt/unetlab/addons/qemu/linux-sms/save.dat"

If it's on another disk it will see something like "/mnt/sda1/opt/..."

Regards
gerasimos_h

_________________
Superb! Mini Server Project Manager
http://sms.it-ccs.com
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    SMS Forum Index » SMS User Support All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

SMS - Superb! Mini Server Project © 2016
Powered by phpBB © 2001, 2002 phpBB Group
iCGstation v1.0 Template By Ray © 2003, 2004 iOptional