LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-08-2004, 09:46 AM   #1
rabby
Member
 
Registered: Mar 2004
Distribution: gentoo, slackware
Posts: 41

Rep: Reputation: 15
Question pcmcia ethernet card


hallo world!

for some days i have been sitting in front of my old notebook and can not get the pcmcia ethernet card get installed and configured :-(

the card is found by slackware's cardmgr as a FEP 501 card ... on socket 1 which is correct. it should use the module pcnet_cs but lsmod tells me, pcnet_cs is running but not in use.

so, what should i do next?

thank you !


ps: ifconfig can not find the device eth0 etc :-(
 
Old 03-08-2004, 10:04 AM   #2
meldar
Member
 
Registered: Feb 2004
Location: Denmark
Distribution: Gentoo
Posts: 136

Rep: Reputation: 15
When using a wireless network card, the device wlan0 is used instead of eth0. Try typing ifconfig -a to see what it can find.
 
Old 03-08-2004, 10:09 AM   #3
rabby
Member
 
Registered: Mar 2004
Distribution: gentoo, slackware
Posts: 41

Original Poster
Rep: Reputation: 15
it is an lan card... no wireless...

Quote:
lo
link encap: local loopback
...


as i see, somebody has the same prob: http://www.linuxquestions.org/questi...hreadid=154182

without a solution !

Last edited by rabby; 03-08-2004 at 10:18 AM.
 
Old 03-08-2004, 11:35 AM   #4
meldar
Member
 
Registered: Feb 2004
Location: Denmark
Distribution: Gentoo
Posts: 136

Rep: Reputation: 15
Exactly what modules have you loaded?
 
Old 03-08-2004, 11:47 AM   #5
rabby
Member
 
Registered: Mar 2004
Distribution: gentoo, slackware
Posts: 41

Original Poster
Rep: Reputation: 15
as i see, i have loaded pcnet_cs. but axnet_cs is needed, it says...
now i changed it via rmmod and insmod... but anyway the next booting, the same error is occuring :-(

it loads against pcnet_cs instead of axnet.

how wto connect axnet_cs with it instead of pcnet_cs?
 
Old 03-09-2004, 12:16 AM   #6
meldar
Member
 
Registered: Feb 2004
Location: Denmark
Distribution: Gentoo
Posts: 136

Rep: Reputation: 15
Change it in a file like /etc/modules.autoload (depends on your distribution).
Have you loaded yenta_socket and pcmcia support?
 
Old 03-09-2004, 12:51 AM   #7
superbondbond
Member
 
Registered: Nov 2002
Posts: 668

Rep: Reputation: 30
if it loads pcnet_cs upon inserting the card, then that's probably the correct module.

try ifconfig eth0 up and then see if the card shows up. if that be the case then it's definitely the correct module.

open up /etc/pcmcia/network.opts and that's where you'll configure the card settings. It will look something like this:
Code:
case "$ADDRESS" in
*,*,*,*)
    INFO=""
    # Transceiver selection, for some cards -- see 'man ifport'
    IF_PORT=""
    # Use BOOTP (via /sbin/bootpc, or /sbin/pump)? [y/n]
    BOOTP="n"
    # Use DHCP (via /sbin/dhcpcd, /sbin/dhclient, or /sbin/pump)? [y/n]
    DHCP="n"
    # If you need to explicitly specify a hostname for DHCP requests
    DHCP_HOSTNAME=""
    # Host's IP address, netmask, network address, broadcast address
    IPADDR=""
    NETMASK=""
    NETWORK=""
    BROADCAST=""
    # Gateway address for static routing
    GATEWAY=""
    # Things to add to /etc/resolv.conf for this interface
    DOMAIN=""
    SEARCH=""
    DNS_1=""
    DNS_2=""
    DNS_3=""
    # NFS mounts, should be listed in /etc/fstab
    MOUNTS=""
    # If you need to override the interface's MTU...
    MTU=""
    # For IPX interfaces, the frame type and network number
    IPX_FRAME=""
    IPX_NETNUM=""
    # Extra stuff to do after setting up the interface
    start_fn () { return; }
    # Extra stuff to do before shutting down the interface
    stop_fn () { return; }
    # Card eject policy options
    NO_CHECK=n
    NO_FUSER=n
    ;;
esac
Just fill in the fields as needed and then it will configure those settings each time you re-insert the card. You can even set up profiles if you connect to more than one network. There's a brief explanation at the top of that file on how to do this. For all you'll need to know on this, check out the PCMCIA HOW-TO at the Linux documentation project:
http://www.ibiblio.org/pub/Linux/doc...CIA-HOWTO.html
 
Old 03-09-2004, 01:17 AM   #8
skog
Member
 
Registered: Sep 2003
Location: TX
Distribution: slackware
Posts: 301

Rep: Reputation: 30
in slackware the modules file is in /etc/rc.d/rc.modules

but for this problem check in /etc/rc.d/rc.netdevice there should be 1 uncommented line something like:
/sbin/modprobe pcnet_cs
change this to or comment that one and add a new one like:
/sbin/modprobe axnet_cs

if its not in there you need to look in /etc/modules.conf there might be a line something like
alias pcnet_cs eth0
change this to:
alias axnet_cs eth0

ok i reread your posts and i think the below info is obsolete so maybe disregard it. ill leave it incase it helps ...

do you use dhcp or a static ip?

when you plug in the ethernet card does the light come on? Does the light on the hub/router come on?

if you use a static ip try:
ifconfig eth0 <ipaddress> up

if you use dhcp try:
dhcpcd -t 10 -d eth0

if your not sure try:
ifconfig eth0 192.168.0.1 up

then do:
ifconfig
and see what it lists copy any error msgs to here you get when you try those commands too.
 
Old 03-09-2004, 01:22 AM   #9
skog
Member
 
Registered: Sep 2003
Location: TX
Distribution: slackware
Posts: 301

Rep: Reputation: 30
/quote
if it loads pcnet_cs upon inserting the card, then that's probably the correct module.
quote/

not necessarily superbondbond you can disable modules from loading in the blacklist and the plug'n play always needs help in linux it is sort of configured but cant always be trusted.
 
Old 03-09-2004, 07:57 AM   #10
superbondbond
Member
 
Registered: Nov 2002
Posts: 668

Rep: Reputation: 30
That's true, and in looking through my /etc/pcmcia/config file, I see the entry for that card:
Code:
card "FEP501 Fast Ethernet"
  version "PCMCIA", "FEP501"
  bind "axnet_cs"
So pardon my assumption
Therefore, rabby, check that your /etc/pcmcia/config file has an entry like that.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PCMCIA ethernet card czaanja Slackware 2 11-22-2004 02:18 PM
PCMCIA ethernet card Falieson *BSD 2 06-24-2003 01:04 AM
Insert scsi pcmcia card kills existing ethernet card lgetsche Linux - Hardware 0 11-12-2002 04:16 PM
Can't network pcmcia card with Intel eepro100 ethernet card. RKris Linux - Networking 1 06-18-2002 12:43 PM
pcmcia ethernet card athenerx Linux - Software 1 12-17-2001 11:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration