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've been using Slackware for a while now, but when it comes to PCMCIA and network cards it acts kinda weird to me. For the sake of my sanity, I decided to install Slackware 8.1 at work. I'm dual booting with Win2K on a Gateway Profile 3Se computer. Anyways, this computer came equiped with a PCMCIA slot in which we're using an IBM Token Ring card. The Profile has an integrated 100Mbit Ethernet card, but is not in used. We're mainly Token Ring, for now. During setup, Slackware found the integrated NIC, but failed to mention the PCMCIA TR card. During bootup, I watched closely and the kernel is recognizing the PCMCIA slots. So I decided to /sbin/modprobe ibmtr_cs which worked fine. So I added that command to /etc/rc.d/rc.netdevice. But I think something else needs to be done, here to make sure Slackware uses the TR card instead of the Ethernet card. I don't want to disable what's already in place for the Ethernet card. I would like to add the TR card as a secondary NIC. Basically, Slackware should probe both of them at boottime, should do nothing for the Ethernet card, but should grab an IP address for the TR card. Does this make sense?
then the Ethernet card shows up when I do ifconfig by itself.
So, I figured the command:
ifconfig eth1 up
would get my token ring card up and running.
By your post, I can tell it was not going to work anyways because I needed that alias in modules.conf. Well, I was searching thru every single network related configuration file I could think of. I knew about the alias command, just didn't know where it's supposed to go. I take it eth0 does not need an alias as Slackware will use the first available NIC and assign it eth0. For any subsequent NICs, then an alias line has to be written to modules.conf. Correct?
Thanks for your reply. I'm gonna boot back into Slackware right now.
it is done by ifconfig, you need to enter in the info for the device manually or with dhcp
this will prompt you for some info and configure it for you
Code:
netconfig
however if this has failed I would go ahead and set it up by using modules.config and ifconfig
normally slack does not even have the alias in the modules.conf file. At least on mine it's not there. Instead it just uses rc.netdevice to load the module.
so there is no need for the alias
the alias in modules.conf tells the system what module to load for eth?
Last edited by DavidPhillips; 12-30-2002 at 07:06 PM.
I figured that will take care of running dhcpc on eth1, but I get this message during the boot process:
Attempting to configure eth1 by contacting a DHCP server...
modprobe: modprobe: Can't locate module eth1
dhcpcd[58]: dhcpStart: ioctl SIOCGIFHWADDR: No such device
I went thru the Slackware site and couldnt find anything about enabling a second NIC.
Ok, disregard the post I made just before this one. I had put the line inside /etc/modules not /etc/modules.conf.
Here's what I got after I added the line to the correct file:
Attempting to configure eth1 by contacting a DHCP server...
insmod: Warning: loading /lib/modules/2.4.18/pcmcia/ibmtr_cs.o.gz will
taint the kernel: no license
insmod: See http://www.tux.org/lkml/#s1-18 for information about tainted
modules
insmod: Module ibmtr_cs loaded, with warnings
dhcpcd[57]: dhcpStart: ioctl SIOCGIFHWADDR: No such device
This last message looks a little more promising, dont you think?
netconfig's probe found the Ethernet card but failed to find the PCMCIA NIC card. This machine is a desktop all-in-one PC with laptop technology like the PCMCIA slot where my IBM TR card is plugged into.
Operation: Slackware on Gateway Profile 3SE terminated!
Thanks for your help on this, tho. I'm going to wait until we implement Ethernet on our network and install Slackware back into office computer.
Anyhow, I went ahead and downloaded/installed the PCMCIA package, but it still could not identify my token ring card. Oh well! It was quite the learning experience tinkering with Linux and trying to get that card to work.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.