LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 712|回复: 3

在linux下如何使用ADSL上网

[复制链接]
发表于 2007-2-28 14:49:12 | 显示全部楼层 |阅读模式
我的linux用的是Fedore,刚刚安装北京网通的ADSL却不知道怎么上网。
希望牛人给个详细解答!急
发表于 2007-2-28 15:28:29 | 显示全部楼层
在linux下就集成着一个ADSL拨号软件,打开终端,在里面输入#adsl-setup,然后进行设置:

LOGIN NAME
                                                                                
Enter your Login Name (default root):(输入你的用户名)

INTERFACE
                                                                                
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 ethX, where 'X' is a number.
(default eth0):(选择网络设备)

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
addresses.  You may have some problems with demand-activated links.
Enter the demand value (default no):(选择是按需拨号,还是持续连接)


DNS

Please enter the IP address of your ISP's primary DNS server.
If your ISP claims that 'the server will provide dynamic 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:(选择DNS,如果选择自动就输入server)

PASSWORD

Please enter your Password:
Please re-enter your Password:

USERCTRL

Please enter 'yes' (two letters, lower-case.) if you want to allow
normal user to start or stop DSL connection (default yes):(是否允许普通用户启动、关闭)

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):(选择firewall的规则,我选择0)

Start this connection at boot time

Do you want to start this connection at boot time?
Please enter no or yes (default no):(选择是否随机启动)

** Summary of what you entered **

Ethernet Interface:
User name:         
Activate-on-demand:
DNS addresses:      
Firewalling:        
User Control:      
Accept these settings and adjust configuration files (y/n)?(确认一下是否接受设置,当然选y了)
最后输入adsl-start就行了
回复 支持 反对

使用道具 举报

发表于 2007-2-28 15:40:25 | 显示全部楼层
呵呵,图形界面就不用这么麻烦了。gnome为例:system->administration>network。然后new一个新的连接,选择其中的xDSL类型。剩下的看提示就可以了。
回复 支持 反对

使用道具 举报

发表于 2007-3-1 20:05:55 | 显示全部楼层
要分析提问者所提的问题进行选择如何回答
这个问题用GUI的操作来回答效果会好得多,别人更容易看得懂
不是所有人都是用linux搞开发的
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表