ubuntu5.10下安装Conexant ADSL USB Modem成功一例
发表于 : 2005-12-03 1:31
ubuntu5.10下安装Conexant ADSL USB Modem成功一例
我用的是Ubuntu5.10最小化安装,然后下载2.6.14.2内核源文件,此内核中已有Conexant USB ADSL Modem 的驱动,无需另外下载。
我的是“万利达魔电MAU-201” USB接口的ADSL Modem,Conexant芯片,封装模式是PPP over Ethernet LLCSNAP(RFC2516)。
由于我只是个初学者,所以不能提供更详尽的信息。以下只是记录了我的安装过程,仅供大家参考。
(注:# 号后的是终端的命令)
(一) 首先下载以下文件:
2.6.14.2内核源文件
http://www.kernel.org/
cxacru-fw
在http://cvs.sourceforge.net/viewcvs.py/a ... ner/utils/中下载所有四个文件,保存在一个文件夹下(也可从附件中下载)
在Windows下查找CnxEtU.sys拷贝到cxacru-fw相同目录
在http://packages.ubuntu.com中搜索并下载以下包
libncurses5-dev,br2684ctl
rp-pppoe
http://www.roaringpenguin.com/penguin/o ... -pppoe.php
(也可从附件中下载)
重启进入Ubuntu
(二) 生成firmware
在cxacru-fw目录下编译生成cxacru-fw,然后
# ./cxacru-fw CnxEtU.sys cxacru-fw.bin
拷贝cxacru-fw.bin到/lib/hotplug/firmware或/lib/firmware下
# cp cxacru-fw.bin /lib/hotplug/firmware
(三) 编译内核
安装libncurses5-dev以便用菜单配置内核
解压内核后,接下来配置内核
使用默认内核配置选项
# make defconfig
# make menuconfig
我的部分配置如下:
Code maturity level options --->
[*] Prompt for development and/or incomplete code/drivers
Bus options --->
PCI access mode(Any)
[*] PCI Express support
[M] PCI Express Hotplug driver
[*] Use polling mechanism for hot-plug events
[*] Legacy /proc/pci interface
PCI Hotplug Support --->
[M] Support for PCI Hotplug
[*] Use polling mechanism for hot-plug events
Networking optings --->
[*] Packet socket
[*] Unix domain sockets
[*] TCP/IP sockets
[*] IP:multicasting
[M] Asynchronous Transfer Mode (ATM)
[M] classical IP over ATM
[M] LAN Emulation support
[M] Multi-protocol over ATM support
[M] RFC1483/2684 Bridged protocols
Device Drivers --->
Generic Driver Options --->
全选
Plug and Play support --->
[*] Plug and Play BIOS support
[*] Plug and Play BIOS /proc interface
Network device support --->
ATM drivers --->
[M] ATM over TCP
[M] PPP support
[M] PPP over Ethernet
[M] PPP over ATM
[*] PPP multilink support
USB support --->
[*] Support for Host-side USB
[*] USB device filesystem
USB DSL modem support --->
[M] USB DSL modem support
[M] Speedtouch USB support
[M] Conexant AccessRunner USB support
[M] Other USB DSL modem support
退出保存,然后编译
# make
# make install
# make modules_install
配置grub加入新内核,重启选择新内核,启动后Modem的Link灯开始闪烁,常亮后进行下一步。
(四) 安装br2684ctl(用来虚拟出网络设备nas0)
# dpkg -i br2684_20040226-1_i386.deb
执行
# br2684ctl -b -c 0 -a 8.81
其中8.81为VPI和VCI,根据自己的配置填写,可在Windows下获得。
显示:
# Interface "nas0" created sucessfully
# Communicating over ATM 0.8.81,encapsulation:LLC
# Interface configured
如上显示表示成功。
(五) 安装adsl拨号软件
解压缩rp-pppoe3.5
# cd rp-pppoe-3.5
# ./go
根据提示填写以下内容:
username: ADSL帐号
interface: 这里填nas0
demand value: 直接回车
DNS: 填server
password: ADSL密码
firewall: 选1
最后保存
(六)现在已经可以拨号了
# adsl-start
如果显示Connected表示连接成功。现在就可以上网了,断开连接用adsl-stop,查看连接状态用adsl-status。
此时用ifconfig -a命令会显示nas0和ppp0的相关信息。
我用的是Ubuntu5.10最小化安装,然后下载2.6.14.2内核源文件,此内核中已有Conexant USB ADSL Modem 的驱动,无需另外下载。
我的是“万利达魔电MAU-201” USB接口的ADSL Modem,Conexant芯片,封装模式是PPP over Ethernet LLCSNAP(RFC2516)。
由于我只是个初学者,所以不能提供更详尽的信息。以下只是记录了我的安装过程,仅供大家参考。
(注:# 号后的是终端的命令)
(一) 首先下载以下文件:
2.6.14.2内核源文件
http://www.kernel.org/
cxacru-fw
在http://cvs.sourceforge.net/viewcvs.py/a ... ner/utils/中下载所有四个文件,保存在一个文件夹下(也可从附件中下载)
在Windows下查找CnxEtU.sys拷贝到cxacru-fw相同目录
在http://packages.ubuntu.com中搜索并下载以下包
libncurses5-dev,br2684ctl
rp-pppoe
http://www.roaringpenguin.com/penguin/o ... -pppoe.php
(也可从附件中下载)
重启进入Ubuntu
(二) 生成firmware
在cxacru-fw目录下编译生成cxacru-fw,然后
# ./cxacru-fw CnxEtU.sys cxacru-fw.bin
拷贝cxacru-fw.bin到/lib/hotplug/firmware或/lib/firmware下
# cp cxacru-fw.bin /lib/hotplug/firmware
(三) 编译内核
安装libncurses5-dev以便用菜单配置内核
解压内核后,接下来配置内核
使用默认内核配置选项
# make defconfig
# make menuconfig
我的部分配置如下:
Code maturity level options --->
[*] Prompt for development and/or incomplete code/drivers
Bus options --->
PCI access mode(Any)
[*] PCI Express support
[M] PCI Express Hotplug driver
[*] Use polling mechanism for hot-plug events
[*] Legacy /proc/pci interface
PCI Hotplug Support --->
[M] Support for PCI Hotplug
[*] Use polling mechanism for hot-plug events
Networking optings --->
[*] Packet socket
[*] Unix domain sockets
[*] TCP/IP sockets
[*] IP:multicasting
[M] Asynchronous Transfer Mode (ATM)
[M] classical IP over ATM
[M] LAN Emulation support
[M] Multi-protocol over ATM support
[M] RFC1483/2684 Bridged protocols
Device Drivers --->
Generic Driver Options --->
全选
Plug and Play support --->
[*] Plug and Play BIOS support
[*] Plug and Play BIOS /proc interface
Network device support --->
ATM drivers --->
[M] ATM over TCP
[M] PPP support
[M] PPP over Ethernet
[M] PPP over ATM
[*] PPP multilink support
USB support --->
[*] Support for Host-side USB
[*] USB device filesystem
USB DSL modem support --->
[M] USB DSL modem support
[M] Speedtouch USB support
[M] Conexant AccessRunner USB support
[M] Other USB DSL modem support
退出保存,然后编译
# make
# make install
# make modules_install
配置grub加入新内核,重启选择新内核,启动后Modem的Link灯开始闪烁,常亮后进行下一步。
(四) 安装br2684ctl(用来虚拟出网络设备nas0)
# dpkg -i br2684_20040226-1_i386.deb
执行
# br2684ctl -b -c 0 -a 8.81
其中8.81为VPI和VCI,根据自己的配置填写,可在Windows下获得。
显示:
# Interface "nas0" created sucessfully
# Communicating over ATM 0.8.81,encapsulation:LLC
# Interface configured
如上显示表示成功。
(五) 安装adsl拨号软件
解压缩rp-pppoe3.5
# cd rp-pppoe-3.5
# ./go
根据提示填写以下内容:
username: ADSL帐号
interface: 这里填nas0
demand value: 直接回车
DNS: 填server
password: ADSL密码
firewall: 选1
最后保存
(六)现在已经可以拨号了
# adsl-start
如果显示Connected表示连接成功。现在就可以上网了,断开连接用adsl-stop,查看连接状态用adsl-status。
此时用ifconfig -a命令会显示nas0和ppp0的相关信息。