No, your problem is with routing, not with the selection of ad-hoc
mode. (that is confirmed by the fact that the interface works fine
with the same wireless settings when you put it on a different subnet)
-- Dave