问题描述:1)未安装drcom-1.3.6之前,通过代理可以访问www.gmail.com;2)安装drcom-1.3.6并运行drcom之后,能访问其他网站(163,263,yahoo等),但不能访问www.gmail.com,出现如下错误信息:
The connection was reset
The connection to the server was reset while the page was loading.
* The site could be temporarily unavailable or too busy. Try again in a few
moments.
* If you are unable to load any pages, check your computer's network
connection.
* If your computer or network is protected by a firewall or proxy, make sure
that Firefox is permitted to access the Web.
3)运行drcom之后,同时在firefox里设置代理,则可以访问www.gmail.com 。
----------------以下是我安装drcom-1.3.6的步骤-----------------------------------------------
1、在http://sourceforge.net/projects/drcom-client下载drcom-1.3.6.tar.gz;
2、解压在目录drcom-1.3.6下;
3、修改/drcom-1.3.6/kmod/except/下的common.c;
common.c原来内容如下
#include "except_macros.h"
/* very lazy */
0
/* these are common exceptions, like dns servers */
/*
||op0(op2(202,106,0,20))
||op0(op2(202,106,196,115))
*/
/* some weird things they came up with */
||op0(op2(1,1,1,1))
/* apparently this is invalid */
/* ||op0(op2(2,2,2,2)) */
/* is this valid? */
||op1(op2(211,167,0,0), op2(255,255,0,0))
/* i got these from the server's login ack packet */
||op1(op2(211,147,9,0), op2(255,255,255,0))
||op1(op2(211,167,9,0), op2(255,255,255,0))
common.c修改后内容如下
4、cd到Drcom目录下编译:#include "except_macros.h"
/* very lazy */
0
/* these are common exceptions, like dns servers */
/*
||op0(op2(202,106,0,20))
||op0(op2(202,106,196,115))
*/
/* some weird things they came up with */
||op0(op2(1,1,1,1))
/* apparently this is invalid */
/* ||op0(op2(2,2,2,2)) */
/* is this valid? */
||op1(op2(211,167,0,0), op2(255,255,0,0))
/* i got these from the server's login ack packet */
||op1(op2(211,147,9,0), op2(255,255,255,0))
||op1(op2(211,167,9,0), op2(255,255,255,0))
/* added by est for uestc, 2006-12-14 */
||op1(op2(202,112,14,0), op2(255,255,254,0))
||op1(op2(202,115,0,0), op2(255,255,224,0))
||op1(op2(210,41,96,0), op2(255,255,240,0))
||op1(op2(211,83,96,0), op2(255,255,240,0))
||op1(op2(218,194,32,0), op2(255,255,192,0))
||op1(op2(222,197,160,0),op2(255,255,224,0))
~$ sudo make
~$ sudo make install
5、再修改下配置文件
~$ sudo gedit /etc/drcom.conf
drcom.conf内容修改如下:
username=我的帐号 ##填入你登陆的帐号
password=我的密码 ##填入你的密码
mac=00:0C:76:85:48:EE ##你的网卡物理地址
nic0=211.83.100.146 ##你的IP地址
nic1=
nic2=
nic3=
dnsp=202.112.14.151 ##你的首要DNS
dnss=202.112.14.161 ##你的次要DNS,如果没有的话,请和首要DNS填的一样
dhcp=211.83.100.129 ##你的DHCP服务器,如果有固定IP的话,这个可以不填
hostip=
servip=202.115.255.243 ##你的登陆服务器IP
hostport=
servport=
hostname=
winver=
winbuild=
servicepack=
autologout=0
6、配置好后开始登录,打开守护进程
~$ sudo drcomd
7、登录
~$ sudo drcomc login
8、退出
~$ sudo drcomc logout