LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-16-2003, 10:24 AM   #1
Tickled_Pink
LQ Newbie
 
Registered: Apr 2003
Posts: 4

Rep: Reputation: 0
Setting up USB Cable Modem


I've just installed Mandrake 9.1 but am having the same problem as most people who try to install a USB Cable Modem.

I've read somewhere that I may need to activate the USB modem support in the kernel. The problem is that I can't seem to run xconfig as I keep getting a problem with permissions.

Can anyone shed some light on this for me?
 
Old 04-16-2003, 11:00 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
How are you trying to run xconfig, from the /usr/src directory and as root? Have you tried running "make menuconfig" as well to see if that works? If you can provide the exact error, it might get quicker responses.
 
Old 04-16-2003, 04:15 PM   #3
fantanas
LQ Newbie
 
Registered: Aug 2002
Location: New England (USA)
Posts: 10

Rep: Reputation: 0
First of all, yes, you need to enable USB support in the kernel. No matter how you do your kernel configuration (xoconfig, menuconfig, or whatever), you should go to the category 'USB DEVICES' and then activate "USB Communication Class Ethernet device support" (notice the "EXPERIMENTAL"). The module which communicates with the cable modem via USB is 'CEDCEther.o'.

In my case, SuSE 8.1 has misconfigured some some USB description files and the module does not load automatically. I load it manually (modprobe CDCEther). I tried the new experimental SuSE kernel, but now it loads the module 'acm', which is used by dialup USB modems and has nothing to do with cable modems (so I run a 'rmmod acm' and then 'modprobe CDCEther'). Of course, to run 'rmmod' and 'modprobe' you need to have root privileges (or have the /etc/sudoers file suitably arranged to run those commands with a 'sudo' in front of them, which will give you root privileges for those commands only).

The CDCEther driver may have some problems with buffer overruns, as I read in sourceforge. Actually, the problems may actually be with the kernels which do not support buffers large enough for this application. This problem may be solved by the 2.4.20 and newer kernels.

You must run 'make xconfig' as ROOT and from the directory '/usr/src/linux', which is soft-linked to '/usr/src/<whatever subdirectory your new kernel is in>'.

Hope all this helps.
 
Old 04-16-2003, 05:06 PM   #4
Tickled_Pink
LQ Newbie
 
Registered: Apr 2003
Posts: 4

Original Poster
Rep: Reputation: 0
Managed to get xconfig to work. In Mandrake 9.1 the 'root' user option isn't automatically available on the login screen. Only found out how to activate it by running through each of the many configuration progs.

However I notice that the USB modem option is automatically selected as a module. So now I need to figure out where to go from here.

My copy of Mandrake has the 2.4.21 kernel in case that's any use to anyone.

I'll fiddle about some more with it.
 
Old 04-16-2003, 06:13 PM   #5
fantanas
LQ Newbie
 
Registered: Aug 2002
Location: New England (USA)
Posts: 10

Rep: Reputation: 0
Having CDCEther compile as a loadable module is fine. You need to compile your kernel with this option enabled and then hook up the USB connection to the cable modem (after booting the new kernel). Run an 'lsmod' after connecting the the calbe modem to the USB port. If the module 'CDCEther' doesn't show up, you can load it up manually by 'modprobe CDCEther' (you need to have root privileges to do this).

As I described in post above, you should make sure you are not trying to load the 'acm.o' module, which is used for DIALUP USB modems. Make sure that you enable the correct drivers in the kernel as I described in my previous post above. (The 'acm.o' module may have other uses, too, as many 3G cellphones look like USB modems to the Linux kernel, but it has nothing to do with cable modems. 'CDCEther.o' is the module you need for the cable modem to connect via USB.)
 
Old 07-30-2003, 07:12 PM   #6
IbanezS
LQ Newbie
 
Registered: Jul 2003
Posts: 1

Rep: Reputation: 0
Unhappy

I have a similar problem.. I'm running Mandrake 8 and using a Motorola SB4200 Cable Modem using USB. I've tried a few things that people have told me to do (i'm a newbie) and it doesn't seem to work. When I type 'lsmod' it shows CDCEther as a module and I've also loaded it manually but it doesn't seem to work. My modem is listed as Unknown in Harddrake. I'm not sure what other info anyone would need but I'm in desperate need of help.

Last edited by IbanezS; 07-30-2003 at 07:51 PM.
 
Old 07-31-2003, 09:18 AM   #7
samwwwblack
Member
 
Registered: Apr 2003
Location: Midlands, UK
Distribution: Lapwing-Linux 2009.1
Posts: 64

Rep: Reputation: 15
IbanezS,
in an xterm window type:

ifconfig -a

This should come out with something like:

eth0: USB Cable Modem etc

This means that the CDCEther module has loaded.
Now type

ifconfig

If the modem is communicating with the internet, it should appear again, if not, as root, type:

dhcpcd

then try

ifconfig

again. Hopefully eth0 will have an IP address and internet access is available
Hope this helps, Sam
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
need help setting up usb cable modem 9,1 personal joel b SUSE / openSUSE 3 02-20-2005 07:36 AM
setting up cable modem? lance_delacroix Mandriva 3 01-27-2005 08:02 AM
Setting Up Dlink Usb Cable Modem nos_1350 Linux - Networking 2 03-24-2004 02:15 PM
USB cable modem kills usb keyboard sketi Linux - Hardware 1 02-22-2003 07:47 AM
Setting up 2 LANS that can use the internet through same cable modem Yohhan Linux - Hardware 1 01-22-2003 04:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration