Please support VectorLinux!

Author Topic: Modem problem  (Read 1860 times)

varaahan

  • Member
  • *
  • Posts: 52
Modem problem
« on: December 03, 2007, 05:56:37 pm »
I am using GlobespanVirata SmartAX MT882 ADSL modem which has two ports - one USB and one RJ45 jack.
It works with RJ45 with rp-pppoe but I can not make it work in USB.

rbistolfi

  • Packager
  • Vectorian
  • ****
  • Posts: 2299
Re: Modem problem
« Reply #1 on: December 03, 2007, 06:11:14 pm »
You have to install the linux drivers to make it work through the usb port. Check the modem install cd or the manufacturer's web site.
"There is a concept which corrupts and upsets all others. I refer not to Evil, whose limited realm is that of ethics; I refer to the infinite."
Jorge Luis Borges, Avatars of the Tortoise.

--
Jumalauta!!

varaahan

  • Member
  • *
  • Posts: 52
Re: Modem problem
« Reply #2 on: December 05, 2007, 03:35:53 am »
The driver Cd has two directories for linux : one "inc" and another "src".
The inc has CCEther.h file and the src has CDCEther.c file.
I don't know how to use them.
There is no other tgz/rpm/bz2 files.

rbistolfi

  • Packager
  • Vectorian
  • ****
  • Posts: 2299
Re: Modem problem
« Reply #3 on: December 05, 2007, 05:52:59 am »
There is no documentation at all? One is the header and the other is the c code. Look in to the parent dirs for some doc or makefile.
« Last Edit: December 05, 2007, 06:00:21 am by rbistolfi »
"There is a concept which corrupts and upsets all others. I refer not to Evil, whose limited realm is that of ethics; I refer to the infinite."
Jorge Luis Borges, Avatars of the Tortoise.

--
Jumalauta!!

bigpaws

  • Vectorian
  • ****
  • Posts: 1868
Re: Modem problem
« Reply #4 on: December 05, 2007, 06:01:25 am »
Quote
It works with RJ45 with rp-pppoe but I can not make it work in USB.

If the RJ45 works why not use it?

Is the modem usb port detected?

Bigpaws

varaahan

  • Member
  • *
  • Posts: 52
Re: Modem problem
« Reply #5 on: December 05, 2007, 08:16:23 am »
RJ45 works well but I am curious to use the USB port.

The documentation is for windows only.
The linux driver folder has a patch file ,a portiton of the contents are as under:


"
Alpha USB CDCEther Driver Patch to Linux Kernel 2.4


The Linux kernel 2.4.19 onwards include the sources of driver for CDC

  Ethernet networking control model compliant devices.
The driver being

  provided by Alpha is modified from the sources available with

  Linux kernel 2.4.19.

Everything shown below is a directory. "+" means directory is NOT expanded and "-" means directory is expanded.



   - cdcether       /* Main directory                */

     |

     + inc        /* Driver header files            */

     |

     + src         /* Directory containing the sources   */

       

Compiling the Driver

---------------------

To compile the driver simply run make in "cdcether" directory

 

    % make



Loading the module

-------------------

To load the cdcether module enter the following command as root in directory

"cdcether"

  Syntax:

   % insmod ./CDCEther

"

But there is no CDCEther directory.

bigpaws

  • Vectorian
  • ****
  • Posts: 1868
Re: Modem problem
« Reply #6 on: December 05, 2007, 09:17:40 am »
That module is for the 2.4 kernel.

The kernel in current releases are 2.6.

The option is to download and compile the latest
2.4 kernel, then shot for the module (driver).

Next if the usb device is recognized. Then you
would probably be able to point  a pppoe client
to the device.

Bigpaws

varaahan

  • Member
  • *
  • Posts: 52
Re: Modem problem
« Reply #7 on: December 05, 2007, 05:14:52 pm »
But how to use it under the current 2.6 series kernels?

bigpaws

  • Vectorian
  • ****
  • Posts: 1868
Re: Modem problem
« Reply #8 on: December 05, 2007, 08:25:08 pm »
Check dmesg, messages, or lsusb to find the device.

Then address the device with a pppoe-client.

Bigpaws