A man was arrested last night following a British Transport Police investigation into a cyber attack affecting the WiFi networks at stations managed by Network Rail.