SlackwareThis Forum is for the discussion of Slackware Linux.
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.
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.
I have usb-adsl router and rtl8139 nic. I have loaded successfully all the drivers reqd for both (CDCEther, uhci etc for router and 8139too for nic). I can see them in lsmod.
I have loaded router driver by edting /etc/rc.d/rc.modules
by adding a line
/sbin/modprobe CDCEther
I put 2 lines in /etc/modules.conf
alias eth0 8139too
alias eth1 CDCEther
when i do
ifconfig eth0 up
i get nic up working
but when i do
ifconfig eth1 up
:unknown device or interface
why am i not getting eth1 up
it looks like my modules.conf isnt working
i dont know anything about modprobe.conf, what is it used for??
eth0: RealTek RTL8139 at 0xe03bdc00, 00:15:f2:03:80:3f, IRQ 5
eth0: Identified 8139 chip type 'RTL-8100B/8139D'
eth0: link down
I donts understand, i have a line 'alias eth1 CDCEther' in /etc/modules.conf. Linux is just noticing my eth0 and not my eth1.
Why is that? What should be your /etc/rc.d/rc.inet1.conf if u want 2 network interfaces ??
Is the module CDCether actually loaded?
If you're root on the command-line, and do a 'lsmod -r CDCether'
followed by 'lsmod CDCether' - what does dmesg look like afterwards?
yes i can see the module in lsmod. here is my output of lsmod
Module Size Used by Not tainted
ide-scsi 9392 0
8139too 13928 1
mii 2272 0 [8139too]
crc32 2880 0 [8139too]
CDCEther 11228 0 (unused)
usb-uhci 21936 0 (unused)
usbcore 59148 0 [CDCEther usb-uhci]
agpgart 45508 0 (unused)
apm 9452 1
here is output of dmesg | grep CDCEther
CDCEther.c: CDCEther.c: 0.98.6 7 Jan 2002 Brad Hards and another
usb.c: registered new driver CDCEther
it appears to me that there is no problem in loading the module. The problem appears to be in alias eth1 CDCEther thing. Thats why i doubt whether /etc/modules.conf gets executed or not?
i dont use dhcp, i have a broadband (adsl) connection which i get through the usb router (using rp-pppoe). I have not changed anything yet ( no kernel recompile etc) so its a fresh kernel. still i will check /boot/.config for that flag.
i looked in /boot/config-ide-2.4 (this file came with my slack install)but there was no such thing as CONFIG_USB_ETH
rather i found CONFIG_USB_CDCETHER=m
so, what do u think?
@w3bd3vil
Thats right, i use bsnl connection. its very easy to do it with ethernet using nic but i have a pc connected to that nic. hence i have to go for usb. Actualy i have done this before but this time , i am not getting the problem.
@tobyl
the router is from some chinese/taiwanese company Huawei or something like that. But they have given drivers for linux on a cd (its nothing but the CDCEther driver which we get from a normal install)
I dont know what options are available on your router, but why cant you connect to it wth ethernet as you say it is easy. Your other pc could be networked through the router.
I googled for another option but could only find people with the same problem as you have.
Sorry I could not be more help.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.