Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
03-08-2004, 09:46 AM
|
#1
|
Member
Registered: Mar 2004
Distribution: gentoo, slackware
Posts: 41
Rep:
|
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 :-(
|
|
|
03-08-2004, 10:04 AM
|
#2
|
Member
Registered: Feb 2004
Location: Denmark
Distribution: Gentoo
Posts: 136
Rep:
|
When using a wireless network card, the device wlan0 is used instead of eth0. Try typing ifconfig -a to see what it can find.
|
|
|
03-08-2004, 10:09 AM
|
#3
|
Member
Registered: Mar 2004
Distribution: gentoo, slackware
Posts: 41
Original Poster
Rep:
|
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.
|
|
|
03-08-2004, 11:35 AM
|
#4
|
Member
Registered: Feb 2004
Location: Denmark
Distribution: Gentoo
Posts: 136
Rep:
|
Exactly what modules have you loaded?
|
|
|
03-08-2004, 11:47 AM
|
#5
|
Member
Registered: Mar 2004
Distribution: gentoo, slackware
Posts: 41
Original Poster
Rep:
|
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?
|
|
|
03-09-2004, 12:16 AM
|
#6
|
Member
Registered: Feb 2004
Location: Denmark
Distribution: Gentoo
Posts: 136
Rep:
|
Change it in a file like /etc/modules.autoload (depends on your distribution).
Have you loaded yenta_socket and pcmcia support?
|
|
|
03-09-2004, 12:51 AM
|
#7
|
Member
Registered: Nov 2002
Posts: 668
Rep:
|
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
|
|
|
03-09-2004, 01:17 AM
|
#8
|
Member
Registered: Sep 2003
Location: TX
Distribution: slackware
Posts: 301
Rep:
|
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.
|
|
|
03-09-2004, 01:22 AM
|
#9
|
Member
Registered: Sep 2003
Location: TX
Distribution: slackware
Posts: 301
Rep:
|
/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.
|
|
|
03-09-2004, 07:57 AM
|
#10
|
Member
Registered: Nov 2002
Posts: 668
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 11:16 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|