PDA

View Full Version : dhclient



xsspants
2013-03-13, 21:12
dhclient seems to error out on something relating to...samba.

Is there a way to fix, or better way to go about forcing dhcp releasing?

balding_parrot
2013-03-13, 22:13
Please provide exact commands and exact error messages.

seems to error out on .............. doesn't help

altjx
2013-03-14, 03:53
He's referring to this:


root@kali:# dhclient eth0
Reloading /etc/samba/smb.conf: smbd only.
RTNETLINK answers: File exists


While I have not been successful with stopping this message from coming across, I've found other articles that states to kill all dhclient processes and run the command again. That worked for me, but I guess this is just a temporary fix.

altjx
2013-03-14, 14:45
I fixed mine by doing this:


root@kali:# vim /etc/init.d/samba

And commented out line 94 and 98 which starts with "log_daemon_msg" and "log_end_msg"

That fixed my issue.

ddos
2013-04-18, 14:16
I fixed mine by doing this:


root@kali:# vim /etc/init.d/samba

And commented out line 94 and 98 which starts with "log_daemon_msg" and "log_end_msg"

That fixed my issue.

not work for me

dhuz
2013-08-02, 14:31
works!!!!! no error output :)

ports
2014-01-15, 17:55
dhclient seems to error out on something relating to...samba.

Is there a way to fix, or better way to go about forcing dhcp releasing?
The thread seems to be dead but if someone is searching for the solution.

There might be appear a message like "Reloading /etc/samba/smb.conf: smbd only." after executing dhclient. Check "/etc/dhcp/dhclient-enter-hooks.d" for this please.

And executing dhclient while your machine has already an ip-address will result in sending a "DHCP Request" from your client and receiving a "DHCP ACK" from the server. You probably don't get a new ip-address because your client is requesting the current ip-address and the server will agree to *keep* that address. If you need a new address you might try to release the old one with "dhclient -r" first.

ports