Tiny Core Extensions > TCE Talk
TINY CORE as DHCP SERVER ?
linus72:
Not sure if this helps you, but all knowledge is good:)
( http://www.raiden.net/articles/mini_howto_tiny_core_linux_14_liveusb_home_web_server/ )
( http://www.raiden.net/articles/mini_howto_setting_up_a_home_web_server_by_chrooting_busyboxs_httpd_in_tiny_core_linux_v20/ )
echo123:
please answer, how i can to disable dhcp client? i have static adress in my lan, but after any reebot dhcp client was on, and static ip settings reset
Kingdomcome:
the bootcode "nodhcp" will do it:
http://www.tinycorelinux.com/faq.html#bootcodes
nim108:
Sorry for bumping such an old thread, but it pertains to a problem I'm having as well. I'm trying to setup a DHCP server in TC and just test assigning IPs to a Windows machine (manually first, then I'll automate it through bootlocal). Assigning of IP works fine to my target machine but I cannot ping it either way (running Wireshark shows that TC is sending echo request packets, but I don't get a response so it's useless). Here is how I'm configuring eth0:
--- Code: ---ifconfig eth0 192.168.1.23 netmask 255.255.255.0 broadcast 192.168.1.255
route add default gw 192.168.1.1 eth0
--- End code ---
And here is my udhcpd.conf file (using the cmd udhcpd /etc/udhcpd.conf & to start it):
--- Code: ---start 192.168.1.100
end 192.168.1.200
interface eth0
option subnet 255.255.255.0
option router 192.168.1.1
lease_file /tmp/udhcpd.leases
pidfile /tmp/udhcpd.pid
--- End code ---
What am I missing? Again, the udhcpd assigns the IP just fine, but I can't talk to the target machine. This is all local (LAN) so I don't think setting up nameservers or DNS is necessary but I may be mistaken here. My ultimate goal is to boot TC as a live CD and have it act as a PXE boot environment, so my plan is to setup eth0 first, then start DHCP server, then TFTP server.
EDIT: Think I got it working. One of the other adapters was on the 192.168.1.* subnet as well and seemed to have been interfering with it. Now just working on mounting it and then automating the process. Thanks. Will leave this post here for those who are having problems as well.
Navigation
[0] Message Index
[*] Previous page
Go to full version