modifyed driver code to change IP