Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
PCMCIA nic: getting it working with pcmcia-cs (for n00bs!)
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
duff
Guru
Guru


Joined: 19 Jun 2002
Posts: 466
Location: Clemson, SC

PostPosted: Tue Mar 18, 2003 9:20 pm    Post subject: Reply with quote

Great guide! Have you considered rewriting it in the Guide XML format?

Anyway..thanks, this really helped me get my Cisco Aironet 350 card up an running! I only had one snag, and this may be helpful to others. If you have to enter an encrypted WEP key (like my university does) and you use the Aironet Client Utility (acu), before you can connect to the network, you have to run
Code:
# /opt/cisco/bin/bcard
Found this one out on accident. This best place to put this would be in your /etc/init.d/net.eth? file. Hope that helps some..took me a few hours (and the help desk is full of Windows people! :x )
Back to top
View user's profile Send private message
verbatim
Apprentice
Apprentice


Joined: 13 Mar 2003
Posts: 223

PostPosted: Tue Mar 25, 2003 11:16 pm    Post subject: Reply with quote

Just wanted to say thanks, I have a Cisco Aironet 352, and would have spent weeks getting it to work if I hadn't read this. :)
Back to top
View user's profile Send private message
charlieg
Advocate
Advocate


Joined: 30 Jul 2002
Posts: 2149
Location: Manchester UK

PostPosted: Wed Mar 26, 2003 10:06 am    Post subject: Reply with quote

duff wrote:
Great guide! Have you considered rewriting it in the Guide XML format?


Maybe if I have time one day I'll take this and any wireless tips and put them into a guide.

But it'd take a couple of hours which, atm, I don't have and also I wouldn't be able to verify the wireless side of things.
_________________
Want Free games?
Free Gamer - open source games list & commentary

Open source web-enabled rich UI platform: Vexi
Back to top
View user's profile Send private message
bryon
Apprentice
Apprentice


Joined: 14 Feb 2003
Posts: 163

PostPosted: Thu Mar 27, 2003 8:42 pm    Post subject: 2 cards Reply with quote

What woudl I have to do diffrently if I wanted to have two cards running at the same time and show up as eth1 and eth2 every time. I ma hoping to have a cisco 350 and Comapq wl110 run at the same time.

Thanks
Back to top
View user's profile Send private message
EnigmaedgE
Tux's lil' helper
Tux's lil' helper


Joined: 20 Mar 2003
Posts: 89

PostPosted: Thu Apr 03, 2003 2:29 pm    Post subject: Reply with quote

I have a built-in wireless nic based on the orinoco chipset. I did the step by step instructions, but for some reason eth1 does not get picked up. when i run
Code:
/etc/init.d/net.eth1


it says
*Bringing up eth1
SIOCSIFADDR: No such device
eth1:: unknown interface: no such device
*Failed to bringup eth1


Did i miss something?
Back to top
View user's profile Send private message
Urgo
n00b
n00b


Joined: 03 Apr 2003
Posts: 14

PostPosted: Thu Apr 03, 2003 11:34 pm    Post subject: Re: crash on insert in Inspiron 8100 Reply with quote

soroko wrote:
i followed your instructions, but on my laptop, Dell Inspiron 8100, when I insert my Orinoco Sliver card, the computer freezes and i have to reboot using the power button. when I insert the card the last syslog message is:
Code:


dessimus cardmgr[2265]: executing: 'modprobe orinoco_cs'


even if i try to boot with the card in, it will freeze before finishing the boot, and the above message is also the last message shown.

TIA,
Rick

ragefan wrote:

I have a similar setup as well, try editing /etc/pcmcia/config.opts

in the line
include port 0x100-0x4ff.....
delete the range: 0x800-0x8ff


Thank you soooooo much! You don't know how long I've been tearing my hair out because of that problem. Taking that code out seems to fix the freezing problem I've bene having with cardmgr. I can now use my netgear MA401 wireless card on my Dell Inspiron 8000.

(I threw in a bunch of keywords so others can find this thread faster then I did. =] )

-Urgo
Back to top
View user's profile Send private message
EnigmaedgE
Tux's lil' helper
Tux's lil' helper


Joined: 20 Mar 2003
Posts: 89

PostPosted: Wed Apr 09, 2003 6:44 am    Post subject: Reply with quote

Anyone with anything to my above post? I'm at my wits end tyring to get this wireless nic to work =( . Its a built-in wireless nic based on the orinoco chipset. I did the above instructions and it seems pcmcia_cs working becuase when i do an modprobe orinoco i get a couple of new modules when i do lsmod. but when i pull up /etc/init.d/net.eth1 i get the above error.

