cmwap 设置方法

blue邀月

普通会员
2005-09-06
1,215
0
0
第一步,修改接入点为CMWAP:Settings->General->Network->EDGE
APN:cmwap
Username:空
Password:空


第二步,创建一个名为proxy.pac的文本文件,或者下载我创建好的。内容为: Quote:
function FindProxyForURL(url, host)
{
if (host == '127.0.0.1' || host == 'localhost')
{
return "DIRECT";
}

if (myIpAddress() == '0.0.0.0' || isInNet(myIpAddress(), '10.0.0.0', '255.0.0.0'))
{
return "PROXY 10.0.0.172:80";
}

return "DIRECT";
}然后把这个文件传到/var/root/下。


第三步,修改/var/root/Library/Preferences/SystemConfiguration/preferences.plist,或者下载我修改好的。
在 Quote:
<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>
</dict>
下添加: Quote:

<key>Proxies</key>
<dict>
<key>ProxyAutoConfigEnable</key>
<integer>1</integer>
<key>ProxyAutoConfigURLString</key>
<string>file:///private/var/root/proxy.pac</string>
</dict>


第四步,重启。
 

红蜻蜓

普通会员
2003-06-02
4,723
0
0
有的地区好像不行的吧,江浙都可以的,各地的也可以都试试,报上一报使用情况,让大家都好了解
 

☆sj男孩☆

游客
哪里可以下载我是福建晋江的课题使用吗