LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
Search this Thread
Old 01-08-2005, 11:33 PM   #1
ccerino
LQ Newbie
 
Registered: Dec 2004
Posts: 19

Rep: Reputation: 0
Problems with a PCMCIA Wifi Card


I am having a problem with a pcmcia wifi networking card and my laptop. While the laptop is off, I insert the card and then turn the laptop on. Linux recognizes the card and it has power. In linux i go and configure the cards wifi settings. I save the changes and then restart the computer. After the restart the pcmcia card had no power, and linux doesnt detect it. I am not sure what is going on here. I am a complete noob with linux. I was reading a linux book about pcmcia cards and there is a comand called cardctl. I figured maybe using this command to jump start the card or somethin. I tried using this command, but the terminal says it doesnt exist. Maybe I am typing it wrong. Can anyone give me pointers please !!!!
Thanks
 
Old 01-09-2005, 03:27 AM   #2
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
Pointer # 2.
It generally helps to know what distro so we know what tools are available

ifconfig and iwconfig will help. If it isn't brought up when the system boots, type

ifconfig eth0 up
Now, if this is the second network card, it would be eth1 not eth0.

use iwconfig to set the ESSID and channel.

If you are having more trouble, post the outputs of those but remove the IP address's
 
Old 01-09-2005, 05:20 AM   #3
oscarrines
LQ Newbie
 
Registered: Aug 2004
Distribution: Fedora
Posts: 9

Rep: Reputation: 0
It would help to check
Code:
dmesg
output to see what happens during the boot time. It seems to me that the module (card driver) is not probed during the startup.

The odds you do not have cardctl installed is not high. Check
Code:
whereis cardctl
and you'll see it is there: /sbin/cardctl. You just need to be root to execute it. Can you provide
Code:
cardctl ident
output.

Oscar Rines
 
Old 01-09-2005, 11:04 AM   #4
ccerino
LQ Newbie
 
Registered: Dec 2004
Posts: 19

Original Poster
Rep: Reputation: 0
I am running Fedora Core 2. While logged in as super user I tried using ifconfig, and i got the following:
bash: ifconfig: command not found.
Next I tried using the cardctl command and I still got:
bash: cardctl: command not found.

That card I am workind with is a Cisco aironet 340 series.
 
Old 01-09-2005, 11:41 AM   #5
grimse
Member
 
Registered: Oct 2004
Location: Oldenburg, Germany
Distribution: FC4
Posts: 42

Rep: Reputation: 15
hi ccerino.
the ifconfig/cardctl are not in the search path for exectutable programms by default. simply open ~/.bashrc and add:
export PATH=$PATH:/sbin:/usr/sbin (includes /sbin and /usr/sbin to search path)
after doing so save and open the bash again and ifconfig/cardctl should work without typing the whole path. (btw: when you think you have a programm installed you can also try "whereis <command>", what gives you the path to the programm).

