Skip to content

Instantly share code, notes, and snippets.

@mark-stopka
Forked from elupus/12d1:1f01
Created October 17, 2020 17:13
Show Gist options
  • Save mark-stopka/76d710dc44d86e6e84cc0f2a7546f894 to your computer and use it in GitHub Desktop.
Save mark-stopka/76d710dc44d86e6e84cc0f2a7546f894 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