Linux Lite Forums
Internet not working on functioing WiFi adapter TP-LINK TL-WN722N V2.0 - Printable Version

+- Linux Lite Forums (https://www.linuxliteos.com/forums)
+-- Forum: Hardware - Support (https://www.linuxliteos.com/forums/forumdisplay.php?fid=6)
+--- Forum: Network (https://www.linuxliteos.com/forums/forumdisplay.php?fid=24)
+--- Thread: Internet not working on functioing WiFi adapter TP-LINK TL-WN722N V2.0 (/showthread.php?tid=7603)

Pages: 1 2


Internet not working on functioing WiFi adapter TP-LINK TL-WN722N V2.0 - Dave Bruwer - 01-31-2021

I have just installed Linux Lite on an old desktop PC.
It uses a TP-LINK TL-WN722N V2.0 USB adapter for WIFI access.

The wifi seems to be working fine, and I was even able to access local shared files over the wifi.

BUT, the internet connection doesn't seem to be working.
I can't see anything obvious wrong.

I connected to the modem with an ethernet cable, and performed all the updates, but to no avail.

Any suggestions?


Re: Internet not working on functioing WiFi adapter TP-LINK TL-WN722N V2.0 - Valtam - 01-31-2021

What DNS are you using?

What is the output of:

Code:
route -n

and

Code:
ifconfig



Re: Internet not working on functioing WiFi adapter TP-LINK TL-WN722N V2.0 - Dave Bruwer - 01-31-2021

with my ethernet cable connected

route -n
Kernel IP routing table
Destination    Gateway        Genmask        Flags Metric Ref    Use Iface
0.0.0.0        192.168.1.254  0.0.0.0        UG    100    0        0 enp3s0
0.0.0.0        192.168.1.254  0.0.0.0        UG    600    0        0 wlxd46e0e1f45bb
192.168.1.0    0.0.0.0        255.255.255.0  U    100    0        0 enp3s0
192.168.1.0    0.0.0.0        255.255.255.0  U    600    0        0 wlxd46e0e1f45bb

ifconfig
enp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.84  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::a99b:582e:2d35:ad69  prefixlen 64  scopeid 0x20<link>
        ether 44:8a:5b:26:2b:22  txqueuelen 1000  (Ethernet)
        RX packets 17876  bytes 8150271 (8.1 MB)
        RX errors 0  dropped 6  overruns 0  frame 0
        TX packets 34192  bytes 41935685 (41.9 MB)
        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 794  bytes 65604 (65.6 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 794  bytes 65604 (65.6 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlxd46e0e1f45bb: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.78  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::3d4f:b860:d8b2:493d  prefixlen 64  scopeid 0x20<link>
        ether d4:6e:0e:1f:45:bb  txqueuelen 1000  (Ethernet)
        RX packets 6019  bytes 1005852 (1.0 MB)
        RX errors 0  dropped 3342  overruns 0  frame 0
        TX packets 422  bytes 71594 (71.5 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


Re: Internet not working on functioing WiFi adapter TP-LINK TL-WN722N V2.0 - Dave Bruwer - 01-31-2021

without the ethernet cable:

route -n
Kernel IP routing table
Destination    Gateway        Genmask        Flags Metric Ref    Use Iface
0.0.0.0        192.168.1.254  0.0.0.0        UG    600    0        0 wlxd46e0e1f45bb
192.168.1.0    0.0.0.0        255.255.255.0  U    600    0        0 wlxd46e0e1f45bb

ifconfig
enp3s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 44:8a:5b:26:2b:22  txqueuelen 1000  (Ethernet)
        RX packets 18112  bytes 8197332 (8.1 MB)
        RX errors 0  dropped 6  overruns 0  frame 0
        TX packets 34314  bytes 41949566 (41.9 MB)
        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 884  bytes 72432 (72.4 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 884  bytes 72432 (72.4 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlxd46e0e1f45bb: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.78  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::3d4f:b860:d8b2:493d  prefixlen 64  scopeid 0x20<link>
        ether d4:6e:0e:1f:45:bb  txqueuelen 1000  (Ethernet)
        RX packets 6480  bytes 1078140 (1.0 MB)
        RX errors 0  dropped 3548  overruns 0  frame 0
        TX packets 450  bytes 75672 (75.6 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


Re: Internet not working on functioing WiFi adapter TP-LINK TL-WN722N V2.0 - Valtam - 01-31-2021

(01-31-2021, 04:15 AM)Jerry link Wrote: What DNS are you using?



Re: Internet not working on functioing WiFi adapter TP-LINK TL-WN722N V2.0 - Dave Bruwer - 01-31-2021

nameserver 127.0.0.53


Re: Internet not working on functioing WiFi adapter TP-LINK TL-WN722N V2.0 - Valtam - 01-31-2021

Not sure what you're like installing drivers, but this looks very well suited and optimized - https://github.com/abhijeet2096/TL-WN722N-V2 only do 1 -7, nothing else! Hopefully it will work with the current kernel. Take note of the section 'Activating/Deactivating LED' before you do step 3.


Re: Internet not working on functioing WiFi adapter TP-LINK TL-WN722N V2.0 - Dave Bruwer - 01-31-2021

Thank you for finding that.
I might need a bit of help understanding what i am doing.

When I try to do step 4, I get this message:
(also, see attached make.log file)

Code:
sudo dkms build -m 8188eu -v 1.2

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
'make' all.........(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.4.0-65-generic (x86_64)
Consult /var/lib/dkms/8188eu/1.2/build/make.log for more information.



Re: Internet not working on functioing WiFi adapter TP-LINK TL-WN722N V2.0 - Valtam - 01-31-2021

Try this one - https://gitlab.com/kalilinux/packages/realtek-rtl8188eus-dkms click on the Download button next to 'Clone' and select 'build'. You should have a file called master.zip, extract the .deb file from that zip and double click on it to install the driver.


Re: Internet not working on functioing WiFi adapter TP-LINK TL-WN722N V2.0 - Dave Bruwer - 01-31-2021

That one installed successfully, but unfortunately the problem persists.

It is quite interesting that the internet works fine over ethernet cable, and the WIFI seems to work fine for shared local files etc., but the internet just won't work over the WIFI.  :-\