Tiny Core Extensions > TCE Talk

configuration of Tiny Core, as DHCP server and client DHCP

(1/10) > >>

amonel:
Hi there.

I am thinking of using  Tiny Core, as DHCP server and client DHCP.

Is have an example config file by chance?

THX.

Misalf:
Hi,
busybox'  udhcpd  is part of base.

For a sample config file, see: https://udhcp.busybox.net/udhcpd.conf
Goes to  /etc/udhcpd.conf .

Remember to add this file to  /opt/.filetool.lst  and do a backup.

patrikg:
dnsmasq Can also be used for a very little dhcp server.

And dnsmasq can be run in foreground for testing.
And when done with correct config, just save the parameters and run as daemon.

amonel:
Hi,
Thank you for your answers,
I saw that it was possible with dsnmasq, someone would have an example file by chance ???
Thanks

amonel:
Hi there

Despite that I can not seem to recover an ip address on the extensions.
this is my configuration:
tc@box:$ sudo vi /usr/local/etc/dnsmasq.conf

bogus-priv
filterwin2k
no-poll
interface=eth0
domain=xxxx.com
dhcp-authoritative
dhcp-leasefile=/tmp/dhcp.leases
dhcp-option=3,192.168.1.1
dhcp-option=19,8.8.8.8
dhcp-range=192.168.4.10,192.168.4.200,255.255.255.0,12h
dhcp-host=@mac,192.168.1.11
dhcp-host=@mac,192.168.1.2

:wq

tc@box:$ sudo vi /opt/filetool.lst
/usr/local/etc/dnsmasq.conf

:wq

tc@box:$ sudo filetool.sh -b

tc@box:$ sudo reboot

It doesn't work
I am very new to tiny core.
Could someone help me?
thanks

Navigation

[0] Message Index

[#] Next page

Go to full version