Tiny Core Extensions > TCE Talk

configuration of Tiny Core, as DHCP server and client DHCP

<< < (7/10) > >>

amonel:
thanks,
I will see if dnsmasq will create it but for dnsmasq.leases, I have to create it ???
thanks again,

amonel:
Good morning,
I have a question, when I configure an ip address with
Ifconfig 192.168.99.14 netmask 255.255.255.0 gw 192.68.99.1


After reboot,
I lose my configuration.

What can cause this?

On Tiny core,
I can not get this command:
Sudo service dnsmasq restart ?????

someone can help me please???.

Thank you,

amonel:
Hi,
In Tiny Core,
Is there some other way to execute the network setup that is in /etc/network/interfaces?or /etc/networking restart????

Thanks for helping me.

Misalf:
The cause is the nature of Tiny Core.
You really should read the Core book.
http://tinycorelinux.net/corebook.pdf

If the connection has been configured via  network  tool, then a script with the name of the interface (e.g. eth0.sh) is stored in  /opt  and a respective entry is written to  /opt/bootlocal.sh  (so it's started at boot).

As always, refreshing the backup is needed in order to survive reboots.
The directory  /opt  is configured to be included in the backup by default.

If you have created the connection manually, directly in the console via commands, then there is nothing to be saved.
If you have created a script to start your connection, then you have to add this script to your backup manually (except for files in /opt) and create a respective entry, for example in  /opt/bootlocal.sh , if you want it to be started at boot.

Services are managed differently on Core:

--- Code: ---sudo /usr/local/etc/init.d/dnsmasq restart

--- End code ---
For most services, you can also use the  services  tool.

amonel:
Hi there,
I have a problem,
When I put information in
/opt/resolv.conf
/ Etc / hosts

After reboot,
I dont find this information,

someone Could  help me?

thanks

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version