OPNsense Forum

English Forums => Hardware and Performance => Topic started by: nikkon on April 13, 2022, 04:51:42 pm

Title: need help with USB Realteck wifi
Post by: nikkon on April 13, 2022, 04:51:42 pm
Hi all,

I try to initialize an USB wifi (asus ac68) based on realtek chip.
looks like it has been detected:
ovpnc1: link state changed to UP
ugen1.3: <Realtek 802.11ac NIC> at usbus1 (disconnected)
ugen1.3: <Realtek 802.11ac NIC> at usbus1

but I can't see it as interface. how do I initialize it?
any guide is welcome

Thank you
Title: Re: need help with USB Realteck wifi
Post by: Patrick M. Hausen on April 13, 2022, 05:43:15 pm
Try kldload if_ure - if I remember correctly.
Title: Re: need help with USB Realteck wifi
Post by: nikkon on April 13, 2022, 11:01:14 pm
thank you @pmhausen
just loaded the module and restarted.

usbconfig dump_device_desc:
ugen1.3: <Realtek 802.11ac NIC> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA)

  bLength = 0x0012
  bDescriptorType = 0x0001
  bcdUSB = 0x0200
  bDeviceClass = 0x0000  <Probed by interface class>
  bDeviceSubClass = 0x0000
  bDeviceProtocol = 0x0000
  bMaxPacketSize0 = 0x0040
  idVendor = 0x0b05
  idProduct = 0x1853
  bcdDevice = 0x0000
  iManufacturer = 0x0001  <Realtek>
  iProduct = 0x0002  <802.11ac NIC>
  iSerialNumber = 0x0003  <123456>
  bNumConfigurations = 0x0001

Now I don't know how to create the interface:
ifconfig wlan0 create wlandev <..> does not work.

Title: Re: need help with USB Realteck wifi
Post by: nikkon on April 15, 2022, 05:48:01 pm
problem fixed. post can be closed
Title: Re: need help with USB Realteck wifi
Post by: kommando on July 28, 2022, 02:00:41 pm
Could you post how you fixed the issue, I am at the same point ie

usbconfig dump_device_desc:
ugen1.3: <Realtek 802.11ac NIC> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA)

  bLength = 0x0012
  bDescriptorType = 0x0001
  bcdUSB = 0x0200
  bDeviceClass = 0x0000  <Probed by interface class>
  bDeviceSubClass = 0x0000
  bDeviceProtocol = 0x0000
  bMaxPacketSize0 = 0x0040
  idVendor = 0x0b05
  idProduct = 0x1853
  bcdDevice = 0x0000
  iManufacturer = 0x0001  <Realtek>
  iProduct = 0x0002  <802.11ac NIC>
  iSerialNumber = 0x0003  <123456>
  bNumConfigurations = 0x0001

But no interface has been created.