PCMCIA/Network/Wireless
 

PCMCIA/Network considerations, RedHat 6.2:

The PCMCIA worked right out of the box, but when I am using an 3C589 PCMCIA network adapter, this is the reason why the eth0 interface not came up. But if I log in as "root" type:

"/etc/rc.d/init.d/network restart"

it worked fine.
The script that is starting the network are "/etc/rc.d/rc3.d/S10network"
(or on runlevel 5 with X login: "/etc/rc.d/rc5.d/S10network").
And the script that is starting PCMCIA are "/etc/rc.d/rc3.d/S45pcmcia"
(or on runlevel 5 with X login: "/etc/rc.d/rc5.d/S45pcmcia").

To change the order of the module loading I type:

">mv /etc/rc.d/rc3.d/S45pcmcia /etc/rc.d/rc3.d/S09pcmcia"

or on runlevel 5 with X login:

"mv /etc/rc.d/rc5.d/S45pcmcia /etc/rc.d/rc5.d/S09pcmcia").

Also I had to insert the complete hostname (with domain) and the domainname in "/etc/sysconfig/network"
So it should look something like this:

NETWORKING=yes
HOSTNAME=machinename.domain.com
DOMAINNAME=domain.com
GATEWAY=1.1.1.1

PCMCIA/Network/Wireless considerations, RedHat 7.2:

When I installed RedHat 7.2 I switched to a wireless network card. Setting this up without any WEP encryption it worked at once. But as soon as I wanted to implement some security the Marlboro consumption raised incredibly! :) Here's what I concluded with one very late night:

The wireless network adapter I'm using is a NetGear MA401 based on the Prism II chipset together with a NetGear ME102 Access Point. First of all the I flashed the firmware in the AP from a windows machine to get 128 bit WEP support, because standard was only 64 bit. Here is the firmware (local copy and manual). 

Now the long late nights with fighting to get the MA401 run encryption in Linux started. First I tried to use the "wvlan_cs" module shipped with the 2.4.9-34 kernel to work, but no luck. After surin' around a bit, I found some tip using the "orinoco_cs" module. Tried this one as well, but no luck with the WEP encryption. Eventually I stumbled over a module from Samsung. Here it goes:

1) Get David Hinds' PCMCIA package source at 
http://pcmcia-cs.sourceforge.net/
(version 3.1.31 when I wrote this, local copy)

2) Unpack the PCMCIA package (usually into /usr/src) and change into 
its directory (usually /usr/src/pcmcia-cs-3.1.*).

3) Get the Samsung module (local copy), and extract the SAMSUNG 11Mbps PC Card distribution archive into the standard PCMCIA distribution. 
% cd pcmcia-cs-3.1.* 
% tar -xzvf swld11_cs-1.22.tar.gz
 

4) Build and install the PCMCIA package as normal. Remember that the "patch" .rpm is needed for this.
% make config
% make all
% make install


(If you want to keep the original kernel-pcmcia package that comes with RedHat, dot NOT run the last "make install" as mentioned above. You can copy the file: 
"/usr/src/pcmcpa-cd-3.1.*/clients/swld11_cs.o" into
"/lib/modules/2.4.9-34/pcmcia". 
That should do the trick when the module is loaded after doing the next modification steps. :)

5) Open "/etc/pcmcia/config" in a editor, and find the Prism2 line which defines what module to use, and replace it with the Samsung module:

card "Intersil PRISM2 11 Mbps Wireless Adapter"
manfid 0x0156, 0x0002
# Replace the original module
# bind "wvlan_cs"
bind "swld11_cs"

6) Then I made the necessary configuration in "/etc/pcmcia/wireless.opts", and it looks like this. My setup on the NetGear ME102 Access Point looks like this.

7) The rest of the network setup is just basics with something like this in "/etc/sysconfig/network":

NETWORKING=yes
HOSTNAME=machinename.domain.com
DOMAINNAME=domain.com

And something like this in "/etc/sysconfig/network-scripts/ifcfg-eth0":

DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=1.1.1.2
NETMASK=255.255.255.0
GATEWAY=1.1.1.1

 
  | Intro | Specifications | XFree86 | Audio | PCMCIA/Network/Wireless | Misc | Links |

Design 19©96-20©03, Robert Grefstad