On Thursday, 11 May 2023 15:01:51 BST Philip Webb wrote: > Thanks for both replies. 5 min after I sent my request last night, > I realised that I sb able to access Wifi thro'out installation > simply via the System Rescue connection, which finds the service easily > & needs only the password to finish the job. I do have a landline via DHCP, > but Wifi here is 6 times faster & there sb a lot of downloading to do. > > I will add the details to my info files. > > There is another related question : is there a way > to make both connections simultaneously & switch between them ?
If you configure them both in /etc/conf.d/net with different priorities, both will come up and obtain routes and IP addresses. Use a different metric for each to specify which NIC will take priority in your network stack, e.g.: metric_enp2s0=20 metric_wlp4s0=30 In the above example the wireless is acting as a fallback when the wired enp2s0 fails. Using arpwatch or ip-monitor can automate the fallback by monitoring a particular IP address/route, but to manually switch between them I think you'll have to shut down the one you don't want. Using iproute's 'metric' option to change priorities will also work. However, I think established connections will continue to use the previous NIC and route. There may be more sophisticated ways to achieve what you want, other contributors may have better ideas.
signature.asc
Description: This is a digitally signed message part.