[Q] Location of wpa_supplicant.conf on I9000 roms

Search This thread

jbrechtel

Member
Jan 12, 2010
10
0
Hi guys,

I've got a customer who is having a problem on my app which has to read wpa_supplicant.conf. Normally this file is located at /data/misc/wifi/wpa_supplicant.conf and requires root to read.

Anyways, according to the errors he's getting and based on his own exploration, his wpa_supplicant.conf file is not located there. I'm not sure which ROM he has (am waiting for a reply to that question now), but does anyone know if this file is normally located in /data/misc/wifi ?

Thanks,
James
 

xan

Retired Recognized Developer
May 21, 2006
1,407
455
Crack-ow
Its not there on Darky 7.0 based on latest JPY firmware.
Search in progress ;]
/etc/wifi/wpa_supplicant.conf
and symlink
/system/etc/wifi/wpa_supplicant.conf
 
Last edited:

jbrechtel

Member
Jan 12, 2010
10
0
Thanks for the tip. On my customer's phone that file is just a template and not actually storing networks. I'll poke around in that ROM though. Thanks again.

Sent from my Nexus One using XDA App
 

jbrechtel

Member
Jan 12, 2010
10
0
Looking at /system/etc/wifi/wifi.conf on Darky 7.0 I see the following

Code:
FIRMWARE_LOADER=wlan_loader
DRIVER_PROP_NAME=wlan.driver.status
SUPPLICANT_NAME=wpa_supplicant
SUPP_PROP_NAME=init.svc.wpa_supplicant
MODULE_FILE=/proc/modules
IFACE_DIR=/data/misc/wifi
DRIVER_MODULE_NAME=dhd
DRIVER_MODULE_TAG=dhd 
FIRMWARE_LOADER=
[b]SUPP_CONFIG_TEMPLATE=/system/etc/wifi/wpa_supplicant.conf[/b]
SUPP_CONFIG_FILE=/data/wifi/bcm_supp.conf
DRIVER_MODULE_PATH=/lib/modules/dhd.ko
MFGDRV_MODULE_ARG=firmware_path=/system/etc/wifi/bcm4329_mfg.bin nvram_path=/system/etc/wifi/nvram_mfg.txt
DRV_AP_MODULE_ARG=firmware_path=/system/etc/wifi/bcm4329_aps.bin nvram_path=/system/etc/wifi/nvram_net.txt dhd_watchdog_ms=200 dhd_poll=1
DRIVER_MODULE_ARG=firmware_path=/system/etc/wifi/bcm4329_sta.bin nvram_path=/system/etc/wifi/nvram_net.txt dhd_watchdog_ms=10 dhd_poll=1
DRIVER_APS_FIRMWARE_NAME=bcm4329_aps.bin
DRIVER_STA_FIRMWARE_NAME=bcm4329_sta.bin
INTERFACENAME=eth0
WAPI_SUPPORT=false
[b]SUPP_CONF_FILEPATH=/data/misc/wifi/[/b]
SUPP_WAPI_AS_CERT_FILE_PATH=/data/misc/wifi/cert/as/
SUPP_WAPI_USER_CERT_FILE_PATH=/data/misc/wifi/cert/user/
SUPPLICANT_STATUS=wlan.supplicant.status

This tells me I would expect the conf file to be in /data/misc/wifi and the template to be in /system/etc/wifi.

Argh, this is very frustrating.
 

sweetlilmre

Member
Dec 27, 2006
28
21
Code:
SUPP_CONFIG_TEMPLATE=/system/etc/wifi/wpa_supplicant.conf

is what you are after.
-(e)
 
Last edited:

jbrechtel

Member
Jan 12, 2010
10
0
Sweetlime, would you mind elaborating?

Do you see your networks in that file on your device?

On every device and ROM that I've been able to inspect that file is just the template and contains no specific network information.
 

sweetlilmre

Member
Dec 27, 2006
28
21
Sorry I am an idiot :) I copied the wrong line, that should have read:

Code:
SUPP_CONFIG_FILE=/data/wifi/bcm_supp.conf