I gave a brief answer to a similar question a couple of weeks ago...much more can always be said about the very interesting way of naming countries in Hungarian, but hopefully this helps a bit:
Is Hungary named after the Huns?