精华区 [关闭][返回]

当前位置:网易精华区>>讨论区精华>>电脑技术>>● Linux>>有待整理文章>>做个ADSL+LINUX软路由器(3)

主题:做个ADSL+LINUX软路由器(3)
发信人: r_hayes(Hayes)
整理人: qiaoqian(2002-05-13 06:53:32), 站内信件
Do you want the link to come up on demand, or stay up continuously? If you want it to come up on demand, enter the idle time in seconds after which the link should be dropped. If you want the link to stay up permanently, enter 'no' (two letters, lower-case.) 

  NOTE: Demand-activated links do not interact well with dynamic IP addresse  
s. You may have some problems with demand-activated links. 

  >>> Enter the demand value (default no): 

  用缺省的no就可以了。 

  Please enter the IP address of your ISP's primary DNS server. If your ISP claims that 'the server will provide DNS addresses', enter 'server' (all lower-case) here. If you just press enter, I will assume you know what you are doing and not modify your DNS setup. 

  >>> Enter the DNS information here: 

  这里填你ISP的DNS地址,成都用61.139.2.69,辅助DNS成都可用202.98.127.32 

  PASSWORD 

  >>> Please enter your PPPoE password: 

  ADSL拨号密码这个东东。 

  搞定!爽爽,用#adsl-start就可以开始拨号。如果连接成功系统会提示你:…….connect 

  用ifconfig看看。[root@localhost /root]# ifconfig 

  eth0 Link encap:Ethernet HWaddr 00:40:05:64:11:28 

  inet addr:192.168.0.254 Bcast:192.168.0.255 Mask:255.255.255.0 

  UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 

  RX packets:347573 errors:0 dropped:0 overruns:0 frame:0 

  TX packets:40194 errors:0 dropped:0 overruns:0 carrier:0 

  collisions:35 txqueuelen:100 

  Interrupt:3 Base address:0x300 

  lo Link encap:Local Loopback 

  inet addr:127.0.0.1 Mask:255.0.0.0 

  UP LOOPBACK RUNNING MTU:3924 Metric:1 

  RX packets:23 errors:0 dropped:0 overruns:0 frame:0 

  TX packets:23 errors:0 dropped:0 overruns:0 carrier:0 

  collisions:0 txqueuelen:0 

  ppp0 Link encap:Point-to-Point Protocol 

  inet addr:61.157.91.227 P-t-P:61.157.91.1 Mask:255.255.255.255 

  UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1 

  RX packets:20498 errors:0 dropped:0 overruns:0 frame:0 

  TX packets:19187 errors:0 dropped:0 overruns:0 carrier:0 

  collisions:0 txqueuelen:10 

  看见ppp0没有! 




----

                    灌灌 
                    灌灌 
                    灌灌 
                    灌灌          灌灌 
                    灌灌      灌灌灌 
    灌灌灌灌灌灌灌  灌灌  灌灌灌 
      灌灌灌灌灌灌灌灌灌灌灌灌 
                灌灌灌灌灌灌 
               灌灌灌灌灌灌灌  
              灌灌  灌灌  灌灌 
             灌灌   灌灌    灌灌 
            灌灌    灌灌      灌灌 
          灌灌      灌灌      灌灌灌 
          灌灌      灌灌        灌灌灌灌 
        灌灌        灌灌        灌灌灌灌灌 
      灌灌          灌灌          灌灌灌灌灌  
    灌灌            灌灌            灌灌 
                灌灌灌灌 
                  灌灌灌 
                    灌    

[关闭][返回]