Hello
/etc/sysconfig/dhcpd is readable for all users. /etc/dhcpd.conf is readable too.. and configured OK (configured ok becouse it works ok after service dhcpd start) .
And it still don't want to start ;)
I have put "/etc/init.d/dhcpd start" to /etc/rc.local file, than after reboot it runs OK. But it still don't want to run via chkconfig..
Maybe something is wrong with configuration of my network interfeces? I have only one network interface - eth0 (10.0.0.1) and it is connected to my switch and my switch is connected to my adsl router..
And now. I have set up alias eth0:1 192.168.1.1 that is gateway for my lan.. workstations.. I'm connected to the internet via adsl (pppoe) so olso after adsl starts i have one more interface.. ppp0
everything looks like:
[EMAIL PROTECTED] ~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:40:63:D5:05:BA
inet addr:10.0.0.2 Bcast:10.0.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:129415 errors:0 dropped:0 overruns:0 frame:0
TX packets:131715 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:78831248 (75.1 Mb) TX bytes:77174741 (73.5 Mb)
Interrupt:10 Base address:0xe800eth0:1 Link encap:Ethernet HWaddr 00:40:63:D5:05:BA
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Interrupt:10 Base address:0xe800lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1611 errors:0 dropped:0 overruns:0 frame:0
TX packets:1611 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:269876 (263.5 Kb) TX bytes:269876 (263.5 Kb)ppp0 Link encap:Point-to-Point Protocol
inet addr:83.25.251.214 P-t-P:213.25.2.57 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:80801 errors:0 dropped:0 overruns:0 frame:0
TX packets:63606 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:71935189 (68.6 Mb) TX bytes:4877226 (4.6 Mb)[EMAIL PROTECTED] ~#
Maybe something is wrong with it and thats why my dhcpd don't want to start.
But why it works ok when i start it after whole system gets up.
I can't add one more network card becouse i have only one pci slot (via epia mini itx mainboard) and it is busy..
Okay
Installing dhcp-server on my test system Using Trustux 2.2
Never seen that --level 3 option used on chkconfig before... I always just use "chkconfig dhcpd on" which is what Trustix recommends
service dhcpd start
gives "Not configured to listen on any interfaces!"
Change settings in /etc/dhcpd.conf and it starts okay now. Rebooting... works fine for me...
Did you edit the dhcpd.conf and / or /etc/sysconfig/dhcpd and change their permissions such that they are not readable at boot time??? Try making them world readable
chmod 644 /etc/sysconfig/dhcpd /etc/dhcpd.conf
That is all I can think of. Good luck.
Brian _______________________________________________ tsl-discuss mailing list [email protected] http://lists.trustix.org/mailman/listinfo/tsl-discuss