for your main problem: don`t know where the problem is but maybe try using ndiswrapper. this allows you to use the windows- driver for your card with linux: ndiswrapper

hope it helps you solving your problems.

greetings, grimse
 
Old 01-09-2005, 11:59 AM   #6
ccerino
LQ Newbie
 
Registered: Dec 2004
Posts: 19

Original Poster
Rep: Reputation: 0
I have no clue what I did but it works. I am still wondering why I can use the ifconfig and cardctl while i am in su.
 
Old 01-09-2005, 01:10 PM   #7
zero79
Member
 
Registered: Nov 2003
Location: Ohio
Distribution: Debian Unstable
Posts: 460

Rep: Reputation: 30
ifconfig and cardctl are in the /sbin directory, which is generally only accessable to the root user.
 
Old 01-09-2005, 01:57 PM   #8
ccerino
LQ Newbie
 
Registered: Dec 2004
Posts: 19

Original Poster
Rep: Reputation: 0
Ok now i am trying to do this with another laptop(same card). This time the distro is Mandrake 10.1 community. I am doing that same thign i did in Fedora to get the wifi card work, but for some reason the card still has no sign that it has power to ( flashing lights) and linux says that the card isnt present. Any suggestions?
 
Old 01-09-2005, 02:41 PM   #9
ccerino
LQ Newbie
 
Registered: Dec 2004
Posts: 19

Original Poster
Rep: Reputation: 0
I am trying to give this ndiswrapper a chance, but when i do make install i get this :

[root@ Driver]# make install
make -C driver install
make[1]: Entering directory `/home/ccerinojr/Desktop/Driver/driver'
Can't find kernel sources in /lib/modules/2.6.8.1-10mdk/build;
give the path to kernel sources with KSRC=<path> argument to make
make[1]: *** [prereq_check] Error 1
make[1]: Leaving directory `/home/ccerinojr/Desktop/Driver/driver'
make: *** [install] Error 2
 
Old 01-09-2005, 03:04 PM   #10
grimse
Member
 
Registered: Oct 2004
Location: Oldenburg, Germany
Distribution: FC4
Posts: 42

Rep: Reputation: 15
do you have the kernel-source installed correctly?

the installation manual gives a good advise how to handle the installation. maybe take also a look at the distribution specific instructions, or google . there are some very good howtos about ndiswrapper on the web.
 
Old 01-09-2005, 03:18 PM   #11
ccerino
LQ Newbie
 
Registered: Dec 2004
Posts: 19

Original Poster
Rep: Reputation: 0
i really dont think this is a driver issue, because it was working fine with linux's auto detect, but once you restart the computer it is almost like the pcmcia is turned off
 
Old 01-11-2005, 12:37 AM   #12
oscarrines
LQ Newbie
 
Registered: Aug 2004
Distribution: Fedora
Posts: 9

Rep: Reputation: 0
First, the issue with not being able to find commands with root; I suppose you are using `su` only to switch to root. If so, since this will not read /etc/profile your search paths will not be set properly as the user root. You must do `su -`. Then you will see you have no problems with the commands like ifconfig or cardctl.

Second, can you (as root) issue and post the output
Code:
chkconfig --list pcmcia
Odds are the pcmcia daemon somehow is disabled (though I still think the issue is with the driver.

Oscar Rines
 
Old 01-11-2005, 08:32 AM   #13
ccerino
LQ Newbie
 
Registered: Dec 2004
Posts: 19

Original Poster
Rep: Reputation: 0
It says that :
pcmcia: 0ff 1: off.
3-5 are on and 6 is off. I dont know if this matters because we are focusing on 0 and 1 .

Carmen
 
Old 01-11-2005, 04:18 PM   #14
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Moved: This thread is more suitable in Wireless Networking and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 01-12-2005, 01:39 PM   #15
oscarrines
LQ Newbie
 
Registered: Aug 2004
Distribution: Fedora
Posts: 9

Rep: Reputation: 0
Just a tip first: whatis command generally can show you what the command is about.
Quote:
>whatis chkconfig
chkconfig updates and queries runlevel information for system( services
So the result you received shows the run status of pcmcia daemon in different runlevels. When you are running X, you are in runlevel 5. And chkconfig shows 5n. So far so good.

You say the card is not lit up. I am not pretty sure where to start checking but a few tips :

Do >scanpci -v. Check if your card is there.

What is the model/make of your card? Find it out and check if it is mentioned in /etc/pcmcia/config. If you find you then the card must have a driver loaded.

Check cardctl ident (card inserted). If card is recognized (driver loaded) then you will get something like:
Quote:
Socket n:
product info: "Model", "802.11b CardBus", "8.0"
manfid: ...
function: 6 (network)
If so, try cardctl insert n (n the number of socket in prev. output. See if the card lights up.

These may help to narrow down the area.

Oscar Rines
 
  


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
386 + ISA-PCMCIA adapter + PCMCIA Ralink wifi card v6sa Linux - Newbie 0 05-19-2005 12:42 PM
Configuring a WiFi PCMCIA card with RH 7.3 semonski Linux - Newbie 2 04-20-2005 05:36 PM
Best PCMCIA Wifi card? Travers Linux - Hardware 0 11-18-2004 06:22 PM
WiFI PCMCIA Card johnston_58 Linux - Wireless Networking 5 10-23-2004 10:42 AM
Realtek 8180L based wifi card not recognizing...problems with PCMCIA? massah Linux - Wireless Networking 12 10-23-2003 06:02 PM


All times are GMT -5. The time now is 06:42 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration