I’m newbie and I’ve put my best effort to solve this and the following are the steps I've followed,
- Installed, RASPBIAN JESSIE WITH PIXE
- /etc/network/interfaces, /etc/wpa_supplicant/wpa_supplicant.conf & /etc/dhcpcd.conf are as mentioned & attached.
/etc/network/interfaces,
auto lo
iface lo inet loopback
iface eth0 inet dhcp
auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
wpa_supplicant.conf,
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
update_config=1
network={
ssid="YOUR WIFI NETWORK NAME"
psk="YOUR WIFI PASSWORD"
proto=WPA
key_mgmt=WPA-PSK
pairwise=TKIP
group=TKIP
id_str="YOUR WIFI NETWORK NAME"
}
dhcpcd.conf,
interface wlan0
static ip_address=192.168.0.103/24
static routers=192.168.0.1
static domain_name_servers=192.168.0.1
After doing this, I’ve connected raspberry pi to wifi and can remotely access it using VNC player. But in VNC player, I could not connect to any website but I can access my router using 192.168.0.1 (my router). Also, when I take my cursor to wifi symbol over top right corner it shows me that it is associated to my router and configured with ip I’ve mentioned.
I think I’m missing something but I don’t know what it is.
P.S: if I connect using LAN and share my wifi then it works. Also, if I type “ifconfig wlan0” then “inet addr” field has an address beside it and "ifconfig" shows me connected router.