OpenWRT BARRIER WORKER(14.07-rc2, r41815)를 사용하여 4G 모뎀 Quanta 1k6e를 wl500g 라우터에 연결하려고 하는데 문제가 있습니다. 장치를 연결하면 로그에 다음이 나타납니다.
Thu Aug 14 21:58:06 2014 kern.info kernel: [ 161.580000] usb 2-2: new full-speed USB device number 5 using uhci_hcd
Thu Aug 14 21:58:07 2014 kern.info kernel: [ 161.800000] rndis_host 2-2:1.0 eth1: register 'rndis_host' at usb-0000:00:03.0-2, RNDIS device, 00:16:36:9c:4f:b5
00:16:36:9c:4f:b5
- Windows 컴퓨터에 이 MAC을 설치했는데 모뎀이 제대로 작동합니다.
다음 로그는 다음과 같습니다.
Thu Aug 14 21:58:07 2014 daemon.notice netifd: Interface 'cdc' is enabled
Thu Aug 14 21:58:07 2014 kern.info kernel: [ 161.850000] usb-storage 2-2:1.2: USB Mass Storage device detected
Thu Aug 14 21:58:07 2014 kern.info kernel: [ 161.850000] scsi5 : usb-storage 2-2:1.2
Thu Aug 14 21:58:07 2014 daemon.notice netifd: Network device 'eth1' link is up
Thu Aug 14 21:58:07 2014 daemon.notice netifd: Interface 'cdc' has link connectivity
Thu Aug 14 21:58:07 2014 daemon.notice netifd: Interface 'cdc' is setting up now
Thu Aug 14 21:58:07 2014 kern.info kernel: [ 162.040000] usb 2-2: USB disconnect, device number 5
Thu Aug 14 21:58:07 2014 kern.info kernel: [ 162.040000] rndis_host 2-2:1.0 eth1: unregister 'rndis_host' usb-0000:00:03.0-2, RNDIS device
Thu Aug 14 21:58:07 2014 daemon.notice netifd: Network device 'eth1' link is down
Thu Aug 14 21:58:07 2014 daemon.notice netifd: Interface 'cdc' has link connectivity loss
Thu Aug 14 21:58:07 2014 kern.info kernel: [ 162.390000] usb 2-2: new full-speed USB device number 6 using uhci_hcd
Thu Aug 14 21:58:07 2014 daemon.notice netifd: Interface 'cdc' is now down
Thu Aug 14 21:58:07 2014 kern.info kernel: [ 162.620000] cdc_ether 2-2:1.0 eth1: register 'cdc_ether' at usb-0000:00:03.0-2, CDC Ethernet Device, 00:16:36:51:54:57
Thu Aug 14 21:58:07 2014 daemon.notice netifd: Interface 'cdc' is disabled
Thu Aug 14 21:58:07 2014 kern.info kernel: [ 162.650000] usb-storage 2-2:1.2: USB Mass Storage device detected
Thu Aug 14 21:58:07 2014 daemon.notice netifd: Interface 'cdc' is enabled
Thu Aug 14 21:58:07 2014 daemon.notice netifd: Network device 'eth1' link is up
Thu Aug 14 21:58:07 2014 kern.info kernel: [ 162.660000] scsi6 : usb-storage 2-2:1.2
Thu Aug 14 21:58:07 2014 daemon.notice netifd: Interface 'cdc' has link connectivity
Thu Aug 14 21:58:07 2014 daemon.notice netifd: Interface 'cdc' is setting up now
Thu Aug 14 21:58:07 2014 daemon.notice netifd: Network device 'eth1' link is down
Thu Aug 14 21:58:07 2014 daemon.notice netifd: Interface 'cdc' has link connectivity loss
Thu Aug 14 21:58:08 2014 daemon.notice netifd: cdc (1614): udhcpc (v1.22.1) started
Thu Aug 14 21:58:08 2014 kern.notice kernel: [ 163.730000] scsi 6:0:0:0: Direct-Access Virtual Mass-Storage 0000 PQ: 0 ANSI: 2
Thu Aug 14 21:58:09 2014 kern.notice kernel: [ 163.800000] sd 6:0:0:0: Attached scsi generic sg2 type 0
Thu Aug 14 21:58:09 2014 kern.notice kernel: [ 163.850000] sd 6:0:0:0: [sdb] Attached SCSI removable disk
Thu Aug 14 21:58:09 2014 daemon.notice netifd: cdc (1614): Sending discover...
Thu Aug 14 21:58:12 2014 daemon.notice netifd: cdc (1614): Sending discover...
Thu Aug 14 21:58:15 2014 daemon.notice netifd: cdc (1614): Sending discover...
cdc
그 후 인터페이스를 얻었 지만 IP 주소가 할당되지 않았습니다. IP를 수동으로 할당하더라도:
- 192.168.225.38(Windows 컴퓨터에 할당된 주소) 또는
- 192.168.225.1(모뎀의 WEB UI에 모뎀 주소로 지정됨),
답장이 없습니다.
나는 노력했다
echo -n 2-2:1.0 > /sys/bus/usb/drivers/cdc_ether/unbind
성공적인 바인딩 해제 cdc_ether
:
T: Bus=02 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#= 6 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=02(comm.) Sub=06 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=0408 ProdID=ea45 Rev= 0.00
S: Manufacturer=QUANTA
S: Product=Mobile Broadband
S: SerialNumber=357264046968757
C:* #Ifs= 3 Cfg#= 1 Atr=80 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=06 Prot=00 Driver=(none)
E: Ad=83(I) Atr=03(Int.) MxPS= 16 Ivl=32ms
I:* If#= 1 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=00 Driver=(none)
I: If#= 1 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=(none)
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
I:* If#= 2 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=82(I) Atr=02(Bulk) MxPS= 8 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
하지만 바인딩하려고 할 때 rndis_host driver
:
echo -n 2-2:1.0 > /sys/bus/usb/drivers/rndis_host/bind
오류가 발생합니다.
write error: No such device
내 문제를 해결하도록 도와주세요.