Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem with dhcpd after upgrade
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
donnu
n00b
n00b


Joined: 31 May 2002
Posts: 3
Location: Gothenburg, Sweden

PostPosted: Fri May 31, 2002 7:09 am    Post subject: Problem with dhcpd after upgrade Reply with quote

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
View user's profile Send private message
lx
Veteran
Veteran


Joined: 28 May 2002
Posts: 1012
Location: Netherlands

PostPosted: Fri May 31, 2002 10:13 am    Post subject: Reply with quote

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
View user's profile Send private message
craftyc
Guru
Guru


Joined: 23 May 2002
Posts: 443
Location: Behind You.

PostPosted: Fri May 31, 2002 10:44 am    Post subject: Reply with quote

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
View user's profile Send private message
donnu
n00b
n00b


Joined: 31 May 2002
Posts: 3
Location: Gothenburg, Sweden

PostPosted: Fri May 31, 2002 12:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
lx
Veteran
Veteran


Joined: 28 May 2002
Posts: 1012
Location: Netherlands

PostPosted: Fri May 31, 2002 2:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
donnu
n00b
n00b


Joined: 31 May 2002
Posts: 3
Location: Gothenburg, Sweden

PostPosted: Fri May 31, 2002 3:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
lx
Veteran
Veteran


Joined: 28 May 2002
Posts: 1012
Location: Netherlands

PostPosted: Fri May 31, 2002 3:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum