OP: I believe your problem is that you are simply not connecting properly to the wifi network. You have a self-assigned IP because of this. The self-assigned IP isn't a specific symptom of a particular issue.
Where is the wifi network in question? Is this your router or one outside of your home? Are you asked for a password?
Don't assign a static IP via your Mac, use DHCP. If you want to use static addresses then manage that through your router.
i agree, it seems that it's a connection issue with wifi. the network is in a hotel where i'm staying and i'll be staying here for a week or two each month, so i need to be able to use the internet. yes, i'm asked for a password, a separate window pops up.
[doublepost=1485267023][/doublepost]
An IT person at the hotel can probably help you.
how do i change it then? thx
You never said you had a static IP set. You have an IP which your wifi has "self-assigned". You are probably set up properly and just need the specific hotel info to get connected.
When you try to connect to the hotel's wifi, are you sure you're choosing the correct one? Does the password request come up your web browser (Safari/Chrome etc.) or as a system dialog box?