Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Changes to wpa_supplicant setup.

  • Loading branch information...
commit 699c7d0f3448badd570f9f3d277dc2cb84aa9d04 1 parent f26ae21
@TomGiordano TomGiordano authored
Showing with 5 additions and 8 deletions.
  1. +4 −7 init.blade.rc
  2. +1 −1  wpa_supplicant.conf
View
11 init.blade.rc
@@ -38,16 +38,12 @@ on boot
#create WIFI filesystem structure
mkdir /data/misc 01771 system misc
mkdir /data/misc/wifi 0770 system wifi
- mkdir /data/misc/wifi/wpa_supplicant
- chown wifi wifi /data/misc/wifi/wpa_supplicant
- chmod 770 /data/misc/wifi/wpa_supplicant
mkdir /data/misc/wifi/sockets
chown system wifi /data/misc/wifi/sockets
chmod 770 /data/misc/wifi/sockets
mkdir /data/misc/dhcp 0770 dhcp dhcp
chown dhcp dhcp /data/misc/dhcp
mkdir /data/system 0775 system system
- symlink /data/misc/wifi/wpa_supplicant /data/system/wpa_supplicant
# Permission for ril
chown radio system /dev/pm_monitor
@@ -122,6 +118,8 @@ on property:init.svc.wpa_supplicant=stopped
# WPA SETTINGS
service wpa_supplicant /system/bin/wpa_supplicant -Dawext -iwlan0 -W -c/data/misc/wifi/wpa_supplicant.conf
+ group wifi inet
+ socket wpa_wlan0 dgram 660 wifi wifi
disabled
oneshot
@@ -150,9 +148,8 @@ on property:persist.sys.charging.disable=0
write /sys/module/msm_battery/parameters/usb_chg_enable 1
service hostapd /system/bin/hostapd /data/misc/wifi/hostapd.conf
- socket hostapd_wlap0 dgram 660 root wifi
- user root
- group wifi
+ socket hostapd_athap0 dgram 660 wifi wifi
+ group wifi inet
oneshot
disabled
View
2  wpa_supplicant.conf
@@ -1,2 +1,2 @@
update_config=1
-ctrl_interface=DIR=/data/misc/wifi/wpa_supplicant GROUP=wifi
+ctrl_interface=wlan0
Please sign in to comment.
Something went wrong with that request. Please try again.