ipconfig fails at certain hotspots

I travel quite a bit and often run into unsecured hotspots where the connetion will occur up to the ipconfig step, but that step will fail. Doesn't happen all the time, but does happen enough to be inconvenient. Any ideas?