after an hour of ssh'ing and vi'ing, finally got an unlocked iphone to use o2 payandgo.