A known issue with MacBook Pro's is that the WiFi reception is poor when running in clamshell mode. A workaround for this issue when using an external monitor only has been to close the MacBook, wake it with a USB device and monitor attached, and then re-open the lid.
Unfortunately, this doesn't work in OS X Lion. That's because as soon as you open the lid, Lion re-detects all the displays and re-enables the LCD monitor. I'm sure in some circumstance, that's very helpful. But not in mine.
Does anybody know of a way to keep Lion from re-enabling the monitor whenever the lid is opened?
Here's the command to make your laptop behave like it did Pre-Lion (courtesy of my friend):
sudo nvram boot-args="iog=0x0"
Works perfectly for me. If it screws up your system, just zap the PRAM next boot (cmd-opt-p-r) and you'll be back to the default Lion state. Or if you can still get into terminal, this command will get you back to Lion's default state as well:
sudo nvram -d boot-args