network preferences shows self-assigned ip but macbook pro connects to internet
removing these files and rebooting solved the problem

com.apple.airport.preferences.plist
com.apple.wifi.message-tracer.plist
NetworkInterfaces.plist
preferences.plist