I have a Raspberry Pi 3, model B+. A few years ago, the wifi adapter started to fail (I sometimes had to reboot it, disconnect it, etc. to get it to work), and finally it eventually died. So a little while back, I bought a USB wifi adapter made by TP-Link (TP-Link TL-WN725N) and plugged it in. I'm was using Raspian and the wifi symbol in the GUI continued to be grayed out, but I was able to edit the wpa supplicant file and connect.
Now, for some reason, that doesn't work, and I've been trying to figure out why for a while but I'm rather new to these things and I'm not sure whether it's hardware problem, a problem with the adapter, the router, etc.
I plugged it in with ethernet. Here's what happens if I run ifconfig without the adapter:
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.134 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::cec2:69e3:f48e:a43f prefixlen 64 scopeid 0x20<link>
ether b8:27:eb:47:17:39 txqueuelen 1000 (Ethernet)
RX packets 60 bytes 8258 (8.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 88 bytes 12805 (12.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 9 bytes 524 (524.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 9 bytes 524 (524.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
And then, when I plug in the adapter, it says this:
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.134 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::cec2:69e3:f48e:a43f prefixlen 64 scopeid 0x20<link>
ether b8:27:eb:47:17:39 txqueuelen 1000 (Ethernet)
RX packets 139 bytes 14434 (14.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 180 bytes 27753 (27.1 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 9 bytes 524 (524.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 9 bytes 524 (524.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlan0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
ether f4:f2:6d:1c:3d:a9 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
The wpa_supplicant.conf file says this (ES because I live in Spain):
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=ES
network={
ssid="NETWORK"
psk="password"
}
The router has 2.4 GHz and 5 GHz bands.
Any suggestions as to how I can connect to the wifi or better identify where the problem is?
Thank you!