I have an RPi Zero W, on which I want to use a Wifi dongle to have better reception.
I can see my dongle, the drivers are recognized and I can scan with it, but Raspbian (stretch) seems to stick to the embedded wifi to setup the connection:
lo no wireless extensions. usbwlan unassociated Nickname:"rtl_wifi" Mode:Auto Access Point: Not-Associated Sensitivity:0/0 Retry:off RTS thr:off Fragment thr:off Power Management:off Link Quality:0 Signal level:0 Noise level:0 Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0 usb0 no wireless extensions. wlan1 IEEE 802.11 ESSID:"myNetwork" Mode:Managed Frequency:2.437 GHz Access Point: xx:yy:DA:A1:3A:60 Bit Rate=72.2 Mb/s Tx-Power=31 dBm Retry short limit:7 RTS thr:off Fragment thr:off Power Management:on Link Quality=49/70 Signal level=-61 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0
(note that I have setup udev to name the device "usbwlan" regardless of the predictable network names).
How can I do that ? Should I fiddle with dhcpcd or wpa_supplicant?