Hi!
I have usb network adapter:
Result:
It works only after I directly init it:
And last thing:
After this commands device works (after setting an ip address). I want to configure it to initialize in loader.conf/rc.conf to make it working automatically.
How to configure it properly?
I have usb network adapter:
usbconfig -d ugen0.2 dump_device_descResult:
Code:
ugen0.2: <TP-LINK USB 10/100 LAN> at usbus0, cfg=1 md=HOST spd=HIGH (480Mbps) pwr=ON (100mA)
bLength = 0x0012
bDescriptorType = 0x0001
bcdUSB = 0x0210
bDeviceClass = 0x0000 <Probed by interface class>
bDeviceSubClass = 0x0000
bDeviceProtocol = 0x0000
bMaxPacketSize0 = 0x0040
idVendor = 0x2357
idProduct = 0x0602
bcdDevice = 0x2000
iManufacturer = 0x0001 <TP-LINK>
iProduct = 0x0002 <USB 10/100 LAN>
iSerialNumber = 0x0003 <D03745A72A81>
bNumConfigurations = 0x0002
It works only after I directly init it:
usbconfig -d ugen0.2 set_config 1And last thing:
ifconfig ue0 up.After this commands device works (after setting an ip address). I want to configure it to initialize in loader.conf/rc.conf to make it working automatically.
How to configure it properly?