Skip to content

Instantly share code, notes, and snippets.

@elupus
Created May 2, 2019 14:16
Show Gist options
  • Save elupus/b926858a0cfb1f055be81509500b4032 to your computer and use it in GitHub Desktop.
Save elupus/b926858a0cfb1f055be81509500b4032 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