Total Pageviews

Saturday, 3 December 2011

iOS不越狱锁定3G和修改3G网络的DNS

备份你的设备
按照iBackupBot读取备份文件 修改 恢复到设备
无法读取加密的备份
有些人无法uncheck掉加密 问题出在描述文件 请在通用 描述文件中删掉 或者用iphone实用配置工具删除描述文件
1.锁定3g
修改Library/Preferences/csidata
将GsmRegistrationModel::fRatSelection……这一行改为GsmRegistrationModel::fRatSelection=0×2
如果没有则增加GsmRegistrationModel::fRatSelection=0×2这一行
2.修改dns
打开SystemConfiguration/preferences.plist
找到
<key>NetworkServices</key>
 <dict>
  <key>一串字符 每台设备不同</key>
  <dict>
   <key>Interface</key>
   <dict>
    <key>DeviceName</key>
    <string>ip1</string>
    <key>Hardware</key>
    <string>com.apple.CommCenter</string>
    <key>Type</key>
    <string>com.apple.CommCenter</string>

    <key>UserDefinedName</key>
    <string>com.apple.CommCenter (ip1)</string>
   </dict>
   <key>UserDefinedName</key>
   <string>com.apple.CommCenter (ip1)</string>
   <key>com.apple.CommCenter</key>
   <dict>
    <key>AllowNetworkAccess</key>
    <integer>1</integer>
    <key>Available</key>
    <integer>1</integer>
    <key>Setup</key>
    <dict>
     <key>apn</key>
     <string>3gnet</string>
改为
<key>NetworkServices</key>
 <dict>
  <key>一串字符 每台设备不同</key>
  <dict>
   <key>DNS</key>
 <dict>
 <key>ServerAddresses</key>
 <array>
 <string>你选择的DNS</string>
 </array>
 </dict>
   <key>Interface</key>
   <dict>
    <key>DeviceName</key>
    <string>ip1</string>
    <key>Hardware</key>
    <string>com.apple.CommCenter</string>
    <key>Type</key>
    <string>com.apple.CommCenter</string>
    <key>UserDefinedName</key>
    <string>com.apple.CommCenter (ip1)</string>
   </dict>
   <key>UserDefinedName</key>
   <string>com.apple.CommCenter (ip1)</string>
   <key>com.apple.CommCenter</key>
   <dict>
    <key>AllowNetworkAccess</key>
    <integer>1</integer>
    <key>Available</key>
    <integer>1</integer>
    <key>Setup</key>
    <dict>
     <key>apn</key>
     <string>3gnet</string>

No comments:

Post a Comment