Skip to content

Instantly share code, notes, and snippets.

@zerolab
Created October 8, 2010 10:45
Show Gist options
  • Save zerolab/616617 to your computer and use it in GitHub Desktop.
Save zerolab/616617 to your computer and use it in GitHub Desktop.
#! /bin/sh
# Source: http://bugs.launchpad.net/ubuntu/+source/linux/+bug/352228/comments/109
#
# bring them down
pkill nm-app
sudo modprobe -v -r iwlagn
sudo /etc/init.d/network-manager stop
sudo /etc/init.d/network-interface stop
sudo /etc/init.d/networking stop
# start again
sudo /etc/init.d/networking start
sudo /etc/init.d/network-interface start
sudo /etc/init.d/network-manager start
sudo modprobe -v iwlagn
nm-applet &> /dev/null &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment