This entry is part 9 of 19 in the Bash-whacking series

Ever had your Intel wireless card play up on you in Ubuntu? You can't seem to reset it like the ethernet cards (i.e. with ifup and ifdown). Do this instead:

sudo rmmod iwlagn && sudo modprobe iwlagn
 

Replace iwlagn with your wireless card module name if you don't have an intel wireless card.