Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-28-2003, 07:22 PM
|
#1
|
LQ Newbie
Registered: Aug 2003
Distribution: Mandrake 9.0
Posts: 6
Rep:
|
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,
|
|
|
08-29-2003, 12:53 AM
|
#2
|
Member
Registered: Aug 2003
Location: Grand Rapids, MI
Distribution: Red Hat Linux
Posts: 39
Rep:
|
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
|
|
|
08-29-2003, 03:59 PM
|
#3
|
LQ Newbie
Registered: Aug 2003
Distribution: Mandrake 9.0
Posts: 6
Original Poster
Rep:
|
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
|
|
|
08-30-2003, 05:58 AM
|
#4
|
LQ Newbie
Registered: Aug 2003
Distribution: Mandrake 9.0
Posts: 6
Original Poster
Rep:
|
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??
|
|
|
All times are GMT -5. The time now is 09:34 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|