Подключается, получает IP и всё работает.
Подключаю к FreeBSD 12.1. В /var/log/messages без конца начинает сыпаться это:
Код: Выделить всё
FreeBSD kernel: usb_alloc_device: Found possible auto-install disk (trying next config)
FreeBSD kernel: ugen4.2: <ZTE ZTE-CDROM> at usbus4
FreeBSD kernel: umass0 on uhub0
FreeBSD kernel: umass0: <ZTE-CDROM2> on usbus4
FreeBSD kernel: umass0: SCSI over Bulk-Only; quirks = 0x0000
FreeBSD kernel: umass0:2:0: Attached to scbus2
FreeBSD kernel: (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 00 00 00 24 00
FreeBSD kernel: (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
FreeBSD kernel: (probe0:umass-sim0:0:0:0): Retrying command, 3 more tries remain
FreeBSD kernel: ugen4.2: <ZTE ZTE-CDROM> at usbus4 (disconnected)
FreeBSD kernel: umass0: at uhub0, port 1, addr 2 (disconnected)
FreeBSD kernel: (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 00 00 00 24 00
FreeBSD kernel: (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
FreeBSD kernel: (probe0:umass-sim0:0:0:0): Retrying command, 2 more tries remain
FreeBSD kernel: (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 00 00 00 24 00
FreeBSD kernel: (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
FreeBSD kernel: (probe0:umass-sim0:0:0:0): Retrying command, 1 more tries remain
FreeBSD kernel: (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 00 00 00 24 00
FreeBSD kernel: (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
FreeBSD kernel: (probe0:umass-sim0:0:0:0): Retrying command, 0 more tries remain
FreeBSD kernel: (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 00 00 00 24 00
FreeBSD kernel: (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
FreeBSD kernel: (probe0:umass-sim0:0:0:0): Error 5, Retries exhausted
FreeBSD kernel: umass0: detached
Код: Выделить всё
# usbconfig -d 4.2 power_off
# usbconfig -d 4.2 power_on
Код: Выделить всё
FreeBSD kernel: umass0 on uhub0
FreeBSD kernel: umass0: <USB-MassStorage> on usbus4
FreeBSD kernel: umass0: SCSI over Bulk-Only; quirks = 0x0000
FreeBSD kernel: umass0:2:0: Attached to scbus2
FreeBSD kernel: cd0 at umass-sim0 bus 0 scbus2 target 0 lun 0
FreeBSD kernel: cd0: <ZTE CDROM 1.0> Removable CD-ROM SCSI-2 device
FreeBSD kernel: cd0: 40.000MB/s transfers
FreeBSD kernel: cd0: 80MB (163840 512 byte sectors)
FreeBSD kernel: cd0: quirks=0x10<10_BYTE_ONLY>
Код: Выделить всё
ugen4.2: <ZTE ZTE-CDROM> at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA)
Код: Выделить всё
<ZTE CDROM 1.0> at scbus2 target 0 lun 0 (pass1,cd0)
Код: Выделить всё
Unit stopped successfully, Media ejected
Код: Выделить всё
FreeBSD kernel: ugen4.2: <ZTE ZTE-CDROM> at usbus4 (disconnected)
FreeBSD kernel: umass0: at uhub0, port 1, addr 2 (disconnected)
FreeBSD kernel: cd0 at umass-sim0 bus 0 scbus2 target 0 lun 0
FreeBSD kernel: cd0: <ZTE CDROM 1.0> detached
FreeBSD kernel: (cd0:umass-sim0:0:0:0): Periph destroyed
FreeBSD kernel: umass0: detached
FreeBSD kernel: ugen4.2: <ZTE ZTE Mobile Broadband> at usbus4
FreeBSD kernel: umass0 on uhub0
FreeBSD kernel: umass0: <USB-MassStorage> on usbus4
FreeBSD kernel: umass0: SCSI over Bulk-Only; quirks = 0x0000
FreeBSD kernel: umass0:2:0: Attached to scbus2
FreeBSD kernel: cd0 at umass-sim0 bus 0 scbus2 target 0 lun 0
FreeBSD kernel: cd0: <ZTE CDROM 1.0> Removable CD-ROM SCSI-2 device
FreeBSD kernel: cd0: 40.000MB/s transfers
FreeBSD kernel: cd0: 80MB (163840 512 byte sectors)
FreeBSD kernel: cd0: quirks=0x10<10_BYTE_ONLY>
FreeBSD kernel: cdce0 on uhub0
FreeBSD kernel: cdce0: <USB-Ecm> on usbus4
FreeBSD kernel: ue0: <USB Ethernet> on cdce0
FreeBSD kernel: ue0: Ethernet address: 00:a0:c6:00:00:00
Код: Выделить всё
ugen4.2: <ZTE ZTE Mobile Broadband> at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA)
Код: Выделить всё
ue0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 00:a0:c6:00:00:00
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
dhclient ue0
Код: Выделить всё
DHCPDISCOVER on ue0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on ue0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on ue0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on ue0 to 255.255.255.255 port 67 interval 9
DHCPDISCOVER on ue0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on ue0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on ue0 to 255.255.255.255 port 67 interval 7
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
Что делать дальше, как его заставить хоть как-то работать? Хоть с ue0, хоть, ещё лучше с /dev/cuaU0.