use python check LAN status, with GUI