I often use Wi-Fi from some public networks which don't allow some protocols (like torrent or IRC - next I will only speak about IRC). If I want to use one of those protocols, I have to use my phone 3G connection (through the usb0
interface).
I'd like to stay connected to the Wi-Fi for my web navigation (so use the classical wlan0
interface), but use another interface (here usb0
) for some softwares (often only for weechat, a CLI IRC client).
Thus I have two (linked) questions :
- how to simultaneously connect to two interfaces without all messing things up ?
- how to configure one software to use an interface, and another software to use the other interface ? As weechat is a CLI software, maybe I just have to declare a specific environment variable ; but how to be sure that Firefox doesn't use
usb0
instead ofwlan0
?