View previous topic :: View next topic |
Author |
Message |
donnu n00b

Joined: 31 May 2002 Posts: 3 Location: Gothenburg, Sweden
|
Posted: Fri May 31, 2002 7:09 am Post subject: Problem with dhcpd after upgrade |
|
|
After upgrading to the latest version of Gentoo dhcpd doesnt work!
If try to start it I get the following message:
/usr/sbin/dhcpd: 1: command not found
If I do "emerge net-misc/dhcp" it works until the next time i reboot the machine then I get the same fault again.
Is there anything I've missed?
Thanks _________________ Viddy well, little brother. Viddy well.
--655321-- |
|
Back to top |
|
 |
lx Veteran


Joined: 28 May 2002 Posts: 1012 Location: Netherlands
|
Posted: Fri May 31, 2002 10:13 am Post subject: |
|
|
Mine uses /sbin/dhcpcd check if the files there. It's started from the file /etc/init.d/net.eth0 so maybe it has changed and you aren't using the new file while the file is moved to /sbin/dhcpcd instead of /usr/sbin.
Cya lX _________________ "Remember there's a big difference between kneeling down and bending over.", Frank Zappa |
|
Back to top |
|
 |
craftyc Guru

Joined: 23 May 2002 Posts: 443 Location: Behind You.
|
Posted: Fri May 31, 2002 10:44 am Post subject: |
|
|
Yes. You should edit the /etc/init.d/net.eth0 file and replace anything with /usr/sbin/dhcpd with /sbin/dhcpcd.
Hope this helps. _________________ Postcount ++ |
|
Back to top |
|
 |
donnu n00b

Joined: 31 May 2002 Posts: 3 Location: Gothenburg, Sweden
|
Posted: Fri May 31, 2002 12:47 pm Post subject: |
|
|
Its probably just me not understanding but....
Its not the dhcpcd client I have problem with its the dhcp server (dhcpd).
The file /usr/sbin/dhcpd is not missing. _________________ Viddy well, little brother. Viddy well.
--655321-- |
|
Back to top |
|
 |
lx Veteran


Joined: 28 May 2002 Posts: 1012 Location: Netherlands
|
Posted: Fri May 31, 2002 2:56 pm Post subject: |
|
|
donnu wrote: | Its probably just me not understanding but....
Its not the dhcpcd client I have problem with its the dhcp server (dhcpd).
The file /usr/sbin/dhcpd is not missing. |
Oops your right, me and my big mouth, need to read the post first, Just strange that after emerge it works while in the bootscript it suddenly doesn't. Have you tried to use "/usr/sbin/dpcpd eth0" manually? after booting...maybe you get some other error messages.... _________________ "Remember there's a big difference between kneeling down and bending over.", Frank Zappa |
|
Back to top |
|
 |
donnu n00b

Joined: 31 May 2002 Posts: 3 Location: Gothenburg, Sweden
|
Posted: Fri May 31, 2002 3:38 pm Post subject: |
|
|
Yes, I've tried to use "/usr/sbin/ dpcpd eth0" manually but with the same result....
/usr/sbin/dhcpd: 1: command not found
Fortunally I don't need to reboot that often but it's rather annoying anyway... _________________ Viddy well, little brother. Viddy well.
--655321-- |
|
Back to top |
|
 |
lx Veteran


Joined: 28 May 2002 Posts: 1012 Location: Netherlands
|
Posted: Fri May 31, 2002 3:52 pm Post subject: |
|
|
Maybe you can find something in the ebuild file /usr/portage/..../dhcp/dhcp-*.ebuild. this may point you in the direction of the solve. I looked at it and it's got a big install section, pffffff, you should be able to find the answer in there.
Good luck, lX _________________ "Remember there's a big difference between kneeling down and bending over.", Frank Zappa |
|
Back to top |
|
 |
|