[问题]ubuntu 7.04安装drcom-1.3.6后不能访问www.gmail.com

上网、浏览、聊天、下载等
回复
caihai
帖子: 25
注册时间: 2007-06-29 14:47
来自: 成都

[问题]ubuntu 7.04安装drcom-1.3.6后不能访问www.gmail.com

#1

帖子 caihai » 2007-07-15 15:19

系统环境:ubuntu 7.04英文版 + firefox 2.0.0.3 (Linux version 2.6.20-15-generic (root@palmer) (gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4)) #2 SMP Sun Apr 15 07:36:31 UTC 2007)
问题描述: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修改后内容如下
#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))
4、cd到Drcom目录下编译:
~$ 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
回复