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?
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?
Please provide exact commands and exact error messages.
seems to error out on .............. doesn't help
He's referring to this:
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.root@kali:# dhclient eth0
Reloading /etc/samba/smb.conf: smbd only.
RTNETLINK answers: File exists
I fixed mine by doing this:
And commented out line 94 and 98 which starts with "log_daemon_msg" and "log_end_msg"PHP Code:
root@kali:# vim /etc/init.d/samba
That fixed my issue.
works!!!!! no error output
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