Tiny Core Base > TCB Q&A Forum

[SOLVED] Ip address is not permanent?

(1/3) > >>

plug:
Sorry if I post the same post already revived, but unfortunately I find myself in the same situation as many and seamless.

After I configure the PC with TCL, for example:

- Ifconfig eth0 192.168.10.1 netmask 255.255.255.0 broadcast 192.168.10.255 up
- Route add default gw 192.168.10.1;

.. Network is seen in the PC with the command 'ping'.

Unfortunately, this does not remain after rebooting the PC.
I do not know how to solve it, and if anyone knows the solution can help me?

Thanks to the solution.

gerald_clark:
If you use the Network program from cpanel, the configuration will be added to bootlocal.sh and saved at backup time.
If you want to do it yourself then you need to add it to bootlocal.sh yourself also.

plug:
Hi Gerald,

how do I backup? I've never had a way to use it

gerald_clark:
You need to read the book.
http://distro.ibiblio.org/tinycorelinux/book.html

plug:
I wrote in bootlocal.sh manual configuration:
sudo ifconfig eth0 192.168.10.1 netmask 255.255.255.0 broadcast 192.168.10.255 up
sudo route add default gw192.168.10.1

I did backup in cpanel is now everything !!!

Thanks Gerald

Navigation

[0] Message Index

[#] Next page

Go to full version