系统准备:一个运转正常的Linux(这个大家都有)
硬件要求:至少一块网卡,宽带设备已经申请完毕,同时已经开通
ADSL的说明:目前市场上大概有几种ADSL设备,他们工作的方式有一些细微的差别,在此先与大家分享一下,就我所遇到的。
1。就是通过虚拟拨号来完成上网的这一过程,也就是利用pppoe设备来进行虚拟拨号的
2。叫作全向猫,就是一种加电后自动的进行拨号的工作,然后留给我们的接口是RJ45,
大连地区一般留给我们的网关都是10.0.0.2,这种设备最容易对付
3。最是直接分配给用户一个固定的IP,相对大家来说也比较容易对付
具体的操作:
1。第一种需要进行拨号:
这几种设备都是通过eth接口与计算机进行通讯的,所以先将硬件设备的连接作好,尤
其是宽带猫的,一定要确认无误(否则一会儿要不去可不算我的事情)
然后启动系统,确认系统上是否安装rp-pppoe这个软件(通过rpm -qa|grep pppoe来查
找),如没有安装的用户,在光盘里或是到网上去down一个来,安装上后,以root用户
执行adsl-setup,这样就进入了adsl的资料的设定状态,要求输入申请宽带的用户名以
及其他一些信息,确认没有问题,接受直至最后(里面都是E文,但是一看即能懂,比
较简单,有关一个防火墙的设置,我一般都不用,选0,大家可以具体考虑)。
配置完成后,以root用户执行adsl-start,这样将进行adsl的拨号工作,正常就会一下
上线,如有什么具体问题,去看一下日志(/var/log/messages)里面告诉你什么了。
停掉adsl,执行adsl-stop就可以了(很简单的)
2。另外两种比较容易对付:
全向猫:只要将你的网卡的IP设置成一个10网段的IP,然后网关指到全向猫的IP
上(10.0.0.2),基本上不有太大的问题
固定IP:就像配置本地儿的网卡一样,将IP,网关,DNS都按申请来的填写上就可以搞定了
大致写下了自已的一些过程,供大家参考,如有问题,可以在本版内讨论!


hantu 于 2009-04-21 01:00:13发表:
呵呵,第二种叫全向猫那就不太确切了,那是ADSL Modem配置了内置的路由功能,又不光全向猫有,现在很多很多的ADSL Model都有这功能,此时客户机的配置与使用另外的路由器拨号的情况相似.
huzi01033031 于 2009-04-20 23:15:05发表:
/sbin/adsl-start: line 214: 14545 Terminated $CONNECT "$@" > /dev/null 2>&1
/sbin/adsl-start: line 214: 14545 Terminated $CONNECT "$@" > /dev/null 2>&1
Connect: ppp0 <--> /dev/pts/4
CHAP authentication succeeded
LCP terminated by peer (Encryption negotiation rejected)
Modem hangup
Connection terminated.
Using interface ppp0
Connect: ppp0 <--> /dev/pts/4
CHAP authentication succeeded
LCP terminated by peer (Encryption negotiation rejected)
Modem hangup
Connection terminated.
Using interface ppp0
Connect: ppp0 <--> /dev/pts/4
CHAP authentication succeeded
LCP terminated by peer (Encryption negotiation rejected)
Modem hangup
Connection terminated.
Using interface ppp0
Connect: ppp0 <--> /dev/pts/4
CHAP authentication succeeded
LCP terminated by peer (Encryption negotiation rejected)
Modem hangup
Connection terminated.
Using interface ppp0
Connect: ppp0 <--> /dev/pts/4
CHAP authentication succeeded
LCP terminated by peer (Encryption negotiation rejected)
Modem hangup
Connection terminated.
Using interface ppp0
Connect: ppp0 <--> /dev/pts/4
CHAP authentication succeeded
LCP terminated by peer (Encryption negotiation rejected)
Modem hangup
Connection terminated.
Using interface ppp0
Connect: ppp0 <--> /dev/pts/4
CHAP authentication succeeded
LCP terminated by peer (Encryption negotiation rejected)
Modem hangup
Connection terminated.
Using interface ppp0
Connect: ppp0 <--> /dev/pts/4
CHAP authentication succeeded
LCP terminated by peer (Encryption negotiation rejected)
Modem hangup
Connection terminated.
Using interface ppp0
Connect: ppp0 <--> /dev/pts/4
CHAP authentication succeeded
LCP terminated by peer (Encryption negotiation rejected)
Modem hangup
Connection terminated.
Using interface ppp0
拨不上去呀
burning87 于 2006-11-11 22:37:22发表:
学习了支持
fengmayi1 于 2006-11-10 22:37:48发表:
很有意思呀,收藏.