View previous topic :: View next topic |
Author |
Message |
silex n00b
Joined: 30 Dec 2002 Posts: 61
|
Posted: Wed Jan 01, 2003 6:23 pm Post subject: Wireless Lan without pcmcia-cs? |
|
|
Does anybody get the Wireless lan PC card to work without pcmcia-cs? Since there's already support for PCMCIA and Wireless LAN in the Kernel, what's the good using pcmcia-cs?
I have a Orinoco silver card by Lucent, but I cannot get it to work, neither by the kernel driver nor pcmcia-cs. The card works fine in windows.
And a question about the post that seems to work for other people.
https://forums.gentoo.org/viewtopic.php?t=26716
Quote: |
Since we're using pcmcia-cs, we don't need the kernel's specific pcmcia modules, so make sure they're deselected:
Code:
General setup --->
PCMCIA/CardBus support --->
< > PCMCIA/CardBus support
|
and
Quote: |
Code:
# /etc/modules.autoload: kernel modules to load when system boots.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/modules.autoload,v 1.5 2002/$
#
# Add the names of modules that you'd like to load when the system
# starts into this file, one per line. Comments begin with a # and
# are ignored. Read man modules.autoload for additional details
# For example:
# 3c59x
# Here we'll put our relevant pcmcia modules
i82365
ds
|
I think the author means to load the i82365 and ds modules. But i82365 is in the sub-level of PCMCIA/CardBus support in the kernel configuration, so if I deselect PCMCIA, I can no longer select i82365 as a module. So of course it will not be found on boot. (and I don't know where "ds" is, it cannot be found too. )
Could anyone help me? Thanks a lot!! |
|
Back to top |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Wed Jan 01, 2003 6:28 pm Post subject: |
|
|
Build PCMCIA support as a module (producing pcmcia_core.o and ds.o) as well as the required host bridge. Then, build support for your wireless card as a module as well (be sure to get orinoco_cs.o), update your configuration, and you'll be set. _________________ I don't believe in witty sigs. |
|
Back to top |
|
|
silex n00b
Joined: 30 Dec 2002 Posts: 61
|
Posted: Wed Jan 01, 2003 8:27 pm Post subject: |
|
|
delta407 wrote: | Build PCMCIA support as a module (producing pcmcia_core.o and ds.o) as well as the required host bridge. Then, build support for your wireless card as a module as well (be sure to get orinoco_cs.o), update your configuration, and you'll be set. |
Thanks, I've did this now ..... But I would be grateful if you could give some more detailed instructions on configuration. I did this:
Code: | /etc/init.d/pcmcia start
modprobe orinoco |
But when I plug in the card. The light on it does not even flash.
Sorry this question may be very elementary. |
|
Back to top |
|
|
oniq Guru
Joined: 02 Sep 2002 Posts: 597 Location: Connecticut
|
Posted: Wed Jan 01, 2003 9:40 pm Post subject: |
|
|
Do you hear any beeps? Two high pitched beeps means that your card works and a driver was recognized. Check out your dmesg after you put it in.. _________________ open like a child's mind. |
|
Back to top |
|
|
silex n00b
Joined: 30 Dec 2002 Posts: 61
|
Posted: Wed Jan 01, 2003 11:43 pm Post subject: |
|
|
I cannot here any beep, and found this in dmesg:
Quote: | unloading Kernel Card Services
Linux Kernel Card Services 3.1.22
options: [pci] [cardbus] [pm]
ds: no socket drivers loaded! |
Though I'm sure I built pcmcia support, it still cannot start:
Quote: | azure root # /etc/init.d/pcmcia start
/lib/modules/2.4.20/kernel/drivers/pcmcia/ds.o: init_module: Operation not permitted
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.20/kernel/drivers/pcmcia/ds.o: insmod /lib/modules/2.4.20/kernel/drivers/pcmcia/ds.o failed
/lib/modules/2.4.20/kernel/drivers/pcmcia/ds.o: insmod ds failed
* Starting pcmcia...
cardmgr[29913]: no pcmcia driver in /proc/devices
* cardmgr failed to start. Make sure that you have PCMCIA
* modules built or support compiled into the kernel |
|
|
Back to top |
|
|
oniq Guru
Joined: 02 Sep 2002 Posts: 597 Location: Connecticut
|
Posted: Thu Jan 02, 2003 12:36 am Post subject: |
|
|
Just compile the PCMCIA into the kernel, if you don't want to do that make sure you did make modules modules_install, and that you have loaded the pcmcia module before running cardmgr. _________________ open like a child's mind. |
|
Back to top |
|
|
silex n00b
Joined: 30 Dec 2002 Posts: 61
|
Posted: Thu Jan 02, 2003 4:09 am Post subject: |
|
|
A strange thing. I tried this card in Mandrake.
Mandrake automatically selected wvlan_cs.o, instead of orinoco_cs.o. Is that what I should use? But in the kernel configuration, it was said that wvlan_cs.o was not for 802.11b PC Card. 8 |
|
Back to top |
|
|
humpback Retired Dev
Joined: 19 Oct 2002 Posts: 394 Location: Coimbra - Portugal
|
Posted: Thu Jan 02, 2003 2:54 pm Post subject: |
|
|
I have a orinoco gold card.
To get it to work i had to remove pcmcia support in kernel, and activate wireless network support but i did not select any driver.
I then just emerged pcmcia-cs .
After that i did
insmod pcmcia_core
insmod i82365 (the pcmcia hardware controller)
insmod ds
And then i start cardmgr:
/etc/init.d/pcmcia start
The modules for your pcmcia card have to be loaded by cardmgr and will not work if loaded by hand (dont know why it just is).
I had alot of problems with the card and after some time i found that the problem was with a file in /etc/pcmcia , so i just did:
cd /etc/pcmcia
mkdir old
mv * old
emerge pcmcia-cs
One of the files in this directory has the "signatures" so that cardmgr knows what modules to load for a particular card.
Also know my system gives two diferente beeps when i insert the card. This means that it did not recognize the card, but it works ok, just do a ifconfig -a after inserting the card to see if it is there. _________________ Gustavo Felisberto
Humpback @ #gentoo-pt
------------
It's most certainly GNU/Linux, not Linux. Read more at
http://www.gnu.org/gnu/why-gnu-linux.html .
------------- |
|
Back to top |
|
|
rlyacht Apprentice
Joined: 17 Apr 2002 Posts: 170
|
Posted: Thu Jan 02, 2003 3:45 pm Post subject: Useful Thread |
|
|
silex, I think you will find the following thread useful:
https://forums.gentoo.org/viewtopic.php?t=26716
It is admittedly kind of confusing that the preferred method of doing this involves compiling a kernel without wireless support. I have used orinico cards with no trouble using this setup. pcmcia-cs will give you the orinoco drivers as well as the card manager daemon. You may also want to emerge wireless-tools.
Hope this helps ... _________________ It's spelled Raymond Luxury-Yacht, but it's pronounced Throat-Warbler Mangrove. |
|
Back to top |
|
|
silex n00b
Joined: 30 Dec 2002 Posts: 61
|
Posted: Fri Jan 03, 2003 1:42 am Post subject: |
|
|
Thanks for all your kind help.
I get it working now. I emerged pcmcia-cs. But after each boot I have to manually type:
Code: | cardmgr -f
iwconfig eth1 essid 'some id'
dhcpcd eth1 |
But it seems other people do not have to do this. Anyway I'm quite comfortable with these few commands as long as it works.
Thanks a lot. |
|
Back to top |
|
|
rlyacht Apprentice
Joined: 17 Apr 2002 Posts: 170
|
Posted: Fri Jan 03, 2003 1:55 am Post subject: |
|
|
Did you add pcmcia to your default runlevel like so (as root):
Code: |
rc-update add pcmcia default
|
This will cause the execution of the command /etc/init.d/pcmcia start at startup; it will start cardmgr.
Also, edit /etc/conf.d/net to do what you want. In your case, I think that everthing would be commented out, except for this line:
_________________ It's spelled Raymond Luxury-Yacht, but it's pronounced Throat-Warbler Mangrove. |
|
Back to top |
|
|
silex n00b
Joined: 30 Dec 2002 Posts: 61
|
Posted: Fri Jan 03, 2003 5:25 am Post subject: |
|
|
rlyacht wrote: | Did you add pcmcia to your default runlevel like so (as root):
Code: |
rc-update add pcmcia default
|
This will cause the execution of the command /etc/init.d/pcmcia start at startup; it will start cardmgr.
Also, edit /etc/conf.d/net to do what you want. In your case, I think that everthing would be commented out, except for this line:
|
Thanks . Yes I didn't add pcmcia to my default runlevel. Do you know how to specify the SSID automatically too? |
|
Back to top |
|
|
silex n00b
Joined: 30 Dec 2002 Posts: 61
|
Posted: Fri Jan 03, 2003 5:25 am Post subject: |
|
|
rlyacht wrote: | Did you add pcmcia to your default runlevel like so (as root):
Code: |
rc-update add pcmcia default
|
This will cause the execution of the command /etc/init.d/pcmcia start at startup; it will start cardmgr.
Also, edit /etc/conf.d/net to do what you want. In your case, I think that everthing would be commented out, except for this line:
|
Thanks . Yes I didn't add pcmcia to my default runlevel. Do you know how to specify the SSID automatically too? |
|
Back to top |
|
|
rlyacht Apprentice
Joined: 17 Apr 2002 Posts: 170
|
Posted: Fri Jan 03, 2003 3:30 pm Post subject: |
|
|
I'm not at home so I can't check, but I think that the ssid is in /etc/conf.d/wireless.opts (it might be /etc/pcmcia/wireless.opts). It's also possible that it defaults to "ANY" meaning that it will hook up to any ssid it finds. _________________ It's spelled Raymond Luxury-Yacht, but it's pronounced Throat-Warbler Mangrove. |
|
Back to top |
|
|
|