I have recently installed Slitaz 3.0 on an old laptop and so far have not been able to make my eithernet adapter to work.
The card is a Linksys EtherFast PCMCIA/CardBus PC Card, Model No: PCM100
The leds on the card light up when the card is plugged in but I doubt it is really detected. Here is what I observed:
1. When I click on the network connection icon on the right bottom corner of the desktop I get: Name: eith0 Status: error 2. Then I click the button to "Configure". Under "Connections' I only see "lo" 3. The Linksys card is not listed from "lspci" command. I can only see two Card Bus bridge entries listed.
I would appreciate it very much if someone can point me to the right direction how to solve the issue.
Do I need to install certain driver for my ethernet adapter card? Since I cannot connect to internet with this laptop can I somehow download the driver using other computer and then transfer the driver to this laptop and run it? Sorry but I am new to linux.
I understand the system /etc/init.d/network.sh at startup. So I guess my question here is how to get the system to recognize my card without me manually use "modprobe" all the time...
your solution is valuable as mine, just mine is the default Slitaz one, so you don't risk to get your work overwritten when you update your system. if you are a linux newbie you are learning fast :-)
Thank you very much for the encouragement. I tried and of course your solution works perfectly.
Now that I am ready to explorer more with linux I guess I will have more questions. I will try to absorb as much as I can first and will be back when I get confused again.
In case some other newbies like me have similar issues and find this discussion, here is a summary of how this issue gets resolved, from the view of a new linux user.
The problem: ethernet adapter card is not working.
The diagnose process:
1. Since we know exactly what device we are dealing with, we used "modprobe pcnet_cs" command to probe and load device driver, pcnet_cs being the PCMCIA ethernet card driver.
2. Unfortunatly, the card still refuses to work. Apparently the linux system is not really using it properly, even though it knows how to use it as the device driver is loaded. To find out why, we run a "dmesg" command to list detais how the system loads hardware devices.
Sure enough, there is a problem. The linux device manager "udev" uses "eth1" instead of the default "eth0" for ethernet adapter. Since system setup scritps use "eth0" we need to do some modifications.
The Solution:
1. " /etc/rcS.conf " is modified by adding "pcnet_cs" to "LOAD_MODULES"
"rcS.conf" is the configuration file used by the the system initializatin script "rcS". We basically ask the system to load "pcnet.cs" at boot time.
2, "/etc/network.conf" is modifed; INTERFACE shall set to "eth1" so the network script uses "eth1" instead of the default "eth0" for setting up network.
Detailed info how the linux system boots up and load devices can be found in the Slitaz handbook. The diagnose process now makes perfect sense to me.
Your problems of udev changing eth0 -> eth1 is due to the fact that you did the install putting your hard disk in another pc. I've seen this in your other help request, i did not remember before. Udev remembers the mac address of the network card he sees and try to reassign the same name to the same mac address. So he thinks that eth0 should be the network card you had in the other pc and refuses to assign eth0 to other cards. If you want you should be able to assign eth0 to your card editing /etc/udev/rules.d/70-persistent-net.rules and changing the NAME= value and reboot (don't know how to properly restart udev, i'm not a udev expert and slitaz does not have an init script to do it) If you do so remember to put /etc/network.conf back to eth0
I keep learning from you. I find two entries inside the file "70-persistent-net.rules ". One for a pci device, which must be the onboard ethernet adapter from my other computer where I installed the system, and another pcmcia device that I currently use.
I commented out the pci one and set the pcmcia one to eth0. Now everything works properly.