车前草 发表于 2006-12-5 22:08:06

drcom无法使用!已经按照精华帖作了。

单位使用drcom 2.97上网,在WinXP下有一个drcom图形客户端很好用,我就想在linux下也用drcom,原来登录的信息是在浏览器中输入的,也能正常使用。但不论我如何修改/etc/drcom.conf,在linux下就是无法登录。求教,谢谢了!
下面是我的drcom.conf文件:
#
# This is the config file for drcom.
#
# Please read these notes before even attempting
# to edit this file:
# + Lines beginning with '#' are ignored.
# + Blank Lines are ignored.
# + Lines with more than 256 characters on it are
#   just stripped.
# + Valid characters are: a-z, A-Z, 0-9, space
#   and this set [#_=.,:]
# + This file is not syntax-checked, so you'll have
#   to edit it properly. I don't think you'll try to
#   do a buffer-overflow attack on your own machine.
# + Spaces get squeezed, so don't be afraid.
# + Unless otherwise specified, every variable must
#   be specified exactly once.
# + Variables that have default values don't need to
#   appear at all, but it's recommended that they do.
#

# Username and password
# A blank password is considered valid.
username=
password=

# Interface information

# mac is the MAC address of the nic we use to connect
# to the server.
# Example:
# mac=1a:2b:3c:4d:5e:6f
# If left blank it will default to 00:00:00:00:00:00

mac=00:14:c2:dd:3d:b5

# nicn is the nth nic. This is the real data that's
# passed to the server, and thus I suggest you only
# fill in the first nic.
# Example:
# nic0=192.168.0.1
# nic1=
# nic2=
# nic3=
# Only nic0 is mandatory; the others should normally
# be left blank.

nic0=
nic1=
nic2=
nic3=

# dnsp(rimary) and dnss(econdary).

dnsp=10.11.5.25
dnss=

# dhcp server address. Windows XP uses 255.255.255.255
# and Windows 2000 uses 0.0.0.0
# If left blank it defaults to 255.255.255.255

dhcp=

# Connection information
# If the network supports it, and serverip is set
# to 1.1.1.1, then the gateway will help us find
# the real server (beex said this was the reason
# why we had to upgrade, but I don't see the
# practical reason why)
# All are optional, if left blank, then:
# + hostip defaults to nic0
# + servip defaults to 1.1.1.1
# + hostport defaults to 61440 (0xf000)
# + servport defaults to 61440 (0xf000)
# Note: hostip can be given one of the special values
#       eth0, eth1, eth2, ... eth9 (I don't think
#       regular users would need eth10 :-P), which
#       corresponds to the inet address of the
#       interface.

hostip=
servip=10.11.7.20
hostport=
servport=

# Miscellaneous Machine Information
# We don't need to be honest about these.
# For example, Windows XP has a version number
# of 5.1 and a build number of 2600.
# All are optional, if left blank, then:
# + hostname defaults to "localhost"
# + winver defaults to 5.1
# + winbuild defaults to 2600
# + servicepack defaults to "Service Pack 2"

hostname=
winver=
winbuild=
servicepack=

hillwood 发表于 2006-12-5 22:30:41

username,password空着干什么?dhcp添上你的子网掩码,nic0和hostip添上你的本机IP。dnss添61.128.128.67。

车前草 发表于 2006-12-6 10:53:50

username,password空着干什么?dhcp添上你的子网掩码,nic0和hostip添上你的本机IP。dnss添61.128.128.67。

帐号&密码我是填写了的,只不过是在论坛上发帖没有写上去。谢谢您的回复,我试一下。我的linux现在是dhcp上网方式,IP应该是通过dhcp赋予我的。不好意思,我的网络知识也很匮乏。

taizitju 发表于 2006-12-6 22:44:07

在windows下
ipconfig /all
看看自己的 DHCP服务器
填写在 dhcp=

然后到linux下ifconfig
看看自己的ip
填写在nic0=
。。drcom对于DHCP的用户有一点麻烦,可能需要每次手动改变nic0