Thanks for any responses!
Back to top
View user's profile Send private message
charlieg
Advocate
Advocate


Joined: 30 Jul 2002
Posts: 2149
Location: Manchester UK

PostPosted: Wed Apr 09, 2003 9:17 am    Post subject: Reply with quote

Can you post your /etc/conf.d/net file please?
_________________
Want Free games?
Free Gamer - open source games list & commentary

Open source web-enabled rich UI platform: Vexi
Back to top
View user's profile Send private message
jbygden
n00b
n00b


Joined: 09 Apr 2003
Posts: 4

PostPosted: Wed Apr 09, 2003 7:39 pm    Post subject: No autodetect Reply with quote

As a lot of others have said: THANKS!!

I do have one small issue though.

Is there anyone that has gotten autodetection of PCMCIA-cards to work?

When I booted of the live-cd (1.4_rc3) everything just "popped" up and worked at /etc/init.d/pcmcia start + /etc/init.d/net.eth0 start.

But now, after installation, I have to manually (or via modules.autoload) modprobe the driver for my card.

Anyone know why??

/jb
Back to top
View user's profile Send private message
christsong84
Veteran
Veteran


Joined: 06 Apr 2003
Posts: 1003
Location: GMT-8 (Spokane)

PostPosted: Fri Apr 11, 2003 4:28 am    Post subject: Re: crash on insert in Inspiron 8100 Reply with quote

soroko wrote:

I have a similar setup as well, try editing /etc/pcmcia/config.opts

in the line
include port 0x100-0x4ff.....
delete the range: 0x800-0x8ff


Thanks sooooo much...I've been trying ages to get my WPC11 working in my 8100...you provided the key peice to why it was freexing...now I'm finally wireless in Linux...w00!
Back to top
View user's profile Send private message
EnigmaedgE
Tux's lil' helper
Tux's lil' helper


Joined: 20 Mar 2003
Posts: 89

PostPosted: Sun Apr 13, 2003 6:16 am    Post subject: Reply with quote

Here's my /etc/init.d/net.eth1
I wanna get my wireless working so i dont have to boot into xp when i'm at the bar at school when i have to do homework... gentoo is great! I just need my internet connection, and i'm set =)


Code:
#!/sbin/runscript
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /home/cvsroot/gentoo-src/rc-scripts/init.d/net.eth0,v 1.23 2002/11/26 12:32:28 azarah Exp $

#NB: Config is in /etc/conf.d/net


# For pcmcia users. note that pcmcia must be added to the same
# runlevel as the net.* script that needs it.
depend() {
   use pcmcia
#   need pcmcia
}

checkconfig() {
   if [ -z "$(eval echo \$\{iface_${IFACE}\})" ]
   then
      eerror "Please make sure that /etc/conf.d/net has \$iface_$IFACE set"
      return 1
   fi
}

