Hello,
I have installed Raspbian os on Raspberry pi 2. I am setting wifi with static ip. The configuration in:
/etc/network/interfaces
.....
.....
auto wlan0
#allow-hotplug wlan0 #also tried it without comment
iface wlan0 inet static
address 192.168.2.101
netmask 255.255.255.0
#also tried with /without broadcast
gateway 192.168.2.1
dns-nameservers 202.56.215.54
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
......
.....
/etc/wpa_supplicant/wpa_supplicant.conf contents
......
.....
network={
ssid="mySSID"
psk="myPassword" #simple password key. not encrypted.
key_mgmt=WPA-PSK
# also tried many other options like proto, scan_ssid etc.. My SSID is not hidden
}
Sometime my internet is working and sometime not. If it works then it is so slow. The problem is that in GUI (desktop) the wifi icon at top-right corner of the screen is showing the different IP not the static IP that I set in /etc/network/interfaces.
Can anyone tell me how it will use only one static IP. i.e. the wifi icon should show the same IP that is in .../interfaces file.
I have spent many days trying from google but internet is still not working properly.
Thanks,
Hem Singh