On Wed, Feb 21, Darryl Gregorash wrote:
On 2024-02-20 22:50, Michael Fischer wrote:
On Tue, Feb 20, Darryl Gregorash wrote:
On 2024-02-20 21:55, Michael Fischer wrote:
Hi all,
may be in the situation where I'd want to create a "second nic" via usb->ethernet.
Is this one of those USB WiFi things? If so, just plug it in, and go into YaST/Network Settings and configure it. Then go into Services Manager and enable service hostapd to run manually. Hostapd will bring the subnet up whenever the NIC is detected, and bring it down if the NIC is unplugged.
Nope. "Ordinary small Dell desktop playing the role of firewall/router", in the case of "too darn small to take an additional ordinary-size nic card but has plenty of USB-3", like, one of these:
https://amazon.com/Dell-OptiPlex-7050-Micro-Refurbished/dp/B0C9SWBX88/
Notion is to put the line out to the world through the onboard nic, and a USB->ethernet to the switch for the "internal" machines.
OK, no problem. There are plenty of adapters that will turn a USB port into an ethernet port, as Lew has already explained. Most have a male Type-A USB connector at one end (some have a Type-C connector) , and an ethernet plug (RJ-45) at the other, contained in a small box. There is a NIC inside that box, which YaST will identify just like any other ethernet card. Just make sure you plug it into one of the USB-3.1 ports on the system, so you don't have to worry about whether the adapter has USB 2.0 fallback (some do, it seems many do not).
Yep, already ordered one of those usb-3 <-> ethernet adapters. Does this (Yast indentifying it as a nic) rely on the adapter and ethernet cable being connected to something (in this case, a switch) on the other end at the time one launches Yast? (otherwise, how does Yast know to treat that usb port as a nic?) Thanks gents. Michael -- Michael Fischer michael@visv.net