Red Hat 通过ADSL拨号上网
来源:互联网 发布:语嫣 淘宝网总裁 编辑:程序博客网 时间:2024/05/19 02:01
问题
在电信上申请了网号和密码,想让电脑通过adsl拨号上网。电脑和网络配置如下:
网卡
eth0,eth1(与调制解调器相连)
操作系统
Red Hat Enterprise Linux Server release 5.4 (Tikanga)
上网账号
CD02887602942
密码
password
配置过程
#adsl-stop
#adsl-setup(开始配置adsl)
Welcome to the ADSL client setup. First, I will run some checks on
your system to make sure the PPPoE client is installed properly...
LOGIN NAME
Enter your Login Name (default root): CD02887602942(账号)
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): eth1(网卡)
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): no(adsl服务一直启动)
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: server(使用动态DNS服务)
PASSWORD
Please enter your Password: *****(密码)
Please re-enter your Password: ******(密码)
USERCTRL
Please enter 'yes' (three letters, lower-case.) if you want to allow
normal user to start or stop DSL connection (default yes):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): 0(关闭防火墙)
Start this connection at boot time
Do you want to start this connection at boot time?
Please enter no or yes (default no):no(不允许系统启动的时候拨号)
** Summary of what you entered **
Ethernet Interface: eth1
User name: CD02887602942
Activate-on-demand: No
DNS addresses: Supplied by ISP's server
Firewalling: NONE
User Control: yes
Accept these settings and adjust configuration files (y/n)?y(确定)
#adsl-start
#ifup eth1
#/etc/init.d/network restart
#adsl-connect
#PING www.a.shifen.com (115.239.210.26) 56(84) bytes of data.
64 bytes from 115.239.210.26: icmp_seq=1 ttl=56 time=51.7 ms
64 bytes from 115.239.210.26: icmp_seq=2 ttl=56 time=52.2 ms
说明adsl已经设置好了。以后想上网的话,终端中输入adsl-connect即可
#adsl-connect
总结
- Red Hat 通过ADSL拨号上网
- ADSL拨号上网
- 用Iptables+Red Hat Linux 9.0 做ADSL 路由器
- MAC使用技巧之苹果电脑通过ADSL拨号上网的办法
- Solaris 10 ADSL 拨号上网
- Ubuntu adsl 拨号上网
- fedora8 设置adsl拨号上网
- Ubuntu adsl 拨号上网
- ubuntu adsl 拨号上网
- ubuntu下adsl拨号上网
- 调制解调器以及ADSL拨号上网
- ubuntu adsl拨号上网
- Ubuntu下ADSL拨号上网
- ubuntu下adsl拨号上网
- ubuntu 配置 ADSL 拨号上网
- RED HAT
- RED HAT
- Red Hat
- iOS7 断了统计和追踪用户的后路
- 超级方便的linux命令手册
- 主机入侵防御系统(HIPS)分析
- 九度题目:简单计算器(1019)未AC
- Solaris服务管理
- Red Hat 通过ADSL拨号上网
- 十个数逆序输出--数组应用
- Math常用方法
- 内网多个DHCP Server无法获取到地址上网的解决办法
- 触摸的处理
- "Fatal error:Call to a member function load() on a non-object in \Abstract.php" 问题 解决!
- SIP协议详解(中文)-1
- VB中的POINTAPI
- Asset Studio Integration(改图标利器)