Skip to content

Instantly share code, notes, and snippets.

@farirat
Forked from elupus/12d1:1f01
Created January 16, 2021 20:12
Show Gist options
  • Save farirat/2c5822b2f45af33cf4d3407fedcd8957 to your computer and use it in GitHub Desktop.
Save farirat/2c5822b2f45af33cf4d3407fedcd8957 to your computer and use it in GitHub Desktop.
Setup of e3372 modem on pfsense
# /usr/local/share/usb_modeswitch/12d1:1f01
# Huawei E353 (3.se) and others
TargetVendor=0x12d1
TargetProductList="14db,14dc"
HuaweiNewMode=1
#/bin/sh
# /usr/local/bin/e3372.sh
timeout 10 usb_modeswitch -v 12d1 -p 1f01 -J -D -w 5
#12d1:1f01
# /usr/local/etc/devd/e3372h.conf
attach 20 {
match “vendor” “0x12d1”;
match “product” “0x1f01”;
action “/usr/local/bin/e3372.sh”;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment