leo: fixed a few rild, and ppp stuff

This commit is contained in:
Arif Ali 2011-11-27 02:51:25 +00:00
parent 35c45913a1
commit df286aae14
2 changed files with 7 additions and 5 deletions

View File

@ -39,9 +39,9 @@ modem_log()
/bin/echo -e "${@}" >> /tmp/ppp.log
}
modem_log "Connection attempt SUCCESSFUL!"
modem_log "Phone IP: `/bin/ifconfig ppp0 | /bin/grep 'inet addr:' | /bin/cut -d':' -f2 | /bin/cut -d' ' -f1`"
modem_log "Subnet : `/bin/ifconfig ppp0 | /bin/grep 'inet addr:' | /bin/cut -d':' -f4 | /bin/cut -d' ' -f1`"
modem_log "P-t-P : `/bin/ifconfig ppp0 | /bin/grep 'inet addr:' | /bin/cut -d':' -f3 | /bin/cut -d' ' -f1`"
modem_log "Phone IP: `/system/xbin/ifconfig ppp0 | /system/xbin/grep 'inet addr:' | /system/xbin/cut -d':' -f2 | /system/xbin/cut -d' ' -f1`"
modem_log "Subnet : `/system/xbin/ifconfig ppp0 | /system/xbin/grep 'inet addr:' | /system/xbin/cut -d':' -f4 | /system/xbin/cut -d' ' -f1`"
modem_log "P-t-P : `/system/xbin/ifconfig ppp0 | /system/xbin/grep 'inet addr:' | /system/xbin/cut -d':' -f3 | /system/xbin/cut -d' ' -f1`"
modem_log "Done!"
sleep 1
/system/bin/setprop "net.dns1" "$DNS1"

View File

@ -3,8 +3,7 @@
#
# RIL specific configuration
rild.libpath=/system/lib/libhtc_ril_wrapper.so
rild.libargs=-d /dev/smd0 nand_init
rild.libpath=/system/lib/libhtc_ril.so
ro.ril.ecc.HTC-ELL=92,93,94
ro.ril.ecc.HTC-WWE=999
ro.ril.enable.a52.HTC-ITA=1
@ -61,3 +60,6 @@ ro.media.dec.jpeg.memcap=20000000
# AGPS options
ro.ril.def.agps.mode=2
# Show the correct dBm value
ro.telephony.ril.v3=1