I am currently running Ubuntu 14.04 on my Lenovo z500 laptop. I use the same laptop at my work and at my home. MY work place uses a static IP so I have to manually set my IP address in the network manager and when I go home I turn it back to DHCP (automatic) this usually works fine.
But yesterday due to some problem I cannot edit my network connections so I searched online and tried bunch of things none of them worked but after a reboot I could edit my connections and changed my ipv4 settings manually and everything was fine but when I went back home and turned it back to DHCP it stopped working but I can connect to the internet at my work by setting manually.
My guess is I screwed up something while attempting all the solutions the other day, I tried to revert all the changes made but I don't remember all the things I tried so any suggestion would be appreciated.
PS: I checked and the internet at my home is working fine the problem is with my laptop.
PPS: If not a solution at least say how I can factory reset my setting (only network settings if possible).
If you require any output from my side please comment I will add it.