在红旗Linux6.0下怎样配置adsl宽带拨号的方法呢?
举个例子:
网关是10.1.1.1,掩码255.0.0.0 .
一:打开红旗Linux6.0终端,输入adsl-setup
Welcome to the ADSL client setup. First, I will run some checks on
your system to make sure the PPPoE client is installed properly…
二: Enter your PPPoE user name :
输入adsl帐号
三: 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):
只有一张网卡,直接回车即可.
四: Enter the demand value (default no):
直接回车
五:Enter the DNS information here:
输入server,拨号时会自动获取DNS的ip
六: Choose a type of firewall (0-2):
是否使用防火墙, 输入 0 ,不用
七: Accept these settings and adjust configuration files (y/n)?
输入y,确认配置正确.输入n则重新配置.
八:在红旗Linux6.0终端执行adsl-start 进行拨号
adsl-stop停止拨号
adsl-status查看当前状态
adsl-status 如下:
adsl-status: Link is up and running on interface ppp0
ppp0 Link encaptongue sticking out smileyoint-to-Point Protocol
inet addr:220.168.119.64 P-t-P:220.168.116.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:910 errors:0 dropped:0 overruns:0 frame:0
TX packets:849 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:352606 (344.3 Kicool smiley TX bytes:61187 (59.7 Kicool smiley