QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2224|回复: 2

如何使用 drcom 上网?

[复制链接]
发表于 2006-5-11 23:53:36 | 显示全部楼层 |阅读模式
学校里面是要用drcom才能上外网的,下了个 drcomsuite-0.1.12libdrcom-0.0-20050423-2
发表于 2006-5-12 08:42:26 | 显示全部楼层
drcom在ml2中本来就有的。
回复

使用道具 举报

发表于 2006-5-12 08:52:26 | 显示全部楼层
1 编辑 /etc/drcom.conf
命令:
[code:1]su
cp /etc/drcom.conf etc/drcom.conf.bak
kate /etc/drcom.conf[/code:1]
2 每次登录的时候用如下命令:
[code:1]su
drcomcd
drcomc login[/code:1]

#********************************************************************
#一下为drcom.conf 详细解释
#有中文注释的地方需要详细填写,没有的需留白
#********************************************************************
#
#
#
[code:1]# 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=你的mac地址

# 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=你的ip地址
nic1=
nic2=
nic3=

# dnsp(rimary) and dnss(econdary).

dnsp=你的主要dns服务器
dnss=你的次要dns服务器

# 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=如果你是通过dhcp获取ip,这里填写你的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=你的认证服务器地址(就是那个你填写在drcom里面的地址)
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=[/code:1]
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-28 15:11 , Processed in 0.070103 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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