Hi Brian ,

Thank you very much for your help!
I tried to modify the init.rc
on property:init.svc.wpa_supplicant=stopped
     stop dhcpcd
you mentioned in the mail, but still somthing wrong happened and I can not
kill dhcp (wifi off) from GUI.
Dhcp and wpa_supplicant services defined in init.rc :

/*************************************************************************/
# wifi
    mkdir /data/misc/ 0771 system system
    mkdir /data/misc/wifi 0771 system system
    mkdir /data/misc/wifi/sockets 0771 system system
    mkdir /data/misc/dhcp 0777 system system
    chown dhcp dhcp /data/misc/dhcp

service wpa_supplicant /system/bin/logwrapper /system/bin/wpa_supplicant \
    -Dwext -iwlan0 -c/data/misc/wifi/wpa_supplicant.conf
    user root
    group wifi inet
    socket wpa_wlan0 dgram 660 wifi wifi
    oneshot

service dhcpcd /system/bin/dhcpcd -d -f /system/etc/dhcpcd/android.conf
wlan0
     disabled
     oneshot

on property:init.svc.wpa_supplicant=stopped
     stop dhcpcd

/****************************************************************************/

When I turn off wifi from GUI and turn ON still get the same log as past.
I'm not able to kill dhcp when i turn off wifi from GUI.

===============================================
bash-3.2# V/WifiMonitor(  870): Event [CTRL-EVENT-TERMINATING - signal 15
received]
V/WifiStateTracker(  870): deepak Connection to supplicant disconnect
start....
V/WifiStateTracker(  870): Connection to supplicant lost
D/GpsLocationProvider(  870): updateNetworkState unavailable
D/SettingsWifiEnabler( 1027): Received wifi state changed from Enabled to
Disabling
D/WifiStateTracker(  870): stop DHCP start :........ null
D/WifiStateTracker(  870): deepak mInterfaceName :........ wlan0
I/WifiHW  (  870): Unloading WiFi Modules...........
D/SettingsWifiEnabler( 1027): Received wifi state changed from Disabling to
Disabled
D/dalvikvm(  999): GC freed 1263 objects / 67720 bytes in 35ms
===============================================
bash-3.2# ps
USER     PID   PPID  VSIZE RSS   WCHAN    PC         NAME
root     1     0     296   204   c00b28ec 0000c58c S /init
root     2     0     0     0     c00689b0 00000000 S kthreadd
root     3     2     0     0     c005abd4 00000000 S ksoftirqd/0
root     4     2     0     0     c007c9f0 00000000 S watchdog/0
root     5     2     0     0     c0065710 00000000 S events/0
root     6     2     0     0     c0065710 00000000 S khelper
root     12    2     0     0     c0065710 00000000 S suspend
root     163   2     0     0     c0065710 00000000 S kblockd/0
root     170   2     0     0     c01ca584 00000000 S kseriod
root     177   2     0     0     c0065710 00000000 S twl4030-irqchip
root     178   2     0     0     c01dd460 00000000 S twl4030-irq
root     203   2     0     0     c0065710 00000000 S ksuspend_usbd
root     209   2     0     0     c0246474 00000000 S khubd
root     213   2     0     0     c0065710 00000000 S kmmcd
root     219   2     0     0     c0065710 00000000 S btaddconn
root     220   2     0     0     c0065710 00000000 S btdelconn
root     250   2     0     0     c0087f38 00000000 S pdflush
root     251   2     0     0     c0087f38 00000000 S pdflush
root     252   2     0     0     c008c290 00000000 S kswapd0
root     254   2     0     0     c0065710 00000000 S aio/0
root     255   2     0     0     c0065710 00000000 S nfsiod
root     406   2     0     0     c0233698 00000000 S mtdblockd
root     427   2     0     0     c0065710 00000000 S wusbd
root     457   2     0     0     c0065710 00000000 S kpsmoused
root     474   2     0     0     c0065710 00000000 S hid_compat
root     516   2     0     0     c033e588 00000000 S krfcommd
root     518   2     0     0     c0065710 00000000 S rpciod/0
root     543   2     0     0     c028bff8 00000000 S mmcqd
root     559   2     0     0     c0065710 00000000 S phy0
root     573   2     0     0     c010e118 00000000 S kjournald
root     853   1     1712  956   c0058848 000fa7b8 S /system/bin/bash
system   854   1     812   264   c02a2104 afe0c35c S
/system/bin/servicemanager
root     856   1     1848  356   ffffffff afe0c0bc S /system/bin/mountd
root     857   1     668   264   c02d017c afe0ccec S /system/bin/debuggerd
root     858   1     71004 18948 c00b28ec afe0c484 S zygote
media    859   1     18976 4024  ffffffff afe0c35c S /system/bin/mediaserver
bluetooth 861   1     1172  728   c00b28ec afe0d2cc S
/system/bin/dbus-daemon
root     863   1     804   308   c032768c afe0c0bc S /system/bin/installd
system   870   858   184088 25708 ffffffff afe0c35c S system_server
radio    909   858   109420 17848 ffffffff afe0d454 S com.android.phone
app_3    917   858   101616 20620 ffffffff afe0d454 S android.process.acore
app_7    943   858   101740 15520 ffffffff afe0d454 S com.android.mms
app_2    963   858   98492 16284 ffffffff afe0d454 S com.android.calendar
app_10   982   858   94344 14972 ffffffff afe0d454 S android.process.im
app_1    999   858   93312 15908 ffffffff afe0d454 S android.process.media
app_21   1010  858   95208 14888 ffffffff afe0d454 S com.android.alarmclock
root     1024  853   684   340   c02a31d8 afe0c0bc S logcat
system   1027  858   103500 19192 ffffffff afe0d454 S com.android.settings
dhcp     1088  1     860   372   c00b28ec afe0d2cc S /system/bin/dhcpcd
root     1095  853   888   348   00000000 afe0c0bc R ps
==============================================
bash-3.2# getprop
[ro.secure]: [0]
[ro.debuggable]: [1]
[persist.service.adb.enable]: [1]
[ro.factorytest]: [0]
[ro.serialno]: []
[ro.bootmode]: [unknown]
[ro.baseband]: [unknown]
[ro.carrier]: [unknown]
[ro.bootloader]: [unknown]
[ro.hardware]: [omap3]
[ro.revision]: [32]
[ro.build.id]: [MAIN]
[ro.build.version.incremental]: [eng.deepak.20090629.174442]
[ro.build.version.sdk]: [3]
[ro.build.version.release]: [1.5]
[ro.build.date]: [Mon Jun 29 18:12:57 IST 2009]
[ro.build.date.utc]: [1246279377]
[ro.build.type]: [eng]
[ro.build.user]: [deepak]
[ro.build.host]: [deepak]
[ro.build.tags]: [test-keys]
[ro.product.model]: [generic]
[ro.product.brand]: [generic]
[ro.product.name]: [generic]
[ro.product.device]: [generic]
[ro.product.board]: []
[ro.product.manufacturer]: [unknown]
[ro.product.locale.language]: []
[ro.product.locale.region]: []
[ro.build.product]: [generic]
[ro.build.description]: [generic-eng 1.5 MAIN eng.deepak.20090629.174442
test-keys]
[ro.build.fingerprint]:
[generic/generic/generic/:1.5/MAIN/eng.deepak.20090629.174442:eng/test-keys]
[rild.libpath]: [/system/lib/libreference-ril.so]
[rild.libargs]: [-d /dev/ttyS0]
[ro.kernel.android.gps]: [ttyS2]
[wifi.interface]: [wlan0]
[ro.config.notification_sound]: [F1_New_SMS.ogg]
[ro.kernel.android.checkjni]: [1]
[ro.config.sync]: [yes]
[net.bt.name]: [Android]
[net.change]: [net.dnschange]
[dalvik.vm.stack-trace-file]: [/data/anr/traces.txt]
[ro.FOREGROUND_APP_ADJ]: [0]
[ro.VISIBLE_APP_ADJ]: [1]
[ro.SECONDARY_SERVER_ADJ]: [2]
[ro.HIDDEN_APP_MIN_ADJ]: [7]
[ro.CONTENT_PROVIDER_ADJ]: [14]
[ro.EMPTY_APP_ADJ]: [15]
[ro.FOREGROUND_APP_MEM]: [1536]
[ro.VISIBLE_APP_MEM]: [2048]
[ro.SECONDARY_SERVER_MEM]: [4096]
[ro.HIDDEN_APP_MEM]: [5120]
[ro.CONTENT_PROVIDER_MEM]: [5632]
[ro.EMPTY_APP_MEM]: [6144]
[net.tcp.buffersize.default]: [4096,87380,110208,4096,16384,110208]
[net.tcp.buffersize.wifi]: [4095,87380,110208,4096,16384,110208]
[net.tcp.buffersize.umts]: [4094,87380,110208,4096,16384,110208]
[net.tcp.buffersize.edge]: [4093,26280,35040,4096,16384,35040]
[net.tcp.buffersize.gprs]: [4092,8760,11680,4096,8760,11680]
[init.svc.console]: [running]
[init.svc.servicemanager]: [running]
[init.svc.mountd]: [running]
[init.svc.debuggerd]: [running]
[init.svc.zygote]: [running]
[init.svc.media]: [running]
[init.svc.dbus]: [running]
[init.svc.installd]: [running]
[init.svc.flash_recovery]: [stopped]
[EXTERNAL_STORAGE_STATE]: [mounted]
[hw.keyboards.65537.devname]: [HID 04f3:0103]
[hw.keyboards.65538.devname]: [HID 04f3:0103]
[sys.settings_secure_version]: [6]
[dev.bootcomplete]: [1]
[sys.settings_system_version]: [2]
[gsm.sim.operator.numeric]: []
[gsm.sim.operator.alpha]: []
[gsm.sim.operator.iso-country]: []
[gsm.sim.state]: [UNKNOWN]
[wlan.driver.status]: [ok]
[init.svc.wpa_supplicant]: [stopped]
[init.svc.dhcpcd]: [stopped]
[net.dnschange]: [5]
[dhcp.wlan0.result]: [ok]
[dhcp.wlan0.pid]: [1060]
[dhcp.wlan0.reason]: [BOUND]
[dhcp.wlan0.dns1]: [192.168.1.1]
[dhcp.wlan0.dns2]: [203.196.128.4]
[dhcp.wlan0.dns3]: []
[dhcp.wlan0.dns4]: []
[dhcp.wlan0.ipaddress]: [192.168.1.60]
[dhcp.wlan0.gateway]: [192.168.1.1]
[dhcp.wlan0.mask]: [255.255.255.0]
[dhcp.wlan0.leasetime]: [86400]
[dhcp.wlan0.server]: [192.168.1.1]
[net.dns1]: []
[net.dns2]: []
bash-3.2#
===============================================

Thanks & Regards,
Deepak

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to