Dozens of migrants on Sunday walked along rail tracks in Hungary hoping to cross the nearby border into Serbia.