start() {
   checkconfig || return 1
   local iface_args="$(eval echo \$\{iface_${IFACE}\})"
   local dhcp_args="$(eval echo \$\{dhcpcd_${IFACE}\})"
   local retval=0
   ebegin "Bringing ${IFACE} up"
   if [ "$(eval echo \$\{iface_${IFACE}\})" != "dhcp" ]
   then
      /sbin/ifconfig ${IFACE} ${iface_args} >/dev/null || {
         retval=$?
         eend ${retval} "Failed to bring ${IFACE} up"
         return ${retval}
      }
      # ifconfig do not always return failure ..
      /sbin/ifconfig ${IFACE} &> /dev/null || {
         retval=$?
         eend ${retval} "Failed to bring ${IFACE} up"
         return ${retval}
      }
   else
      /sbin/dhcpcd ${dhcp_args} ${IFACE} >/dev/null || {
         retval=$?
         eend ${retval} "Failed to bring ${IFACE} up"
         return ${retval}
      }
   fi
   eend 0

   if [ -n "$(eval echo \$\{alias_${IFACE}\})" ]
   then
      local x=""
      local num=0
      local aliasbcast=""
      local aliasnmask=""

      ebegin "  Adding aliases"
      for x in $(eval echo \$\{alias_${IFACE}\})
      do
         aliasbcast="$(eval echo \$\{broadcast_${IFACE}\} \| awk \'\{ print \$$((num + 1)) \}\')"
         if [ -n "${aliasbcast}" ]
         then
            aliasbcast="broadcast ${aliasbcast}"
         fi

         aliasnmask="$(eval echo \$\{netmask_${IFACE}\} \| awk \'\{ print \$$((num + 1)) \}\')"
         if [ -n "${aliasnmask}" ]
         then
            aliasnmask="netmask ${aliasnmask}"
         fi
      
         ebegin "    ${IFACE}:${num}"
         /sbin/ifconfig ${IFACE}:${num} ${x} \
            ${aliasbcast} ${aliasnmask} >/dev/null
         num=$((num + 1))
         eend 0
      done
      save_options "alias" "$(eval echo \$\{alias_${IFACE}\})"
   fi

   if [ -n "$(eval echo \$\{inet6_${IFACE}\})" ]
   then
      local x=""
      ebegin "  Adding inet6 addresses"
      for x in $(eval echo \$\{inet6_${IFACE}\})
      do
         ebegin "    ${IFACE} inet6 add ${x}"
         /sbin/ifconfig ${IFACE} inet6 add ${x} >/dev/null
         eend 0
      done
      save_options "inet6" "$(eval echo \$\{inet6_${IFACE}\})"
   fi
   
   if [ -n "${gateway}" ] && [ "${gateway%/*}" = "${IFACE}" ]
   then
      ebegin "  Setting default gateway"
      /sbin/route add default gw ${gateway#*/} dev ${gateway%/*} \
         netmask 0.0.0.0 metric 1 >/dev/null || {
         
         local error=$?
         ifconfig ${IFACE} down &>/dev/null
         eend ${error} "Failed to bring ${IFACE} up"
         stop
         return ${error}
      }
      eend 0
   fi

   # Enabling rp_filter causes wacky packets to be auto-dropped by
   # the kernel
   if [ -e /proc/sys/net/ipv4/conf/${IFACE}/rp_filter ]
   then
      echo 1 > /proc/sys/net/ipv4/conf/${IFACE}/rp_filter
   fi
}

stop() {
   local myalias="$(get_options alias)"
   ebegin "Bringing ${IFACE} down"

   # Also down the inet6 interfaces
   local myinet6="$(get_options inet6)"
   if [ -n "${myinet6}" ]
   then
      local x=""
      for x in ${myinet6}
      do
         /sbin/ifconfig ${IFACE} inet6 del ${x} >/dev/null
      done
   fi
   
   # Do some cleanup in case the amount of aliases change
   if [ -n "${myalias}" ]
   then
      local x=""
      local num=0
      for x in ${myalias}
      do
         /sbin/ifconfig ${IFACE}:${num} down >/dev/null
         num=$((num + 1))
      done
   fi

   if [ "$(eval echo \$\{iface_${IFACE}\})" = "dhcp" ]
   then
      /sbin/dhcpcd -k ${IFACE} &>/dev/null
   
      # Give dhcpcd time to properly shutdown
      local count=0
      einfon "  Waiting for dhcpcd to shutdown"
      while [ "${count}" -lt 5 ]
      do
         echo -n "."
         sleep 1
         count=$((count + 1))
      done
      echo "done"
   else
      /sbin/ifconfig ${IFACE} down >/dev/null
   fi
   eend 0
}


# vim:ts=4


Mind you, i've tried both use pcmcia and need pcmcia. When i do a lsmod i get this:
Code:
Module                  Size  Used by    Tainted: P 
ds                      7464   2
i82365                 41568   2
pcmcia_core            48448   0  [ds i82365]
NVdriver             1067008  11
8139too                16264   1
mii                     2688   0  [8139too]
sr_mod                 17528   0  (unused)
sg                     29068   0  (unused)
ide-scsi                9360   0
Then i do a modprobe orinoco and get :
Code:
Module                  Size  Used by    Tainted: P 
orinoco                40012   0  (unused)
hermes                  6532   0  [orinoco]
ds                      7464   2
i82365                 41568   2
pcmcia_core            48448   0  [ds i82365]
NVdriver             1067008  11
8139too                16264   1
mii                     2688   0  [8139too]
sr_mod                 17528   0  (unused)
sg                     29068   0  (unused)
ide-scsi                9360   0
Anyone see what i'm donig wrong? Again, i have a built in wireless NIC based on the orinoco chipset. Thanks for any responses!
Back to top
View user's profile Send private message
EnigmaedgE
Tux's lil' helper
Tux's lil' helper


Joined: 20 Mar 2003
Posts: 89

PostPosted: Tue Apr 15, 2003 4:37 am    Post subject: Reply with quote

Well, i tried to reinstall everything, but i dont seem to have wireless working yet....has anyone had this much trouble trying to get their wireless nic working? Anyone have any other tips?

Thanks for anything
Back to top
View user's profile Send private message
SouthOfHeaven
Tux's lil' helper
Tux's lil' helper


Joined: 05 Apr 2003
Posts: 128

PostPosted: Tue Apr 15, 2003 9:41 am    Post subject: cardmgr cannot start, make sure you have pcmcia support Reply with quote

ds 7112 2 [serial_cs xirc2ps_cs]
i82365 26976 2


if i do an lsmod i dont see these modules installed, am i supposed to install these modules from kernel config or does emerge pcmcia-cs make those modules ?

when i compiled my kernel i compiled it with support for my pcmcia card which is a 3com ethernet III 3c589 and it made the module, i added that to modules.autoload and it loads it fine, but pcmcia still wont start. So i would appreciate some input please.

Thank you
Back to top
View user's profile Send private message
charlieg
Advocate
Advocate


Joined: 30 Jul 2002
Posts: 2149
Location: Manchester UK

PostPosted: Tue Apr 15, 2003 11:28 am    Post subject: Re: cardmgr cannot start, make sure you have pcmcia support Reply with quote

SouthOfHeaven wrote:
when i compiled my kernel i compiled it with support for my pcmcia card which is a 3com ethernet III 3c589 and it made the module, i added that to modules.autoload and it loads it fine, but pcmcia still wont start. So i would appreciate some input please.

Did you read the installation guide?
_________________
Want Free games?
Free Gamer - open source games list & commentary

Open source web-enabled rich UI platform: Vexi
Back to top
View user's profile Send private message
SouthOfHeaven
Tux's lil' helper
Tux's lil' helper


Joined: 05 Apr 2003
Posts: 128

PostPosted: Tue Apr 15, 2003 5:02 pm    Post subject: Reply with quote

yes i did read the installation guide, you say the module is from emerging pcmcia-cs but i get failed to load module ds and module i82365, then it tells me that

Code:
cardmgr failed to start. Make sure that you have PCMCIA modules buit or support compiled into the kernel.
Back to top
View user's profile Send private message
SouthOfHeaven
Tux's lil' helper
Tux's lil' helper


Joined: 05 Apr 2003
Posts: 128

PostPosted: Wed Apr 16, 2003 8:34 am    Post subject: :( Reply with quote

i tryed everything, it keeps on telling me that cant load module ds and module i82365 then cardmgr cant find any devices
Back to top
View user's profile Send private message
charlieg
Advocate
Advocate


Joined: 30 Jul 2002
Posts: 2149
Location: Manchester UK

PostPosted: Wed Apr 16, 2003 9:36 am    Post subject: Reply with quote

SouthOfHeaven wrote:
yes i did read the installation guide, you say the module is from emerging pcmcia-cs but i get failed to load module ds and module i82365, then it tells me that

Code:
cardmgr failed to start. Make sure that you have PCMCIA modules buit or support compiled into the kernel.

Does your /usr/src/linux link to the dir of the kernel that you compiled? ie if you're using the kernel from /usr/src/linux-2.5.66-mm3 then ls -l /usr/src/linux should output:
Code:
mightymax root # ls -l /usr/src/linux
lrwxrwxrwx    1 root     root           17 Apr  7 23:08 /usr/src/linux -> linux-2.5.66-mm3/

_________________
Want Free games?
Free Gamer - open source games list & commentary

Open source web-enabled rich UI platform: Vexi
Back to top
View user's profile Send private message
jdiercks
n00b
n00b


Joined: 16 Apr 2003
Posts: 1

PostPosted: Wed Apr 16, 2003 7:48 pm    Post subject: Re: crash on insert in Inspiron 8100 Reply with quote

soroko wrote:

...try editing /etc/pcmcia/config.opts
in the line
include port 0x100-0x4ff.....
delete the range: 0x800-0x8ff


THANK YOU! That was just what I needed. Same setup, same problem, this solved it.
Back to top
View user's profile Send private message
EnigmaedgE
Tux's lil' helper
Tux's lil' helper


Joined: 20 Mar 2003
Posts: 89

PostPosted: Tue Apr 22, 2003 11:43 pm    Post subject: Reply with quote

Anyone have an idea where i could be stuck? Its been rather quiet in here...
Back to top
View user's profile Send private message
Scudzey
n00b
n00b


Joined: 05 Apr 2003
Posts: 20
Location: Stuart, FL

PostPosted: Mon Apr 28, 2003 2:04 am    Post subject: Reply with quote

Im having the hardest time with my wireless card. I have a belkin F5D6020 v.2 which i know has the atmel chip inside of it. I followed the other theads on this card and have my pcmcia-cs up and working. My problem is that when i go to set the mode for it manually i get: " Error for wireless request "Set Mode" (8B06) :
SET failed on device eth1 ; Invalid argument."

And when i try to run kismet_monitor i get:
"Using /etc/kismet/kismet.conf sources...
Unknown card type 'Binaryfile/etc/kismet/kismet.confmatches'. Doing nothing."

i have my atmel.conf set up correctly with the manfid set correctly. Any help would graciously be appreciated.
Back to top
View user's profile Send private message
paradizelost
n00b
n00b


Joined: 28 Apr 2003
Posts: 9

PostPosted: Mon Apr 28, 2003 9:04 pm    Post subject: Orinoco Silver PCMCIA card Reply with quote

K. i've followed everything so far, and my system recognizes both of my wireless cards, an integrated Actiontec Prism2 Wireless USB and my Orinoco Silver card, HOWEVER..., they both show up as WLAN0 or WLAN1. and have mac addresses of 00:00:00:00:00:00.

the orinoco works in a buddies laptop, but refuses to work in mine, linux-wlanctl-ng will not start the card up, says resultcode=implementation failure.

/etc/init.d/wlan will not start
/etc/init.d/net.wlan0 will not start

also, i've tried a belkin card that works in another system, and it won't work with mine.
i've copied files from the /etc/pcmcia/ and /etc/wlan/ from a working system to mine, and still no go.

PLEASEPLEASEPLEASE HELP ME!!!
Back to top
View user's profile Send private message
paradizelost
n00b
n00b


Joined: 28 Apr 2003
Posts: 9

PostPosted: Tue Apr 29, 2003 5:05 am    Post subject: Reply with quote

Well, i got my problem w/ the Orinoco solved.
WHATEVER YOU DO, don't do anything w/ linux wlan-ng
it really screws stuff up
i'm giving up on my internal for now, cuz it is on the usb bus of a laptop. ;)
Back to top
View user's profile Send private message
charlieg
Advocate
Advocate


Joined: 30 Jul 2002
Posts: 2149
Location: Manchester UK

PostPosted: Tue Apr 29, 2003 8:55 am    Post subject: Reply with quote

paradizelost wrote:
Well, i got my problem w/ the Orinoco solved.
WHATEVER YOU DO, don't do anything w/ linux wlan-ng
it really screws stuff up
i'm giving up on my internal for now, cuz it is on the usb bus of a laptop. ;)

Could you give us a description of how you solved the problem? Was it just the attempted wlan-ng?
_________________
Want Free games?
Free Gamer - open source games list & commentary

Open source web-enabled rich UI platform: Vexi
Back to top
View user's profile Send private message
Satsuki Yatouji
n00b
n00b


Joined: 27 Feb 2003
Posts: 4
Location: 0110 0010 0110 0101 0110 0001 0111 0011 0111 0100

PostPosted: Thu May 01, 2003 6:35 pm    Post subject: Reply with quote

First of all wonderful guide. It's gotten me much closer to getting things working with my laptop than I've been with gentoo however I'm hitting several snags.

pcmcia-cs tells me that my particular card (Belkin F5D5010) isn't supported. Now if I build pcmcia support into the kernel with the 8193too driver I can get the card to work but I would like to have it running under pcmcia-cs so I hopefully can get my Belkin F5D6020 working as well. I guess the question then is can I add support to pcmcia-cs for the 8193too driver so it can manage my lan card as well as my wireless? The livecds pcmcia-cs supports my card just fine... I'm at a bit of a loss.
Back to top
View user's profile Send private message
bryon
Apprentice
Apprentice


Joined: 14 Feb 2003
Posts: 163

PostPosted: Sat May 03, 2003 8:28 pm    Post subject: wonderful guide, I half work Reply with quote

Yes thanks so much, when I say that it half works is that I belive that card is working but i have no AP to test (it is a cisco 350, it's green light blinks so i belive it is workign) it with so now I wnat to get kismet going, and i need to install the airo-linux drivers from http://airo-linux.sourceforge.net so that i can go into permisicous mode. This is probly a pretty simple question but where do i put the new drivers. when I take the card in and out it says
loading /lib/modules/2.4.20-gentoo-r2/pcmcia/airo_cs.o
I am trying to use the pcmcia-cs
It laso says Please make sure that /etc/conf.d/net had $iface_eth1 set?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9  Next
Page 2 of 9

 
Jump to:  
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