Penguin
Diff: AccessRunnerADSLModem
EditPageHistoryDiffInfoLikePages

Differences between version 13 and predecessor to the previous major change of AccessRunnerADSLModem.

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 13 Last edited on Monday, April 11, 2005 7:32:49 pm by CraigBox Revert
Older page: version 8 Last edited on Tuesday, April 20, 2004 3:30:38 am by StuartYeates Revert
@@ -8,46 +8,49 @@
  
 !! Build & Configure Modem Driver 
 ! Obtain Modem Driver Source 
  
-I orignally obtained the source for the module from the NZDSL site. It is all packaged in RPM format and if you were running Redhat with the right kernel version you might be lucky enough to get away with just installing the RPM . However for those of us on debian it takes a bit more work . I extracted the source from the RPM and built the module and the associated utilites from that
+The authoritative reference for the kernel module that you need seems to be http://patrick .spacesurfer .com/linux_conexant_pci_adsl.html the information below is a summary of this page and a refactoring of the previous information found on this wiki page
  
-You can find the source at the following location http://www .wlug.org.nz/archive/Conexant/CnxADSL-TgrATM _k2 .4.3 -6.1.2.007.tar.bz2  
+Before compiling the driver you will need to make sure your kernel is compiled with the following options .  
+| __Kernel configuration section__ | __Description__ | _ _.config Define__  
+| Networking options | Asynchronous Transfer Mode (ATM) | CONFIG_ATM  
+| Network device support | PPP (point -to-point protocol) support | CONFIG_PPP  
+| Network device support | PPP over ATM | CONFIG_PPPOATM  
  
-Apparently it is for Kernel 2.4.3 but I have successfully run it with Kernels 2.4 .19 and 2.4 .20, it does complain about unresolved symbols, however ignoring this message does not seem to break anything :) You may need to install gcc -2.95 to compile the source correctly
+You will need to download a different source package depending on the version of your kernel, but after that the process is roughly the same.  
+| Kernel 2.4 and earlier | http://patrick.spacesurfer.com/adsl/CnxADSL-6.1 .2.007-PIM-2 .tar.bz2  
+| Kernel 2.6 | http://patrick .spacesurfer.com/adsl/CnxADSL-6.1.2.007-PIM-2.6-1.1.tar.bz2  
+| Kernel 2.6.10+ patch | http ://tetzu0.homeip.net/code/CnxADSL -6.1. 2.007-PIM-2.6-1.1.patch-2.6.10 .bz2  
  
-''Has anyone had trouble compiling these drivers for the 2.4.24 kernel? --!JamesDoherty''  
-  
-Yes indeed; the ATM structures have changed slightly; get updated drivers at http://patrick .spacesurfer.com/adsl/CnxADSL- 6.1. 2.007-PIM-1 .tar .bz2 -- CraigBox  
+You need the 2.6 AND the 2 .6.10+ if you're running 2.6 .10 or higher
  
 # Extract the archive, change into the Directory 
 # make 
 # make install 
+NOTE: make install tries to install the init script into /etc/rc.d/init.d/ so you might need to edit the Makefile to point it to the correct location for your distribution (ie. for debian, etc.)  
  
-This will install some userspace tools for configuring the modem (we'll deal with these in a minute) and also the kernel module. By default the kernel module seems to be installed into  
- /lib/modules/2.4.3 -12/misc/CnxADSL.o  
-which is almost certainly not going to be in your current module path . I suggest that you copy it to  
- /lib/modules/`uname -r`/kernel/drivers/net/CnxADSL .o  
+This will install some userspace tools for configuring the modem (we'll deal with these in a minute) and also the kernel module. At this point you probably want to run  
+ depmod -ae  
+to update your module dependencies . Under 2.4.26 I get a few warnings about unresolved symbols which is slightly worrying, but everything seems to work ok
  
-That 's the driver done
+NOTE: You can 't just insmod / modprobe the driver, see the following section for how to get it to work
  
 !Configure the Driver 
-Actually getting the driver to load successfully is another story altogether. I have created a script that sits in /etc/init.d and runs on boot to configure the modem correctly. You can find this script below, but first
+Actually getting the driver to load successfully is another story altogether. 
  
 # Edit /etc/Conexant/cnxadsl.conf 
 **Change the VPI to 0 
 **Change the VCI to 100 
-**You can download my cnxadsl.conf from http://www.wlug.org.nz/archive/Conexant/cnxadsl.conf  
-# Replace the /etc/init.d/cnxadslctl that was supplied with the module with the following script http://www.wlug.org.nz/archive/Conexant/cnxadslctl  
-**This script is very similar to the original, but I have modified it to work correctly with debian. The important parts are the parameters that are passed to the module, don't ask me what they are needed for, but they are, and the call to cnxadslconfig to set the VPI and the VCI.  
-# run the script and check that it loads the module successfully.  
-# Set the script to run automatically on Startup and shutdown  
 **update-rc.d cnxadslctl start 42 S . stop 42 0 6 . 
  
 !! Configure PPPoA 
  
 The modem driver is now up and running. However before you can actually get on the internet you will need to configure PPPoA. 
  
 Setting up PPPoA in Linux is documented on the following page [LinuxPPPoA]. 
  
+!! Extra Links  
+* A comprehensive step by step guide to getting this modem working under Mandrake 9.0 - http://members.tripod.com/alord/pciadsl/pciadsl.html  
+* Driver Downloads - http://www.themad-house.co.uk/conexant/conexant-drivers.html  
 ---- 
 [CategoryHardware]