Following worked for me... (phone: Chinese H7000 2.2 stock rom)
1st of all I have /data/
misc/wifi/wpa_supplicant.conf
instead of the conventional /data/
system/wpa_supplicant or something.
next.. here's what I did..
Step1: Turn OFF WiFi and Modify file /etc/wifi/wpa_supplicant.conf with following lines
ctrl_interface=DIR=/data/
misc/wpa_supplicant GROUP=wifi
update_config=1
ap_scan=2
network={
ssid="JoikuSpot_E71"
scan_ssid=1
key_mgmt=NONE
mode=1
priority=1
}
network={
ssid="Home_WiFi"
psk="12345678"
key_mgmt=WPA-PSK
priority=2
}
STEP2: Delete (or backup) file /data/misc/wif/wpa_supplicant.conf (This is kinda crucial, at least in my case, because this is system generated based on your original wpa_supplicant.conf in the etc/wifi folder)
STEP3: Restart phone (or use "fast reboot" app), Turn ON WiFi and you will only see & connect to the WiFi networks that you have entered in the wpa_supplicant.conf file.
I can now connect to JoikuSpot on E71.
But do not scan any network else the data/misc/wifi/wpa_supplicant.conf gets overwritten. (You can simply delete this file and start wifi again in case you've scanned. Not a problem)
MY QUESTION:
I have 3 access points i need to connect to:
1. Joiku on E71 (Configured)
2. Home-WiFi (Configured)
3. Office WiFi - Manual IP config. --- HOW do i add the office settings (IP, DNS, WPA and all) in the wpa_supplicant.conf so that i do not have to switch between the stock wpa_supplicant.conf and the modded one (like
fbelleri has to each time)
Is it as simple as adding one more network bracket paragraph? { } , if yes, what is the code for IP settings and DNS etc?
Thanks