如何在linux下进行ADSL拨号
作者 佚名技术
来源 Linux系统
浏览
发布时间 2012-05-04
top DSL connection (default yes): 我们看下防火墙选项.这里提供的防火墙可以给你提供基本的安全保护.我不推荐你使用— FIREWALLING Please choose the firewall rules to use. Note that these rules are very basic. You are strongly encouraged to use a more sophisticated firewall setup; however, these will provide basic security. If you are running any servers on your machine, you must choose ''NONE'' and set up firewalling yourself. Otherwise, the firewall rules will deny access to all standard servers like Web, e-mail, ftp, etc. If you are using SSH, the rules will block outgoing SSH connections which allocate a privileged source port. The firewall choices are: 0 - NONE: This script will not set any firewall rules. You are responsible for ensuring the security of your machine. You are STRONGLY recommended to use some kind of firewall rules. 1 - STANDALONE: Appropriate for a basic stand-alone web-surfing workstation 2 - MASQUERADE: Appropriate for a machine acting as an Internet gateway for a LAN Choose a type of firewall (0-2): Start this connection at boot time 是否在开机时,打开这个连接? Do you want to start this connection at boot time?** 所有的配置信息填写完成之后,系统将给出一个报告,完整的显示出你输入的配置信息.如 Summary of what you entered ** Ethernet Interface: eth0 User name: root Activate-on-demand: No DNS: Do not adjust Firewalling: NONE User Control: yes Accept these settings and adjust configuration files (y/n)? Please enter no or yes (default no): Congratulations, it should be all set up! Type ''/sbin/ifup ppp0'' to bring up your xDSL link and ''/sbin/ifdown ppp0'' to bring it down. Type ''/sbin/ADSL-status /etc/sysconfig/network-scripts/ifcfg-ppp to see the link status. 测试拨号 现在,我们需要测试下我们的拨号是否配置正确了. 输入ADSL-start拨号.一般情况下,我会ping 我的ISP的主WWW服务器.比如 ping [url]www.scmy169.com[/url] 如果不怕麻烦,打开浏览器测试下,也可以.如果一切ok.那么我们就可以结束我们的配 当然,你关闭连接的话,使用命令adsl-stop就可以了. 结束 本文结束介绍在linux操作系统中命令行模式下,进行adsl拨号的一般方法.如果 |
凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢! |
你可能对下面的文章感兴趣
关于如何在linux下进行ADSL拨号的所有评论