I tried using iwconfig to switch wireless access points. For some reason, it didn't work until I changed the mode from Managed to Ad-Hoc. Another odd thing is that I did not specify the ESSID when I changed modes, but it switched anyway. Does anyone know why iwconfig works this way?