WiFi connecting, but no Internet access

Tags:

Answer: 1

20 hours ago

Since a few days, my pc running 16.04 cannot access the Internet anymore. I have tried disabling Ipv6, swapping the USB network adapter and changing the power management behavior, but none worked. All other devices connected to the WiFi have Internet access, even the Windows 10 installation on the same pc.

Some info: USB network adapter: tl-wn725n v2

WiFi Router: tl-wdr3600

ifconfig output:

enp1s0    Link encap:Ethernet  HWaddr d8:cb:8a:ed:03:8f  
      UP BROADCAST MULTICAST  MTU:1500  Metric:1
      RX packets:0 errors:0 dropped:0 overruns:0 frame:0
      TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:1000 
      RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lo        Link encap:Local Loopback  
      inet addr:127.0.0.1  Mask:255.0.0.0
      inet6 addr: ::1/128 Scope:Host
      UP LOOPBACK RUNNING  MTU:65536  Metric:1
      RX packets:585 errors:0 dropped:0 overruns:0 frame:0
      TX packets:585 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:1 
      RX bytes:40003 (40.0 KB)  TX bytes:40003 (40.0 KB)

wlxc46e1f271df7 Link encap:Ethernet  HWaddr c4:6e:1f:27:1d:f7  
      inet addr:192.168.0.104  Bcast:192.168.0.255  Mask:255.255.255.0
      inet6 addr: fe80::c66e:1fff:fe27:1df7/64 Scope:Link
      UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
      RX packets:22 errors:0 dropped:381 overruns:0 frame:0
      TX packets:92 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:1000 
      RX bytes:6599 (6.5 KB)  TX bytes:25095 (25.0 KB)

route -n output:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface

Pinging the router worked, pinging 8.8.8.8 resulted in 100% package loss.

sudo route add default gw 192.168.0.1 dev wlxc46e1f271df7 and sudo route add default gw 192.168.0.1 dev wlxc46e1f271df7 (tried both because I wasn't sure which one) both resulted in error message: SIOCADDRT: No such device

(PS: I'm a beginner, so please tell me what further info is needed to help me)

(PPS: I cannot connect my pc using Ethernet because it is too far away from the WiFi router)

Added by: Jeremy Kuvalis

Answer: 2

13 hours ago

As the other suggestions, you need to fix your route first. If not sure which one is the IP of your router you can check that on your windows checking the networking details. Try sudo to make sure you are running the ifconfig command with permissions.

Popular Search

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 1 2 3 4 5 6 7 8 9