发信人: larry (土哥), 信区: CellularPlan
标 题: 4GC ZTE Pocket WiFi USB Tethering with OpenWRT
发信站: BBS 未名空间站 (Thu Feb 2 07:04:59 2017, 美东)
Update (copied from my post in another thread):
I think I found the magic to keep it in 1405 (in OpenWrt 15.05).
1. Install the package kmod-usb-storage (which will also pull in kmod-scsi-
core by dependency).
2. Remove the package usb-modeswitch.
Power off pocket wifi one last time :-), then everything should be up and
running. It will not go back to 1403 any more even if you reboot the router.
Actually, it always starts in 1225, but the usb-storage driver apparently
contains the proper modeswitch message to send to the device to kick it into
1405 every time.
Don't ask me how I found this out. I just wasted too much time on this than
I should have :-).
--- Obviously, if you are starting fresh, just don't install usb-modeswitch
to begin with, and load kmod-usb-storage instead (all other things being
equal), then everything will "just work" (as far as the device driver is
concerned). You still need to configure the interface.
在 OpenWRT 上折腾无数次之后，终于搞定Pocket WiFi 的 USB Tethering. 测速平均
在 50 - 60 Mbps (下载)，上传 5 - 15 Mbps. 信号显示一到两格，偶尔三格。
最关键的一点：install usb_modeswitch package, and make sure your device id
is switched to 19d2:1405, and use kmod-usb-net-cdc-ether, NOT kmod-usb-net-
The rest will be in English, as it will be faster for me to describe it this
I am using OpenWRT 15.05 (CC, current stable version).
Extra packages that you need:
1. the usual usb/usb-net kernel modules, see
2. usb_modeswitch (this one is not listed on the OpenWRT usb tether wiki
3. DON'T USE kmod-usb-net-rndis. If you installed it already, REMOVE IT!
Once you have all the packages in place, run "lsusb" and make sure your
device is listed as 19d2:1405, NOT 19d2:1225 or 19d2:1403. The modeswitch
package will switch the device from 1225 to either 1403 or 1405.
1403 is the rndis mode, the driver (kmod-usb-net-rndis) will seem to work (
the ethernet device usb0 will be created, and you will be able to connect),
but it is EXTREMELY slow in download. I got about 0.3Mbps, even though the
upload is super fast at around 10Mbps. I googled for a long time (a couple
of days), and couldn't track down any solution (there were reports of
similar bugs in other linux systems). That's why you DON'T want to use the
rndis mode as 19d2:1403.
When I plugged the device into my old Debian laptop, it worked perfectly
fine. It finally dawned on me that I should check the device ID, and I
noticed that it was using the cdc-ether driver instead of the rndis driver.
It took me a while to figure out the right combination, but eventually I got
it working, using kmod-usb-net-cdc-ether on OpenWRT.
If your device shows up as 1403, the only way I can get it to go into the
1405 mode on OpenWRT at this point: power off AND disconnect, then power up
without connecting. After it powers up, then connect to your OpenWRT router,
and modeswitch should now put it in 1405 correctly. Run "lsusb" to double
check, and "dmesg" should show the cdc-ether driver registering the new
ethernet device "usb0".
Set up (use the web interface, much easier than the command line unless you
know linux well) the wan interface to use the usb0 device, then you are good
to go. I won't go into the details of OpenWRT setup here. There are plenty
of online instructions if you don't already know how.
※ 修改:·larry 於 Feb 10 22:23:22 2017 修改本文·[FROM: 173.]
※ 来源:·WWW 未名空间站 网址：mitbbs.com 移动：在应用商店搜索未名空间·[FROM: 96.]