车前草 发表于 2006-12-17 20:07:23

在windows下
ipconfig /all
看看自己的 DHCP服务器
填写在 dhcp=

然后到linux下ifconfig
看看自己的ip
填写在nic0=
。。drcom对于DHCP的用户有一点麻烦,可能需要每次手动改变nic0

仍然不行。试验了各种参数组合。我怀疑这个drcom的linux版本就不能用。有谁在linux下成功使用过吗?谢谢了!

hillwood 发表于 2006-12-17 20:09:11

那你直接用wine运行dr.com2.95

车前草 发表于 2006-12-17 20:10:08

我的drcom.conf文件:

#
# This is the config file for drcom.
#
# Please read these notes before even attempting
# to edit this file:
# + Lines beginning with '#' are ignored.
# + Blank Lines are ignored.
# + Lines with more than 256 characters on it are
#   just stripped.
# + Valid characters are: a-z, A-Z, 0-9, space
#   and this set [#_=.,:]
# + This file is not syntax-checked, so you'll have
#   to edit it properly. I don't think you'll try to
#   do a buffer-overflow attack on your own machine.
# + Spaces get squeezed, so don't be afraid.
# + Unless otherwise specified, every variable must
#   be specified exactly once.
# + Variables that have default values don't need to
#   appear at all, but it's recommended that they do.
#

# Username and password
# A blank password is considered valid.
username=****
password=****

# Interface information

# mac is the MAC address of the nic we use to connect
# to the server.
# Example:
# mac=1a:2b:3c:4d:5e:6f
# If left blank it will default to 00:00:00:00:00:00

mac=00:14:c2:dd:3d:b5

# nicn is the nth nic. This is the real data that's
# passed to the server, and thus I suggest you only
# fill in the first nic.
# Example:
# nic0=192.168.0.1
# nic1=
# nic2=
# nic3=
# Only nic0 is mandatory; the others should normally
# be left blank.

nic0=10.11.39.150
nic1=
nic2=
nic3=

# dnsp(rimary) and dnss(econdary).

dnsp=10.11.5.25
dnss=10.11.5.25

# dhcp server address. Windows XP uses 255.255.255.255
# and Windows 2000 uses 0.0.0.0
# If left blank it defaults to 255.255.255.255

dhcp=

# Connection information
# If the network supports it, and serverip is set
# to 1.1.1.1, then the gateway will help us find
# the real server (beex said this was the reason
# why we had to upgrade, but I don't see the
# practical reason why)
# All are optional, if left blank, then:
# + hostip defaults to nic0
# + servip defaults to 1.1.1.1
# + hostport defaults to 61440 (0xf000)
# + servport defaults to 61440 (0xf000)
# Note: hostip can be given one of the special values
#       eth0, eth1, eth2, ... eth9 (I don't think
#       regular users would need eth10 :-P), which
#       corresponds to the inet address of the
#       interface.

hostip=10.11.39.150
servip=10.11.7.20
hostport=
servport=

# Miscellaneous Machine Information
# We don't need to be honest about these.
# For example, Windows XP has a version number
# of 5.1 and a build number of 2600.
# All are optional, if left blank, then:
# + hostname defaults to "localhost"
# + winver defaults to 5.1
# + winbuild defaults to 2600
# + servicepack defaults to "Service Pack 2"

hostname=liu-zhiguo-buu
winver=5.1
winbuild=2600
servicepack=Service Pack 2

hillwood 发表于 2006-12-17 20:18:51

dhcp添子网掩码。

车前草 发表于 2006-12-17 20:27:11

dhcp添子网掩码。

谢谢您的回帖。不设置它默认就是255.255.255.255,可能是不对。

车前草 发表于 2006-12-17 20:49:10

那你直接用wine运行dr.com2.95

不行的,Win下那个东东是要安装的。最新的结果还是不行,令人奇怪的是,在Linux下的FireFox浏览器中,是可以用浏览器登录上网的。最新的drcom.conf文件如下:

