Shell Script to simulate the behavior similar to Connectify for Windows/Mac