以超级用户身份登录到拨出计算机。
确保 /etc/ppp/options 文件包含以下选项。
# cat /etc/ppp/options lock nodefaultroute |
为远程计算机 CallServe 创建 /etc/ppp/peers/peer-name 文件。
# cat /etc/ppp/peers/CallServe /dev/cua/a 57600 noipdefault defaultroute idle 120 user account1 connect "chat -U 'mypassword' -f /etc/ppp/mychat" |
选项 user account1 将 account1 设置为指定给 CallServe 的 CHAP 用户名。有关以上文件中其他选项的说明,请参见如何定义与单个对等点的连接中类似的 /etc/ppp/peers/myserver 文件。
要通过呼叫拨入服务器来测试 CHAP 验证,请参阅如何呼叫拨入服务器。