Thursday, May 27, 2010
Monday, May 24, 2010
Monday, May 17, 2010
Getting my ar5212 wifi card to search for an access point
On ubuntu karmic, I uninstalled network-manager and tried to configure my Thinkpad T41p's ar5212 wireless connection manually.
iwconfig wlan0 essid MyEssid
iwconfig wlan0 txpower auto
When I run iwconfig, it says "not associated" and doesn't appear to be looking for an AP. It'll stay like this forever.
But if I run dhclient wlan0, within a few seconds it'll associate and get an address as expected.
iwconfig wlan0 essid MyEssid
iwconfig wlan0 txpower auto
When I run iwconfig, it says "not associated" and doesn't appear to be looking for an AP. It'll stay like this forever.
But if I run dhclient wlan0, within a few seconds it'll associate and get an address as expected.
Friday, May 14, 2010
sudo sucks
sudo helpfully won't let you do anything as root anymore if you disturb its precious 440 permissions. Because, you know, having root be able to write the file would be INSECURE. FML.
Edit: Whee!! It even helpfully segfaults on karmic:
Edit: Whee!! It even helpfully segfaults on karmic:
$ sudo bash
sudo: /etc/sudoers is mode 0640, should be 0440
Segmentation fault
Monday, May 10, 2010
Avoiding the annoying "no write since last change" vim message
Whenever I'm on a new machine, it drives me nuts when the default vi install won't let me :bn without saving first. Adding ":set hidden" to my .vimrc fixes that, letting me switch buffers without saving first.
Subscribe to:
Posts (Atom)