View previous topic :: View next topic |
Author |
Message |
Baker n00b
Joined: 13 Oct 2003 Posts: 49
|
Posted: Sat Mar 06, 2004 6:19 am Post subject: Is configuring pcmcia really this confusing? |
|
|
I know there are about a thousand threads on the forum about pcmcia and nic cards. Ive looked through so many its driving me crazy.
My problem, like everyone else, is that I cant seem to get the pcmcia nic card to bring up eth0 on startup. I have followed this thread completely: https://forums.gentoo.org/viewtopic.php?t=26716&highlight=pcmcia+eth0
Although, the i82365 module didnt seem to want to work so im using yenta_socket. This seems to be working fine.
Like I said, at startup the nic card is unresponsive.
I then do a Code: | # insmod 3c59x
# /etc/init.d/net.eth0 start | and BAM the card is up and running.
But if I stuff 3c59x into /etc/modules.autoload/kernel2.4 it fails to load at startup.
Im almost sure of it that I am configuring something wrong somewhere.
Overall Im confused about the whole thing though. After reading so many HOWTO's and tutorials everything tells you something a little bit different. I thought that cardmgr would detect your card based on its database and automatically load the appropriate driver. If this is true why do you need insmod a driver (3c59x) in order to make the card work? Shouldnt 3c575_cb be loaded automatically when the card is inserted?
Some tell you to Code: | rc-update add net.eth0 default |
When I do this eth0 fails to load on startup. I have also tried not adding net.eth0 to rc-update, that made no difference.
cardctl ident Code: | Socket 0:
product info: "3Com Corporation", "3C575A", "Fast EtherLink XL PC Card", "001"
manfid: 0x0101, 0x5057
function: 6 <network) |
The bottom line is, I know pcmcia is working yet I cant seem to get cardmgr to work properly.
btw the card is a 3c575-TX
any help would be greatly appreciated! |
|
Back to top |
|
|
cyner n00b
Joined: 01 Mar 2004 Posts: 31 Location: Sweden
|
Posted: Sat Mar 06, 2004 1:13 pm Post subject: Re: Is configuring pcmcia really this confusing? |
|
|
Baker wrote: | But if I stuff 3c59x into /etc/modules.autoload/kernel2.4 it fails to load at startup. |
Because it can't find the NIC before it has access to PCMCIA. This is how I do it, but not during boot since I don't always want my wireless network (Orinoco) running:
Code: | modprobe ds
modprobe yenta_socket
modprobe orinoco
modprobe orinoco_cs
sleep 1 # otherwise pcmcia won't find anything
/etc/init.d/pcmcia start
/etc/init.d/net.eth0 start |
Maybe all you need to do is put your 3c59x below yenta_socket.
Baker wrote: | Im almost sure of it that I am configuring something wrong somewhere. |
Of course, otherwise it would be working.
Baker wrote: | I thought that cardmgr would detect your card based on its database and automatically load the appropriate driver. If this is true why do you need insmod a driver (3c59x) in order to make the card work? Shouldnt 3c575_cb be loaded automatically when the card is inserted? |
It doesn't work that way in Linux, unless you install some extras. And besides, why would you want it to be like that? You know what NIC you have, why should you waste CPU cycles and space with probing and selecting the correct driver? |
|
Back to top |
|
|
li1_getoo l33t
Joined: 20 Oct 2002 Posts: 661 Location: Queens , NY
|
Posted: Sat Mar 06, 2004 6:44 pm Post subject: |
|
|
baker , edit /etc/conf.d/net also
p.s. read the install docs its all there |
|
Back to top |
|
|
Baker n00b
Joined: 13 Oct 2003 Posts: 49
|
Posted: Sun Mar 07, 2004 12:23 am Post subject: |
|
|
Perfect, thanks cyner.
I placed 3c59x before yenta_socket in /etc/modules.autoload/kernel1.4. It couldnt load the module when pcmcia hadnt been loaded yet.
It works like a charm now.
li1_getoo wrote: | baker , edit /etc/conf.d/net also |
getting it set up had nothing to do with configuring /etc/conf.d/net becuase the settings were set properly to enable a static ip
One last question though....
I have read this multiple times:
"For a laptop, you probably do not want net.eth0 automatically started, since the pcmcia-cs system will start the network for you when you insert a network card."
Yet if I insert a card I have to do this manually. This isnt really a big problem I'm just wondering why. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|