#
# This is the config file for drcom.
#
# Please read these notes before even attempting
# to edit this file:
# + Lines beginning with '#' are ignored.
# + Blank Lines are ignored.
# + Lines with more than 256 characters on it are
#   just stripped.
# + Valid characters are: a-z, A-Z, 0-9, space
#   and this set [#_=.,:]
# + This file is not syntax-checked, so you'll have
#   to edit it properly. I don't think you'll try to
#   do a buffer-overflow attack on your own machine.
# + Spaces get squeezed, so don't be afraid.
# + Unless otherwise specified, every variable must
#   be specified exactly once.
# + Variables that have default values don't need to
#   appear at all, but it's recommended that they do.
#

# Username and password
# A blank password is considered valid.
username=********
password=********

# Interface information

# mac is the MAC address of the nic we use to connect
# to the server.
# Example:
# mac=1a:2b:3c:4d:5e:6f
# If left blank it will default to 00:00:00:00:00:00

mac=00:14:c2:dd:3d:b5

# nicn is the nth nic. This is the real data that's
# passed to the server, and thus I suggest you only
# fill in the first nic.
# Example:
# nic0=192.168.0.1
# nic1=
# nic2=
# nic3=
# Only nic0 is mandatory; the others should normally
# be left blank.

nic0=10.11.39.150
nic1=
nic2=
nic3=

# dnsp(rimary) and dnss(econdary).

dnsp=10.11.5.25
dnss=10.11.5.25

# dhcp server address. Windows XP uses 255.255.255.255
# and Windows 2000 uses 0.0.0.0
# If left blank it defaults to 255.255.255.255

dhcp=255.255.255.0

# Connection information
# If the network supports it, and serverip is set
# to 1.1.1.1, then the gateway will help us find
# the real server (beex said this was the reason
# why we had to upgrade, but I don't see the
# practical reason why)
# All are optional, if left blank, then:
# + hostip defaults to nic0
# + servip defaults to 1.1.1.1
# + hostport defaults to 61440 (0xf000)
# + servport defaults to 61440 (0xf000)
# Note: hostip can be given one of the special values
#       eth0, eth1, eth2, ... eth9 (I don't think
#       regular users would need eth10 :-P), which
#       corresponds to the inet address of the
#       interface.

hostip=10.11.39.150
servip=10.11.7.20
hostport=
servport=

# Miscellaneous Machine Information
# We don't need to be honest about these.
# For example, Windows XP has a version number
# of 5.1 and a build number of 2600.
# All are optional, if left blank, then:
# + hostname defaults to "localhost"
# + winver defaults to 5.1
# + winbuild defaults to 2600
# + servicepack defaults to "Service Pack 2"

hostname=
winver=
winbuild=
servicepack=

dongfangjunzi 发表于 2006-12-17 21:18:01

我的也是按照楼主和版主说的去配置,但也是没有配成,用拨号软件能拨号但不能上网,我已经装了Drcom,能否说一说servip可以通过什么手段来得知,我用浏览器打开一个网站的时候,就是无法解释主机(一直停在www.nc.jx.cn跳动,我是南昌电信用户),还有想问一下username和password是不是宽带帐号和密码啊.还有如果楼主什么时候配成功了,可千万要告诉小弟一下哦,小弟在这等你的佳音!

hillwood 发表于 2006-12-18 12:37:52

楼上请直接用wine运行Dr.COM2.95。

dongfangjunzi 发表于 2006-12-19 19:59:06

那样够麻烦的,用Linux上网的问题一直困饶着我几个月了,还是没搞定,真希望我能在Linux下上网!

hillwood 发表于 2006-12-19 20:08:18

不麻烦。看此帖:
http://www.linuxfans.org/nuke/modules.php?name=Forums&file=viewtopic&t=172015
页: [1]
查看完整版本: drcom无法使用!已经按照精华帖作了。