Openhabian

I installed openhabian on my rpi3 using ethernet cable and now im trying to connect to wifi but i dont know why i keep getting this = Rtnetlink answers: network is unrechable
I added my ssid and spk wifi to openhabin.conf coz that what i saw on the openhab website … What shulde i do ?