当前位置: 技术问答>linux和unix
如何在RH9下配置USB ADSL MODEM上网?
来源: 互联网 发布时间:2015-04-02
本文导语: 如何配置呢?kppp? 我试过adsl-setup,不行。因为USB ADSL MODEM的设备是/dev/usb/ttyACM0,而不是一般的eth0。而且我这边要求使用pppoa,而不是pppoe。怎么办?大家帮帮忙吧! | 还在用修改配制文件...
如何配置呢?kppp?
我试过adsl-setup,不行。因为USB ADSL MODEM的设备是/dev/usb/ttyACM0,而不是一般的eth0。而且我这边要求使用pppoa,而不是pppoe。怎么办?大家帮帮忙吧!
我试过adsl-setup,不行。因为USB ADSL MODEM的设备是/dev/usb/ttyACM0,而不是一般的eth0。而且我这边要求使用pppoa,而不是pppoe。怎么办?大家帮帮忙吧!
|
还在用修改配制文件的方法??太落伍了吧.http://www.roaringpenguin.com/下载GUI方式的拨号软件其他的不用管了.
|
在KDE桌面环境下保证系统能够正常认识到网卡,REDHAT自身带有PPPOE的功能但是设置很麻烦,不符合大家的需求,现在的人要求简单.LINUX的程序员从来都不为用户去考虑.给你个软件他可以在桌面下拨号,设置很简单,和在WINDOWS下拨号一样.但是在新建连接的时候填用户名的时候有点要注意的,WINDOWS下的用户名是XXXXXXX@ADSL,@后面的ADSL是域名,记住在这个软件里有个单独填域名的地方,所以填用户的时候只要填@前面的部分就可以了http://www.roaringpenguin.com/这个站点有需要的软件到DOWNLOAD栏目下,找到RPM包记得要下载GUI的.
|
这个比较复杂,看品牌和机器配置
|
靠,好多分呀,先占个位置,去查查资料,把分都骗过来,^_^
|
想分可惜无力,学习ing!!!
|
http://www.linuxeden.com/download/softdetail.php?softid=818
找了半天只找到这一个,我没有ADSL楼主自己试试吧
找了半天只找到这一个,我没有ADSL楼主自己试试吧
|
先把USB驱动安装上,然后再设置DSL上网,另外看一下网卡是否激活!!
|
另外,到LINUX版里搜索精华和FAQ一下吧!!不过现在好象是很多让新版主给删除了,
|
老大,你好啊!
帮你UP吧
帮你UP吧
|
RH9有一个联网向导,可能在控制面板中,记不清楚了
另外,提供你的设备型号
另外,提供你的设备型号
|
www.adsl4u.net
|
PPPoA不是动态拨号的,是固定IP的专线么?
|
你的内存真好,羡慕
如果是专线,就麻烦了
建议增加网卡,改网卡连接的Modem,这个专线在linux下坐起来很简单
如果是专线,就麻烦了
建议增加网卡,改网卡连接的Modem,这个专线在linux下坐起来很简单
|
关键在协议PPPoA似乎...
|
为什么要求使用pppoa,而不是pppoe,不能换换吗
|
系统工具 ,互联网配置向导 中增加一个xDSL的虚拟设备,然后激活试试
|
如果不行的话,去看看这个网站 ,I 'm SURE that is you need
http://www.sfgoth.com/~mitch/linux/atm/pppoatm/
http://www.sfgoth.com/~mitch/linux/atm/pppoatm/
|
看看这个有用否??
记得搞定后写过报告给大家共享哦!!
PC上配置PPPoA
Set IP addressing to automatically obtain an IP address.
Set WINS to use DHCP for WINS resolution.
Ensure that no default gateway is set.
It may be necessary to set a domain name because DHCP cannot pass
this information
Cisco CPE Configuration for PPPoA
cbos>enable
Password:
cbos# set nat enable
NAT is now enabled
You must use "write" then reboot for changes to take effect.
cbos# set ppp wan0-0 login
User name for wan0-0 has been set to testcpe.
cbos# set ppp wan0-0 password
Password for wan0-0 has been set to cisco.
cbos# set ppp wan0-0 ipcp 0.0.0.0
PPP wan0-0 IPCP Address set to 0.0.0.0
cbos# set int wan0-0 close
cbos# set int wan0-0 vpi 1
cbos# set int wan0-0 vci 32
cbos# set int wan0-0 open
cbos# set int eth0 address 172.22.10.254
eth0 ip address changed from 10.0.0.1 to 172.22.10.254
cbos# set int eth0 netmask 255.255.255.0
eth0 netmask changed from 255.255.255.0 to 255.255.255.0
cbos# set dhcp server enable
DHCP Server enabled
cbos# set dhcp server pool 0 ip 172.22.10.0
Pool 0 IP parameter is now 172.22.10.0
cbos# set dhcp server pool 0 netmask 255.255.255.0
Pool 0 netmask parameter is now 255.255.255.0
cbos# set dhcp server pool 0 gateway 172.22.10.254
Pool 0 gateway parameter is now 172.22.10.254
cbos# set password exec
Exec Password Change Successful!
cbos# set password enable
Enable Password Change Successful!
cbos# write
NVRAM written.
Cisco DSLAM Configuration for PPPoA
hostname 6260
! Subtending Port - Will set as shutdown
interface atm0/2
shutdown
slot 1 atuc-1-4dmt
!
dsl-profile fast
dmt codeword-size downstream 16 upstream 16
dmt bitrate maximum interleaved downstream 8032 upstream 832
!
interface atm1/1
dsl profile fast
atm pvc 1 32 interface atm0/1 1 35
Cisco LS1010 Configuration for PPPoA
interface ATM 0/1/2
no ip address
no ip directed-broadcast
no ATM ilmi-keepalive
ATM pvp 1 interface ATM 0/0/2 1
Cisco 7200 Configuration for PPPoA
aaa new-model
AAA authentication ppp default local
!
!
username password
!
!
interface ATM 2/0.1 multipoint
no ip directed-broadcast
PVC 1/35
encapsulation aal5mux ppp Virtual-Template 2
!
!
interface FastEthernet 4/0
ip address 172.22.32.1 255.255.255.0
no ip directed-broadcast
!
!
interface Virtual-Template 2
ip unnumbered FastEthernet 4/0
no ip directed-broadcast
peer default ip address pool
ppp authentication pap
!
!
ip local pool 172.22.40.10 172.22.40.25
记得搞定后写过报告给大家共享哦!!
PC上配置PPPoA
Set IP addressing to automatically obtain an IP address.
Set WINS to use DHCP for WINS resolution.
Ensure that no default gateway is set.
It may be necessary to set a domain name because DHCP cannot pass
this information
Cisco CPE Configuration for PPPoA
cbos>enable
Password:
cbos# set nat enable
NAT is now enabled
You must use "write" then reboot for changes to take effect.
cbos# set ppp wan0-0 login
User name for wan0-0 has been set to testcpe.
cbos# set ppp wan0-0 password
Password for wan0-0 has been set to cisco.
cbos# set ppp wan0-0 ipcp 0.0.0.0
PPP wan0-0 IPCP Address set to 0.0.0.0
cbos# set int wan0-0 close
cbos# set int wan0-0 vpi 1
cbos# set int wan0-0 vci 32
cbos# set int wan0-0 open
cbos# set int eth0 address 172.22.10.254
eth0 ip address changed from 10.0.0.1 to 172.22.10.254
cbos# set int eth0 netmask 255.255.255.0
eth0 netmask changed from 255.255.255.0 to 255.255.255.0
cbos# set dhcp server enable
DHCP Server enabled
cbos# set dhcp server pool 0 ip 172.22.10.0
Pool 0 IP parameter is now 172.22.10.0
cbos# set dhcp server pool 0 netmask 255.255.255.0
Pool 0 netmask parameter is now 255.255.255.0
cbos# set dhcp server pool 0 gateway 172.22.10.254
Pool 0 gateway parameter is now 172.22.10.254
cbos# set password exec
Exec Password Change Successful!
cbos# set password enable
Enable Password Change Successful!
cbos# write
NVRAM written.
Cisco DSLAM Configuration for PPPoA
hostname 6260
! Subtending Port - Will set as shutdown
interface atm0/2
shutdown
slot 1 atuc-1-4dmt
!
dsl-profile fast
dmt codeword-size downstream 16 upstream 16
dmt bitrate maximum interleaved downstream 8032 upstream 832
!
interface atm1/1
dsl profile fast
atm pvc 1 32 interface atm0/1 1 35
Cisco LS1010 Configuration for PPPoA
interface ATM 0/1/2
no ip address
no ip directed-broadcast
no ATM ilmi-keepalive
ATM pvp 1 interface ATM 0/0/2 1
Cisco 7200 Configuration for PPPoA
aaa new-model
AAA authentication ppp default local
!
!
username password
!
!
interface ATM 2/0.1 multipoint
no ip directed-broadcast
PVC 1/35
encapsulation aal5mux ppp Virtual-Template 2
!
!
interface FastEthernet 4/0
ip address 172.22.32.1 255.255.255.0
no ip directed-broadcast
!
!
interface Virtual-Template 2
ip unnumbered FastEthernet 4/0
no ip directed-broadcast
peer default ip address pool
ppp authentication pap
!
!
ip local pool 172.22.40.10 172.22.40.25