Maybe it is routing problem. In case two interfaces are active in the same time (and both are leaved with dynamic IP assignment) then two default routes are in collision. This command could you help to check the situation:
ip route
Search for routes starting "default" in command response. A problem is if more then one such routes (i.e. lines) are listed.
Example of unwanted state:
jiri@b01x:~$ ip route
default via 10.1.1.1 dev br0 proto dhcp metric 600
default via 192.168.1.1 dev wlan0 proto dhcp metric 425
...
jiri@b01x:~$
Testing: Remove default route attached to Wi-Fi interface. Temporary way how to do it is by command:
sudo ip route del default via 192.168.1.1 dev wlan0
Correct IP address and interface name must be copied from your previous "ip route" command output.
Now re-check routes by "ip route". Only one route should remain in list. Then check the internet connection. If all is OK, you have found solution. Use one of these possibilities:
- Modify Wi-Fi interface setting in IPv4 section (e.g. using GUI system setting). Change Wi-Fi IP address assignment from Automatic to Manual, set own IP address, but leave default route empty!
- Create small script containing "sudo route del ..." command and run it in case you use both interfaces. The script must be started AFTER Wi-Fi interface is activated.
In case you will lost connection to your other devices connected via Wi-Fi, you should add or modify static routes. I will try to help you to solve this secondary problem, but more details and command outputs are needed.