- 论坛徽章:
- 0
|
[root@lilei network-scripts]# cat ifcfg-eth0
# VIA Technologies, Inc. VT6102 [Rhine-II]
DEVICE=eth0
BOOTPROTO=none
HWADDR=00:50:8D:61:F1:78
ONBOOT=yes
DHCP_HOSTNAME=lilei
TYPE=Ethernet
USERCTL=no
IPV6INIT=no
PEERDNS=yes
IPADDR=192.168.1.2
NETMASK=255.255.255.0
[root@lilei ppp]# cat pap-secrets
# Secrets for authentication using PAP
# client server secret IP addresses
"lfaz030838" * "这里是8位数字密码"
####### redhat-config-network will overwrite this part!!! (begin) ##########
"lfaz030838" "wangtong" "这里是8位数字密码"
"lfaz030838" * "这里是8位数字密码"
####### redhat-config-network will overwrite this part!!! (end) ############
[root@lilei ppp]# cat /etc/ppp/chap-secrets
# Secrets for authentication using CHAP
# client server secret IP addresses
"lfaz030838" * "这里是8位数字密码"
####### redhat-config-network will overwrite this part!!! (begin) ##########
"lfaz030838" "wangtong" "这里是8位数字密码"
"lfaz030838" * "这里是8位数字密码"
####### redhat-config-network will overwrite this part!!! (end) ############
[root@lilei ppp]# cat options
lock
备注:wangtong 是我填写的ISP名字,这个名字应该无所谓吧。相当于WIN下的拨号连接的名字。 |
|