How to switch network device
Hey there!
I have a pci wifi card which for some reason gives me crap speeds (< 1mb).
My first instinct was to try out a USB antenna to see if the signal improves. After connecting it, I can see it listed in NetworkManager devices but I don't know how to give it preference over my pci card. Any clue on how to do this?
Anyway, sorry if my question is dumb, but I couldn't find anything in the wiki or the manual regarding connecting with different devices
About this post
- Posted
- Archived
- Score
- 3 · 100% up
- Kind
- Text
- ID
- pc4fl8
10 comments
take the card out
I can't tell if you're being serious lol
You have to be pragmatic sometimes, I don't think he said that as a joke. Leave only what you want to use plugged in, reboot and configure.
Deleted before we saved it.
so you have 2 wifi interfaces now? just configure the "good" usb one and leave the other one unconfigured?
Yep. So I'm using nm-applet and couldn't see that option anywhere, took a look into nmcli's manual and couldn't find it either, any clues?
nmcli has the ifname argument on setting the connection up
Edit: Fuck reddit code formatting: https://man.archlinux.org/man/nmcli.1
Maybe just deactivate the interface with
ip link set down? If you do not use the Wifi card at all then you could write a udev rule to unload its driver.I switched to systemd-networkd+iwd instead of NetworkManager, never looked back.