How to keep QEMU (Microcore) settings across reboots in GNS3
After you have edited settings in
/opt/bootlocal.sh
and saved them you have to run
/usr/bin/filetool.sh -b
to ammend the image appropriately!
Basic network config would be something like:
ifconfig eth0 x.x.x.1 netmask 255.255.255.0 up route add default gw x.x.x.254
please could you tell me exactly to keep the seetings permanently, i am doing this:
/opt/bootlocal.sh
ifconfig eth0 10.0.0.10 netmask 255.0.0.0 up
/usr/bin/filetool.sh -b
then… y stop my quemu1, after that i play again my quemu1 and i do this:
ifconfig eth0
and my settings does not appear
what am i doing wrong?
Jairo – you need to edit the bootlocal.sh file:
vi /opt/bootlocal.sh
press i to enter insert mode and go to the end of the file, add your lines and then press esc followed by :wq
then do /usr/bin/filetool.sh backup
Thank you very much!!!!!!!!!!!!!