Last active
March 6, 2016 21:27
-
-
Save fbradyirl/5020213f7958a31050cd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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