Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with 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 just installed slack and the network dosent work. I tried to fix it on my own, and I have lots of information, but I cant figure out where to go next. Hopefully somebody will be able to point me in the right direction.
I have a relativly new pcmcia ethernet card for a laptop. when I boot, the lights on the network indicator go on, but 'ping 192.168.1.101' returns 'connect: Network is unreachable'.
pcnet_cs: this is an AX88190 card!
pcnet_cs: use axnet_cs instead
pcnet_cs: unable to read hardware net address for io base 0x300
I tried running 'modprobe axnet_cs' and it seemed to work, as no errors were returned, but I still cannot ping anything. I also added '/sbin/modprobe axnet_cs' to /etc/rc.d/rc.modules under the network section, but I get the same message from pcnet_cs at boot.
I read this in the axnet_cs man pages online:
"Axnet_cs is a driver for PCMCIA ethernet cards based on the Asix
AX88190 chipset. These cards are mostly NE2000 compatible but have
several bugs that are sufficiently tricky to work around that a sepa-
rate driver was deemed necessary. When this driver is bound to a card,
it allocates the next available ethernet device (eth0..eth#). This
device name will be reported in the kernel log file, and passed on to
cardmgr(8)."
So I tried running 'modprobe ne io=0x280' and also tried 280, 320, 340, and 360 as possible io addresses
I believe what I need to do is stop pcnet_cs from running at boot and start axnet_cs, but I do not know how. Please offer any suggestions you may have, or point me to a thread or website that may be helpful.
Well, what you need to do after "modprobe axnet_cs" is to configure your ethernet card. Without an IP you can't ping anything.
Use "ifconfig -a" to list all of the unconfigured ethernet devices. If this is your only ethernet card, it should be eth0. Then, if you're using DHCP on your network, run your dhcp client on eth#. (this can be any number of things: dhcpcd, pump, dhcpc, dhcp-client) Now, when you run ifconfig you should see eth# listed with an ipaddress.
If you aren't using dhcp, you'll need to specify the correct settings:
ifconfig eth# up 555.555.555.555 netmask 555.555.555.0 gw 555.555.555.1
Either way, you'll want to use your distribution's network config tool to make sure the ethernet card is setup properly all the time.
As for pcmcia-cs loading the wrong driver, apparently there are files in /etc/pcmcia/ that give card ID#'s and what driver should be loaded for that card. Back up that file (in case you buy a new card that needs the other driver) and change the entries for your card to the correct driver.
In /etc/pcmcia there is a file called config.opts, and I added a line there that says 'module "axnet_cs"' and rebooted, but still getting the same error. I dont see pcnet_cs in that file at all.
Thanks for your help
For anyone interested in what I did to solve this here it is:
I just opened up config (the c++ file) and config.opts in /etc/pcmcia and did a replace in kedit to replace any instance on pcnet_cs with axnet_cs. rebooted and the network worked. It's a bit crude, but it worked
Last edited by LinuxBlackBox; 03-08-2004 at 04:36 PM.
alright so this is the exact eror I am getting and i have no idea how to run the fix you stated below
" just opened up config (the c++ file) and config.opts in /etc/pcmcia and did a replace in kedit to replace any instance on pcnet_cs with axnet_cs. rebooted and the network worked. It's a bit crude, but it worked"
can you that down for me
I appreciate it thanks
alright i figured it out but for my own refference if i figure which card is mine and jsut edit that one is should be good right ?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.