redhat7.1下安装adsl
软硬件环境:
Redhat Linux 7.1
阿尔卡特ADSL speed touch home modem
温州电信
Do you Need RP-PPPoE?
Before you download this software, check whether or not you really need it. If your ISP uses PPPoE, but has given you a router, you may not need a PPPoE client on your Linux box. DHCP may work fine.
However, if you have a DSL "modem" and your provider uses PPPoE, you need a PPPoE client.
Requirements
To use the PPPoE client, you need:
A Linux system with a 2.0-, 2.2- or 2.4-series kernel.
Kernel support for "packet sockets". All standard distribution kernels include this.
The pppd daemon, version 2.3.7 or later. If you are using demand-dialing, you need version 2.3.10 or later. For kernel 2.4, you need pppd 2.4.
A working Ethernet card.
ADSL service and an ADSL modem.
Download
download 最近的pppd包
ftp://cs.anu.edu.au/pub/software/ppp
Source gzipped tar file (includes GUI)
rp-pppoe-3.3.tar.gz and GPG Signature
Installing from Source (Linux)
If you downloaded the compressed tar file, type:
1.tar xvfz rp-pppoe-3.3.tar.gz
cd rp-pppoe-3.3
# If you don want the GUI
./go
# If you do want the GUI
./go-gui
2.tar xvfz ppp-2.4.1.tar.gz
cd ppp-2.4.1
./configure
make
将编译所得到可执行文件pppd后拷贝至/usr/sbin目录下
application
用命令adsl-setup设置参数,和EnterNet类似,用adsl-start连接网络,adsl-stop断开连接,adsl-stauts参看状态,当然用ifconfig也可以看当前网络的状态.
参考http://www.roaringpenguin.com/pppoe/
发布人:夏舞 来自: