PDA

View Full Version : Kali Linux not connecting to network after update



xinjuan
2018-09-18, 13:10
Hi folks! I'm quite a newbie here and seriously experiencing a problem. I updated my Kali 2018.3 distribution few minutes ago and I can't connect to internet again.
This is what I get with ifconfig. I'm running on a VMware and everything was working perfectly before the update

root@kali:~# ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 4644 bytes 375848 (367.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 4644 bytes 375848 (367.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0


When I tried getting update:

root@kali:~# apt-get update
Err:1 http://http.kali.org/kali kali-rolling InRelease
Could not resolve 'http.kali.org'
Reading package lists... Done
W: Failed to fetch http://http.kali.org/kali/dists/kali-rolling/InRelease Could not resolve 'http.kali.org'
W: Some index files failed to download. They have been ignored, or old ones used instead.



Thanks

Mister_X
2018-09-18, 19:18
apt-get update requires the network and you showed that it is not connected to a network above, so the behavior of apt-get update is completely normal in this case.

You can always try getting a DHCP lease manually by running "ifconfig eth0 up && dhclient eth0" or rebooting or use the network manager in the GUI on the top right.