set/getifpromisc,set/getifup for linux