PDA

View Full Version : Fresh install - Internet doesn't work on browser, seems to work on console.



Magnus
2019-02-14, 01:06
Hi everyone,

A bit of background: I have a laptop with dual boot, Windows 7 and Fedora. Yesterday I decided to change Fedora for Kali and now I can't get internet to work.
Everything worked fine in Fedora, but in Kali I seem to have a decent connection on the console (it resolves names, it pings fast and everything), but when I try the browser, it keeps loading forever until it times out. Sometimes I get a title, a header and on rare ocasions, some text. But most of the times, it just times out. I couldn't even get to run a speed test because the site wouldn't load.

At first I thought it was the drivers, since I already had troubles with Atheros on Debian before, so I disabled the wlan0 and plugged in an ethernet cable, but it didn't change anything.
So I thought the DNS weren't working and tried accessing some sites by their IP, but had no success.
Then I saw on the console the names were resolving just fine, and it was even pinging fast.

So now I'm a little confused... This is not a virtual machine and I use no proxies, so there's no more layers of error I can think of right now.


I paste below the tests I've made and every relevant information I could think of:


root@Corazon-de-Leon:~# lsb_release -a
No LSB modules are available.
Distributor ID: Kali
Description: Kali GNU/Linux Rolling
Release: Kali-rolling
Codename: Kali-rolling

root@Corazon-de-Leon:~# uname -a
Linux Corazon-de-Leon 4.18.0-kali2-amd64 #1 SMP Debian 4.18.10-2kali1 (2018-10-09) x86_64 GNU/Linux




root@Corazon-de-Leon:~# airmon-ng

PHY Interface Driver Chipset
phy0 wlan0 ath9k Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) (rev 01)

root@Corazon-de-Leon:~# ls -l /sys/class/net/wlan0/device/driver
lrwxrwxrwx 1 root root 0 feb 13 19:07 /sys/class/net/wlan0/device/driver -> /bus/pci/drivers/ath9k

root@Corazon-de-Leon:~# rfkill list
0: asus-wwan: Wireless WAN
Soft blocked: no
Hard blocked: no
1: asus-wimax: WiMAX
Soft blocked: no
Hard blocked: no
2: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no



root@Corazon-de-Leon:~# ifconfig -a
eth0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether 4x:xx:xx:xx:xx:xf txqueuelen 1000 (Ethernet)
RX packets 177 bytes 20285 (19.8 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 98 bytes 10127 (9.8 KiB)
TX errors 0 dropped 0 overruns 0 carrier 2 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 26 bytes 1350 (1.3 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 26 bytes 1350 (1.3 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.9 netmask 255.255.255.0 broadcast 192.168.0.255
inet6 fxxx::xxxx:xxxx:xxxx:xxx8 prefixlen 64 scopeid 0x20<link>
ether 1x:xx:xx:xx:xx:x8 txqueuelen 1000 (Ethernet)
RX packets 658 bytes 164441 (160.5 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 26 bytes 3495 (3.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.0.1 0.0.0.0 UG 600 0 0 wlan0
192.168.0.0 0.0.0.0 255.255.255.0 U 600 0 0 wlan0

cat /etc/resolv.conf
# Generated by NetworkManager
nameserver 200.49.130.47
nameserver 200.42.4.207
nameserver 192.168.0.1

cat /etc/hosts
127.0.0.1 localhost

# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters


ping google.com
PING google.com (172.217.162.14) 56(84) bytes of data.
64 bytes from eze04s07-in-f14.1e100.net (172.217.162.14): icmp_seq=1 ttl=55 time=9.48 ms
64 bytes from eze04s07-in-f14.1e100.net (172.217.162.14): icmp_seq=2 ttl=55 time=9.19 ms
64 bytes from eze04s07-in-f14.1e100.net (172.217.162.14): icmp_seq=3 ttl=55 time=13.2 ms
64 bytes from eze04s07-in-f14.1e100.net (172.217.162.14): icmp_seq=4 ttl=55 time=10.3 ms
64 bytes from eze04s07-in-f14.1e100.net (172.217.162.14): icmp_seq=5 ttl=55 time=20.9 ms
^C
--- google.com ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 9ms
rtt min/avg/max/mdev = 9.190/12.608/20.932/4.399 ms


traceroute kali.org
traceroute to kali.org (192.124.249.10), 30 hops max, 60 byte packets
1 _gateway (192.168.0.1) 1.408 ms 1.308 ms 4.780 ms
2 * * *
3 * * *
4 * * *
5 86-165-89-200.fibertel.com.ar (200.89.165.86) 18.954 ms 21.822 ms 19.303 ms
6 85-165-89-200.fibertel.com.ar (200.89.165.85) 16.210 ms 19.015 ms 14.264 ms
7 197-165-89-200.fibertel.com.ar (200.89.165.197) 14.090 ms 18.760 ms 17.482 ms
8 250-165-89-200.fibertel.com.ar (200.89.165.250) 18.035 ms 16.711 ms 16.466 ms
9 ae6.baires5.bai.seabone.net (185.70.203.32) 16.447 ms 11.815 ms 11.737 ms
10 * * *
11 gtt.miami15.mia.seabone.net (89.221.41.197) 133.987 ms 140.810 ms 133.915 ms
12 xe-4-1-2.cr2-mia1.ip4.gtt.net (89.149.129.230) 135.174 ms xe-7-2-1.cr2-mia1.ip4.gtt.net (141.136.109.126) 135.661 ms xe-0-3-4.cr2-mia1.ip4.gtt.net (213.200.112.13) 141.160 ms
13 * * *
14 * * *
15 * * *
16 * * *
17 * * *
18 * * *
19 * * *
20 * * *
21 * * *
22 * * *
23 * * *
24 * * *
25 * * *
26 * * *
27 * * *
28 * * *
29 * * *
30 * * *

traceroute google.com
traceroute to google.com (172.217.162.14), 30 hops max, 60 byte packets
1 _gateway (192.168.0.1) 1.048 ms 0.925 ms 5.450 ms
2 * * *
3 * * *
4 * * *
5 86-165-89-200.fibertel.com.ar (200.89.165.86) 17.214 ms 19.832 ms 18.461 ms
6 * * *
7 74.125.242.209 (74.125.242.209) 13.609 ms 14.759 ms 13.479 ms
8 216.239.58.217 (216.239.58.217) 13.324 ms 10.595 ms 216.239.58.219 (216.239.58.219) 16.868 ms
9 eze04s07-in-f14.1e100.net (172.217.162.14) 15.457 ms 14.295 ms 10.562 ms


Well, I hope you guys can help me, because I'm lost here.

Thanks!

Magnus
2019-02-15, 04:17
Problem solved: I installed a different distro. Bye.