I have just managed to get DHCPD working on my machine but I have to manually run it to get it started. What I want to do is have it startup automatically when Linux boots, much like if I added an entry to an autoexec.bat file. I have tried putting an entry into .bash_profile for root but this will only run when I log in as root.
Any assistance would be very much appreciated. |
You need to use a startup script for this. What distro are you running?
|
Distro
I'm using Mandrake 7.1
Any help is welcome. pk |
Good old linuxconf
You should be able to use the good ol' linuxconf in X to set the DHCP to run at boot. If not you may ave to edit one of the config files manually like net.config(or something(don't laugh at me)).
You might even be able to upgrade to Mandrake to 7.2 which has a nifty little cheater GUI that lets you setup DHCP. I connect using DHCP for my DSL and this took me about 2 minutes to setup and get online after install of 7.2. ___________ Jasutinsama<--dont listen to him he is just a newbie:) |
Create a file /etc/rc.d/init.d/dhcpd with the following content then make symlinks in the rcx.d dirs that you would like dhcpd to start in.
Quote:
|
All times are GMT -5. The time now is 04:40 PM. |