LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1134|回复: 6

drcom-1.3.2连不上网,求助!

[复制链接]
发表于 2007-6-14 12:46:46 | 显示全部楼层 |阅读模式
学校使用的是dr.com,本人已经顺利编译并安装了drcom-1.3.2,但是始终连不上,提示
login failed
reason 0
drcom.conf检查了无数遍,应该不是它的问题.最近学校升级了dr.com的内核到V3.5版,会不会和它有关呢?有没有在dr.com V3.5版下,使用drcom-1.3.2上网成功的?并请各位分析一下不能连网成功的原因,谢谢.
发表于 2007-6-14 18:25:08 | 显示全部楼层
Post by miidii
学校使用的是dr.com,本人已经顺利编译并安装了drcom-1.3.2,但是始终连不上,提示
login failed
reason 0
drcom.conf检查了无数遍,应该不是它的问题.最近学校升级了dr.com的内核到V3.5版,会不会和它有关呢?有没有在dr.com V3.5版下,使用drcom-1.3.2上网成功的?并请各位分析一下不能连网成功的原因,谢谢.


能把strace -o /tmp/system-call.txt drcom
发出来看看
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-6-15 10:33:32 | 显示全部楼层
下面是system-call.txt的内容:
execve("/usr/local/bin/drcomc", ["drcomc"], [/* 87 vars */]) = 0
brk(0)                                  = 0x603000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b4e7dc20000
uname({sys="Linux", node="nit-ljh", ...}) = 0
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=191792, ...}) = 0
mmap(NULL, 191792, PROT_READ, MAP_PRIVATE, 3, 0) = 0x2b4e7dc21000
close(3)                                = 0
open("/lib64/libc.so.6", O_RDONLY)      = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\333"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1595305, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b4e7dc50000
mmap(NULL, 3412216, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x2b4e7de22000
fadvise64(3, 0, 3412216, POSIX_FADV_WILLNEED) = 0
mprotect(0x2b4e7df5b000, 2093056, PROT_NONE) = 0
mmap(0x2b4e7e15a000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x138000) = 0x2b4e7e15a000
mmap(0x2b4e7e15f000, 16632, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2b4e7e15f000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b4e7e164000
arch_prctl(ARCH_SET_FS, 0x2b4e7e1646f0) = 0
mprotect(0x2b4e7e15a000, 12288, PROT_READ) = 0
mprotect(0x601000, 4096, PROT_READ)     = 0
munmap(0x2b4e7dc21000, 191792)          = 0
fstat(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 1), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2b4e7dc21000
write(1, "drcomc, client part of the drcom"..., 65) = 65
write(1, "\n", 1)                       = 1
write(1, "  usage: drcomc ( login | logout"..., 56) = 56
write(1, "\n", 1)                       = 1
write(1, "  login                tell drco"..., 45) = 45
write(1, "  logout               tell drco"..., 46) = 46
write(1, "  passwd \"newpasswd\"   tell drco"..., 70) = 70
write(1, "\n", 1)                       = 1
write(1, "  At least one option must be sp"..., 41) = 41
write(1, "\n", 1)                       = 1
exit_group(1)                           = ?

以下是我的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:1b:fc:17:e6:fd

# 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.0.131.67
nic1=
nic2=
nic3=

# dnsp(rimary) and dnss(econdary).

dnsp=10.0.90.68
dnss=202.101.224.69

# 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=(这里填上nic0和不填结果一样,都连不上)
servip=10.0.55.2(dr.com认证服务器地址,填上和不填结果一样.)
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=



请分析,谢谢.
回复 支持 反对

使用道具 举报

发表于 2007-6-15 18:23:10 | 显示全部楼层
完全沒有看到你有謮到你的配置文檔,直接就退出來了...你是否少加參數
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-6-15 20:44:05 | 显示全部楼层
你指的参数是编译时候的参数还是编译后运行时候的参数?

dromd
drcomc login
回复 支持 反对

使用道具 举报

发表于 2007-8-15 19:01:47 | 显示全部楼层
和楼主一样的问题 ……
回复 支持 反对

使用道具 举报

发表于 2007-8-16 11:05:53 | 显示全部楼层
重庆大学没问题。

南昌不知道。

建议下载最新的那个http://tel.linuxfans.org/nuke/mo ... eninfo&did=4579

修订版本。
以下网站能提供些信息。
http://www.cqumzh.cn/topic_show.php?tid=296897

我自己编译的WINE版本的DRCOM http://www.cqumzh.cn/topic_show.php?tid=333361  不推荐!因为我自己都忘记是如何步骤的了! :(

比较清晰的步骤!
在命令行下输入drcomcd启动后台的Demon(注意这一步非常重要,否则不能登录)
这个提示非常重要
http://www.cqumzh.cn/topic_show.php?tid=212345


能说的就是这么多。我已经不使用DRCOM了。

*/你应该尽量和学校网管搞好关系(有些网管是学生兼职的)
那么,可能每个月可以省去 DRCOM的费用,而且还可以获得专线上网。/*

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表