Results 1 to 2 of 2

Thread: Network does when connecting to http.kali.org and others.

  1. #1
    Join Date
    2013-Mar
    Posts
    17

    Network does when connecting to http.kali.org and others.

    I am using VirtualBox 6.1
    I am using Kali Link 2020-4
    My host is an Asus Windows 10 laptop with an internal Intel Dual Band Wireless-AC 8265 NIC.

    I get this problem when using bridged or NATT. If I try to do apt-get stuff it won't connect using bridged I get this:
    Code:
                                                           
    ┌──(ryan㉿kalifornia)-[~]
    └─$ sudo apt-get install checkinstall
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following packages were automatically installed and are no longer required:
      galera-3 libcapstone3 libconfig-inifiles-perl
      libcrypto++6 libdbd-mariadb-perl libdbi-perl
      libgdal27 libgeos-3.8.1 libhtml-template-perl
      libjs-sizzle libllvm10 libmicrohttpd12 libperl5.30
      libplymouth4 libpython3.8 libpython3.8-dev
      libpython3.8-minimal libpython3.8-stdlib
      libqt5opengl5 libradare2-4.3.1 libreadline5 libsane
      libterm-readkey-perl libwireshark13 libwiretap10
      libwsutil11 libxcb-util0 node-jquery
      python-babel-localedata python3-atomicwrites
      python3-babel python3-flask-babelex python3-gevent
      python3-greenlet python3-zope.event python3.8
      python3.8-dev python3.8-minimal
      qt5-gtk2-platformtheme rsync ruby-connection-pool
      ruby-molinillo ruby-net-http-persistent ruby-thor
      xfce4-mailwatch-plugin xfce4-smartbookmark-plugin
      xfce4-statusnotifier-plugin xfce4-weather-plugin
    Use 'sudo apt autoremove' to remove them.
    Suggested packages:
      gettext
    The following NEW packages will be installed:
      checkinstall
    0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
    Need to get 114 kB of archives.
    After this operation, 455 kB of additional disk space will be used.
    Ign:1 http://http.kali.org/kali kali-rolling/main amd64 checkinstall amd64 1.6.2+git20170426.d24a630-2
    Ign:1 http://http.kali.org/kali kali-rolling/main amd64 checkinstall amd64 1.6.2+git20170426.d24a630-2
    Ign:1 http://http.kali.org/kali kali-rolling/main amd64 checkinstall amd64 1.6.2+git20170426.d24a630-2
    Err:1 http://http.kali.org/kali kali-rolling/main amd64 checkinstall amd64 1.6.2+git20170426.d24a630-2
      Could not connect to http.kali.org:80 (192.99.200.113), connection timed out
    E: Failed to fetch http://http.kali.org/kali/pool/main/c/checkinstall/checkinstall_1.6.2+git20170426.d24a630-2_amd64.deb  Could not connect to http.kali.org:80 (192.99.200.113), connection timed out
    E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
                                                           
    ┌──(ryan㉿kalifornia)-[~]
    └─$


    Here is ifconfig output on bridged.

    Code:
    ──(ryan㉿kalifornia)-[~]
    └─$ ifconfig
    eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
            inet 192.168.0.6  netmask 255.255.255.0  broadcast 192.168.0.255
            inet6 2600:8807:3c81:eb00:7176:10a3:a2c8:f28  prefixlen 64  scopeid 0x0<global>
            inet6 fe80::a00:27ff:fe84:dc0f  prefixlen 64  scopeid 0x20<link>
            inet6 2600:8807:3c81:eb00:a00:27ff:fe84:dc0f  prefixlen 64  scopeid 0x0<global>
            ether 08:00:27:84:dc:0f  txqueuelen 1000  (Ethernet)
            RX packets 965  bytes 129200 (126.1 KiB)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 109  bytes 11818 (11.5 KiB)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    
    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 12  bytes 556 (556.0 B)
            RX errors 0  dropped 0  overruns 0  frame 0
            TX packets 12  bytes 556 (556.0 B)
            TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
    This is the ping output:
    Code:
    ┌──(ryan㉿kalifornia)-[~]
    └─$ ping http.kali.org                                                         127 ⨯
    PING hebe.kali.org (192.99.200.113) 56(84) bytes of data.
    
    
    ^C
    --- hebe.kali.org ping statistics ---
    2 packets transmitted, 0 received, 100% packet loss, time 1005ms
    
       
    ┌──(ryan㉿kalifornia)-[~]
    └─$ ping kali.org                                                                1 ⨯
    PING kali.org (192.124.249.10) 56(84) bytes of data.
    64 bytes from cloudproxy10010.sucuri.net (192.124.249.10): icmp_seq=1 ttl=57 time=24.8 ms
    64 bytes from cloudproxy10010.sucuri.net (192.124.249.10): icmp_seq=2 ttl=57 time=22.6 ms
    ^C
    --- kali.org ping statistics ---
    2 packets transmitted, 2 received, 0% packet loss, time 1000ms
    rtt min/avg/max/mdev = 22.605/23.718/24.831/1.113 ms
                                                                                         
    ┌──(ryan㉿kalifornia)-[~]
    └─$ ping http.kali.org
    PING hebe.kali.org (192.99.200.113) 56(84) bytes of data.
    ^C
    --- hebe.kali.org ping statistics ---
    2 packets transmitted, 0 received, 100% packet loss, time 1027ms
                                                                                       
    ┌──(ryan㉿kalifornia)-[~]
    └─$ ping gm.com                                                                  1 ⨯
    PING gm.com (198.208.74.205) 56(84) bytes of data.
    ^C
    --- gm.com ping statistics ---
    1 packets transmitted, 0 received, 100% packet loss, time 0ms
    
                                                                                        
    ┌──(ryan㉿kalifornia)-[~]
    └─$ ping ge.com                                                                  1 ⨯
    PING ge.com (204.74.99.100) 56(84) bytes of data.
    64 bytes from crs.ultradns.net (204.74.99.100): icmp_seq=1 ttl=57 time=21.8 ms
    64 bytes from crs.ultradns.net (204.74.99.100): icmp_seq=2 ttl=57 time=23.3 ms
    ^C
    --- ge.com ping statistics ---
    2 packets transmitted, 2 received, 0% packet loss, time 1001ms
    rtt min/avg/max/mdev = 21.813/22.572/23.331/0.759 ms
                                                                                         
    ┌──(ryan㉿kalifornia)-[~]
    └─$
    Notice I can ping some hosts but not others. Any ideas? Thanks
    Kali Linux Tools

  2. #2
    Join Date
    2019-Jul
    Posts
    6
    you need to replace HTTP protocol with the HTTPS protocol, in /etc/apt/sources.list

    Code:
    FROM:
    deb http://http.kali.org/kali kali-rolling main non-free contrib
    TO:
    deb https://http.kali.org/kali kali-rolling main non-free contrib
    you can use this command
    Code:
    echo -e "deb https://http.kali.org/kali kali-rolling main non-free contrib" > /etc/apt/sources.list
    source: https://kalitut.com/how-to-update-ka...nd-fix-update/

Similar Threads

  1. Kali Linux not connecting to network after update
    By xinjuan in forum TroubleShooting Archive
    Replies: 1
    Last Post: 2018-09-18, 19:18
  2. Replies: 2
    Last Post: 2016-10-17, 11:32

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •