Skip to content

Instantly share code, notes, and snippets.

@Darkhogg
Last active August 29, 2015 14:11
Show Gist options
  • Select an option

  • Save Darkhogg/0997afc0303f87192332 to your computer and use it in GitHub Desktop.

Select an option

Save Darkhogg/0997afc0303f87192332 to your computer and use it in GitHub Desktop.
Small package to fix WiFi disconnection problems on the Raspberry Pi
# Maintainer: Daniel Escoz <darkhogg+aur at gmail dot com>
pkgname=raspberrypi-wifi-disconnect-fix
pkgver=20141222
pkgrel=1
arch=(any)
license=('custom:WTFPL')
package() {
install -Ddm755 "$pkgdir/etc/modprobe.d/"
echo 'options 8192cu rtw_power_mgnt=0 rtw_enusbss=1 rtw_ips_mode=1' >"$pkgdir/etc/modprobe.d/8192cu.conf"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment