您的位置:首页 > 运维架构 > Linux

LINUX ADSL上网设置

2009-08-25 08:59 513 查看
[/b]
[/b]
[align=left]1>[/b]查看re-pppoe是否安装,rpm -qa |grep pppoe[/b][/b][/align]
[align=left]一般linux系统会自动安装上,若无,需要在安装盘里找,名为re-pppoe-XX.i386.rpm[/b][/b][/align]
[align=left]2>[/b]设置IP地址、子网掩码、DNS。[/b][/b][/align]
[align=left] 在终端输入setup选则network configuration,设置IP地址、子网掩码、DNS。切记网关不需要设置。[/b][/b][/align]
[align=left]3>[/b]在rp-pppoe-3.5-1.i386.rpm安装完毕后,接下来就可进行PPPoE客户端配置了。过程如下。
#adsl-setup
>>> Enter your PPPoE user name: ——此处输入拨号帐号的用户名
>>> Enter the Ethernet interface connected to the ADSL modem For Solaris, this is likely to be something like /dev/hme0. For Linux, it will be ethn, where n is a number. (default eth0): ——输eth0
>>> Enter the demand value (default no): ——输no
>>> Enter the DNS information here: ——输210.52.149.2(视当地运营商的DNS服务器IP而定)
>>> Please enter your PPPoE password: ——输用户口令
>>> Please re-enter your Passwd:--确认口令
>>> Choose a type of firewall (0-2): ——输0
>>> Accept these settings and adjust configuration files (y/n)? ——输y 完成设置[/b][/b][/align]
[align=left]4> [/b]启动拨号连接
/usr/sbin/adsl-start
成功连接后,屏幕显示Connected。
此时这台linux已可以上网浏览了。[/b][/b][/align]
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  linux 职场 休闲