This could be crazy , but if i start a dhcp wired connection on my kali , it won recieve a dhcp lease from router unless i start wireshark on that interface !!!!
I gave up on network-manager and installed wicd , i removed completly network manager from my system , but for some unknow reason i am unable to get a normal dhcp lease from router .
my interfaces file is simple as it could be :
Static ip address is not working on dns level , witch means that i can set an static ip but for some unknow reason i am unable to resolve dns requests .# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
# allow-hotplug eth0
auto eth0
iface eth0 inet dhcp
and in resolv.conf everything is fine .
This is what happens when i restart networking :nameserver 1.1.1.1
nameserver 10.1.1.0if i shutdown wireshark then i loose internet .Internet Systems Consortium DHCP Client 4.2.2
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/eth0/xx:xx:xx:xx:xx:xx
Sending on LPF/eth0/xx:xx:xx:xx:xx:xx
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
receive_packet failed on eth0: Network is down
receive_packet failed on eth0: Network is down
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 19
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPOFFER from 1.1.1.1 (This part is when i start wireshark)
DHCPACK from 1.1.1.1
bound to 1.1.1.10 -- renewal in 3594 seconds.
done.
Funny as it seems to be , it is breaking my head of to figure out what is going on .