Tiny Core Extensions > TCE Talk
TINY CORE as DHCP SERVER ?
soundcheck:
Hi there.
I am thinking of using my FitPC2, which is running Tiny Core, as DHCP server. ( I need static DHCP capability in the network)
Is anybody running Tiny Core as DHCP server? Is there a tce?
THX.
Kingdomcome:
The BusyBox in Tiny Core was built with udhcpd included. Start options can be found on the BusyBox Commands Index. A copy of the config file man page can be found here. And of course you can use /opt/bootlocal.sh to automate the startup of udhcpd.
soundcheck:
THX. I read some stuff. It doesn't seem to be that trivial if you start from scratch.
Do you, or anybody else, have an example config file by chance? ;)
Jason W:
Here is the /etc/udhcpd.conf file on my TC firewall/router:
--- Code: ---start 192.168.0.100
end 192.168.0.200
interface eth0
option subnet 255.255.255.0
option router 192.168.0.1
option lease 259200
option dns 192.168.1.254
lease_file /tmp/udhcpd.leases
option domain home
pidfile /tmp/udhcpd.pid
--- End code ---
started with the command
$ udhcpd /etc/udhcpd.conf &
soundcheck:
THX a lot Jason. Looks great. :D
Finally (for now) there is a question of how to put it into bootlocal.
How about startup sequence?
I guess it should be: 1. udhcp 2. eth0.sh 3. nfs
Navigation
[0] Message Index
[#] Next page
Go to full version