个人工具

UsbAdslModem/AccessRunner

来自Ubuntu中文

跳转至: 导航, 搜索

UsbAdslModem/AccessRunner(使用AccessRunner在Ubuntu6.06下安装USB猫)


原文出处:未知

原文作者:未知

授权许可:创作共用协议

翻译人员:Murodoch

校对人员:

贡献者:

适用版本:Ubuntu6.06

文章状态:等待校正

This guide is for setting up a USB ADSL modem with the AccessRunner driver (Connexant AccessRunner chipsets) under Ubuntu 6.06 (Dapper Drake).

该指南将会指导你如何在Ubuntu6.06(Dapper Drake)中使用AcdessRunner驱动进行USB猫的安装。

Introduction(简要说明)

USB is far from the ideal medium for network access, if you can get your hands on an ethernet modem you may save yourself some trouble. If you have a modem that can connect both via USB and ethernet you should use the ethernet connection.

Compatible modems : Conexant ADSL modem, HAMLET 640, Conexant ADSL modem (Hasbani project), AusLinx AL-2006, Crypto F200, ACORP [email protected] USB, Amigo HMX-CA85UR-K8, Digicom Michelangelo Usb C, Origo ASU 8000, Atlantis Pocket USB ADSL Modem (A01-AU2), Atlantis I-Storm USB (A01-AU1), Trust Speedlink 235A Light System ADSL Module, Billion BIPAC-7000, Olitec ADSL modem version 2, Olitec ADSL modem version 3, Trust/Amigo Technology Co. AMX-CA86U, Zoom 5510, Draytek Vigor 318, ZyXEL 630-C1 aka OMNI ADSL USB (Annex A), ZyXEL 630-C3 aka OMNI ADSL USB (Annex B-) , Aethra Starmodem UM1020, Netopia Cayman. (Not all of these modems have been tested, to see which ones are known to work see http://accessrunner.sourceforge.net/modems.shtml)

Luckily, the drivers for the Accessrunner modems are as of Ubuntu 6.06 (Dapper) in the kernel. To use Accessrunner-based modems however, you will also have to install your modems firmware.

相对于那些使用以太网接口的猫而言,USB猫实在不是一个理想的选择。如果你能够获得使用以太网接口的猫的话那么它将给你省掉不少的麻烦。如果你的猫既可以使用以太网接口也可以通过USB接口与电脑通信,那么你应该使用以太网接口而不是USB接口。

下面列出的猫经过测试表明它们通过使用AcdessRunner能够正常地运行于Ubuntu6.06(Dapper Drake).:Conexant ADSL modem, HAMLET 640, Conexant ADSL modem (Hasbani project), AusLinx AL-2006, Crypto F200, ACORP [email protected] USB, Amigo HMX-CA85UR-K8, Digicom Michelangelo Usb C, Origo ASU 8000, Atlantis Pocket USB ADSL Modem (A01-AU2), Atlantis I-Storm USB (A01-AU1), Trust Speedlink 235A Light System ADSL Module, Billion BIPAC-7000, Olitec ADSL modem version 2, Olitec ADSL modem version 3, Trust/Amigo Technology Co. AMX-CA86U, Zoom 5510, Draytek Vigor 318, ZyXEL 630-C1 aka OMNI ADSL USB (Annex A), ZyXEL 630-C3 aka OMNI ADSL USB (Annex B-) , Aethra Starmodem UM1020, Netopia Cayman。 (虽然上面列出了很多型号的猫,但仍然有一部分没有给出,具体情况请参考 http://accessrunner.sourceforge.net/modems.shtml)

Installing Firmware(安装固件)

The firmware of a modem is like a small OS that it runs. This deals with low-level stuff that are absolutely essential to get the modem working. So, unfortunately, this step cannot be skipped. The firmware provided by Conexant is under rather restrictive terms and its redistribution is not allowed. You will therefore have to extract the firmware from the CD that came with your modem.

To begin, you need the right tool to do this. This can be obtained directly from the CVS ( http://sourceforge.net/cvs/?group_id=47406) of the Accessrunner homepage (see bottom of this page) or you can use the package that Nicholas Wheeler volunteered to create. The latter can be found here : http://revu.tauware.de/details.py?upid=2426 .

Unless you have a reason to, it's a good idea to install Nicholas' package. Under 6.06, it can be installed using Gdebi. Instructions from installing from CVS can be found on the Accessrunner homepage.

Now, to find the firmware. One way to do this quickly is to use the drivers provided by the manufacturer of your modem on their website (yes, the windows drivers). Another way is to look for them in the CD that came with the modem. In both cases, we expect the correct filename to be CnxEtU.sys. In the CD that came with my modem, the path was: /media/cdrom1/driver/Wan/CnxEtU.sys. I had a /media/cdrom1/driver/Lan/CnxEtU.sys, but the two files were identical.

猫的固件就像一个小型的操作系统,对于猫的正常工作而言它是不可或缺的。因此“安装固件”这一步对于您来说是必不可少的。猫的固件由Conexant(猫所使用的核心芯片便是由Conexant提供的)提供。该固件受到严格的版权保护,不允许在任何其他用途中使用该固件。因此您只能从随机附带的光盘里面来获得此固件。

一开始,您需要正确的工具来完成该操作。您可以直接从CVS里关于Accessrunner的主页当中获取您所需要的工具(http://sourceforge.net/cvs/?group_id=47406)(另外请参看本指南的结尾部分)或者使用由Nicholas Wheeler 提供的软件包http://revu.tauware.de/details.py?upid=2426

除非您有一个更好的理由,否则安装并使用Nichola的软件包将会是一个不错的主意。安装完成之后可以使用Gdebi。对于在CVS中的安装指南可以在Accessrunner的官方主页上找到。

接下来您所需要做的就是从猫的制造商的网站上面获取猫的驱动程序(注意,这些驱动程序是供Windows系统来使用的),另外一个途径就是检查随机附带的光盘。在上述两种途径当中,正确的文件名应该是CnxEtU.sys。如果是从随机光盘当中来获取固件的话,它的路径应该是/media/cdrom1/driver/Wan/CnxEtU.sys.

To extract the firmware:

cp /media/cdrom1/driver/Wan/CnxEtU.sys ~/ cxacrufw-extract ~/CnxEtU.sys ~/cxacru-fw.bin sudo cp ~/cxacru-fw.bin /lib/firmware

Make sure that the firmware is installed as /lib/firmware/cxacru-fw.bin or else the modem won't work.

The modem itself should be working now. Plug it in and the red light on the modem should begin to blink - it should stop a few seconds after plugging the modem in. If the red light never begins to blink, you probably did something wrong related to the firmware.

提取固件

cp /media/cdrom1/driver/Wan/CnxEtU.sys ~/ cxacrufw-extract ~/CnxEtU.sys ~/cxacru-fw.bin sudo cp ~/cxacru-fw.bin /lib/firmware

如果安装之后在/lib/firmware没有出现cxacru-fw.bin 那么您的猫将无法工作

如果安装成功,那么您的猫现在应该可以正常工作了。连接好您的猫,猫的控制面板上的红灯应该会开始闪烁。-在连接之初它将停止闪烁几秒钟。如果红灯一直不闪烁的话。那么这很可能是由固件所引起的。

Notes(注意)

The modem driver is a little bit problematic with hibernation (and maybe sleep as well). After resuming, one has to reload the driver for the modem or else the system will be very annoying to work with. To do this, after you resume do:

sudo rmmod cxacru sudo modprobe cxacru

There is an open bug about this here : http://launchpad.net/bugs/36353

当计算机处于休眠状态的时候将会引发一个小Bug。唤醒之后除非重新加载驱动,否则机器的运行速度将变得极其缓慢。

sudo rmmod cxacru sudo modprobe cxacru

下面的链接所指向的页面将包含对一个BUG的说明 http://launchpad.net/bugs/36353

See also(其他参考资料)

http://accessrunner.sourceforge.net- 此链接所指向的页面将会对AccessRunner进行详细的说明