modified shebang line
removed unused test scripts
modified to log stderr when errors are occured
modified to add the auto up physical nic like ethX if it's down