May 2017
Beginner to intermediate
470 pages
10h 49m
English
We can add a service in the init.ranchu.rc script to start wpa_supplicant. The following are the services that we added to the init.ranchu.rc script:
service wpa_supplicant /system/bin/wpa_supplicant -ieth1 -Dwired -c/data/misc/wifi/wpa_supplicant.conf -e/data/misc/wifi/entropy.bin -g@android:wpa_eth1 class main socket wpa_eth1 dgram 660 wifi wifi disabled oneshot
This service is used to start or restart the eth1 interface using the DHCP client. For the service of wpa_supplicant, we start it with the following options:
Read now
Unlock full access