Skip to content

Instantly share code, notes, and snippets.

@fbradyirl
Last active March 6, 2016 21:27
Show Gist options
  • Save fbradyirl/5020213f7958a31050cd to your computer and use it in GitHub Desktop.
Save fbradyirl/5020213f7958a31050cd to your computer and use it in GitHub Desktop.
#!/bin/sh /etc/rc.common
# Copyright (C) 2006-2011 OpenWrt.org
START=10
# From https://forum.openwrt.org/viewtopic.php?id=63104
# With Kernel 4.2 or newer, this hack shouldnt be needed. See https://lists.freedesktop.org/archives/modemmanager-devel/2016-January/002489.html
boot() {
echo 6000 > /sys/class/net/wwan0/cdc_ncm/tx_max
echo 0 > /sys/class/net/wwan0/cdc_ncm/min_tx_pkt
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment