LinuxQuestions.org
Visit Jeremy's Blog.
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 08-28-2003, 07:22 PM   #1
pabdom
LQ Newbie
 
Registered: Aug 2003
Distribution: Mandrake 9.0
Posts: 6

Rep: Reputation: 0
configuring network


Hello !!
I have a big problem. I want to use Networking Ethernet Adapter through USB. I know that it uses CDC Ethernet NEtworking Control Model.
My linux is Mandralke 9.0 (kernel 2.4.19)

I load the modules usbcore and usb-uhci, before I plug the device.

It appears the device in /proc/bus/usb/devices.

My problem is that when I do
ifconfig eth0 10.0.0.1
it happens an error (unknown interface eth0)
What is my mistake?
Have I forgoten some previous stage in the Network configuration ??
Must I load another modules?
Please, I need your help.
Thanks,
 
Old 08-29-2003, 12:53 AM   #2
lunardreamr
Member
 
Registered: Aug 2003
Location: Grand Rapids, MI
Distribution: Red Hat Linux
Posts: 39

Rep: Reputation: 15
Well, it could be that your network isn't started - small chance on that. Or it could be that your USB ethernet adapter isn't called eth0. WiFi adapters for example aren't called eth0 or eth1, but rather, wlan0 or wlan1. So your adapter might be called usb0 or usb1 or something like that.

So, we might need a little more info to help you out.

Restart your network which should be a command like

$ /etc/rc.d/init.d/network restart

And then type: ifconfig and copy/paste that for us to check out your configuration.

Thanks
 
Old 08-29-2003, 03:59 PM   #3
pabdom
LQ Newbie
 
Registered: Aug 2003
Distribution: Mandrake 9.0
Posts: 6

Original Poster
Rep: Reputation: 0
Re configure network

Thank you very much.

I have new information about the problem about USB. My device must use CDC Ethernet Control Model.

When I plug the device I can't use ifconfig eth0 due to the following:
If I don't load CDCEther at first (modprobe CDCEther), when I plug and put dmesg I get
the following:

hub.c: USB new device connect on bus1/2, assigned device number 4
usb.c: USB device 4 (vend/prod 0x58b/0x4) is not claimed by any active driver.
usb.c: registered new driver acm
acm.c: v0.21:USB Abstract Control Model driver for USB modems and ISDN adapters

If I load CDCEther before I plug, I obtain (since I put modprobe CDCEther)

CDCEther.c: CDCEther.c: 0.98.6 7 Jan 2002 Brad Hards and another
usb.c: registered new driver CDCEther
hub.c: USB new device connect on bus1/2, assigned device number 5
CDCEther.c: Imperfect filtering support - need sw hashing
CDCEther.c: Not all required functional descriptors present 0x00000003.
CDCEther.c: No ethernet information found.
CDCEther.c: No ethernet information found.
usb.c: USB device 5 (vend/prod 0x58b/0x4) is not claimed by any active driver.
usb.c: registered new driver acm
CDCEther.c: Imperfect filtering support - need sw hashing
CDCEther.c: Not all required functional descriptors present 0x00000003.
CDCEther.c: No ethernet information found.
CDCEther.c: No ethernet information found.
acm.c: v0.21:USB Abstract Control Model driver for USB modems and ISDN adapters

If I use uhci instead of usb-uhci it happens exactly the same.

I don't know why the kernel load acm instead of CDCEther, because I use Networking Ethernet Control model.

What is happening??
Thanks very much again for your help.

Pablo
 
Old 08-30-2003, 05:58 AM   #4
pabdom
LQ Newbie
 
Registered: Aug 2003
Distribution: Mandrake 9.0
Posts: 6

Original Poster
Rep: Reputation: 0
Smile RE configuring network OK

I have already solved the problem. It was about descriptors, and CDCEther didn't load correctly. Now, all ok.

When I use

ifconfig eth0 10.0.0.1

I can do pings. But I would like change the multicast filters, and receive statics. How can I obtain this??
 
  


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 configuring the network netcat Slackware 5 07-09-2005 08:44 AM
Configuring the network wwedd Linux - Newbie 1 03-14-2004 05:25 PM
Configuring Network Kensai cAos 8 03-14-2004 12:11 PM
Configuring Network in Console intl99 Mandriva 2 03-12-2004 01:19 PM
Configuring Network MrJBot Linux - Newbie 2 10-21-2003 10:28 PM

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

All times are GMT -5. The time now is 09:34 PM.

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
Open Source Consulting | Domain Registration