Bug 21876
Summary: | /etc/pcmcia/network script doesn't execute wireless setup | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Perry Harrington <pedward> |
Component: | kernel | Assignee: | Michael K. Johnson <johnsonm> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Brock Organ <borgan> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.0 | CC: | pedward |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2003-06-05 22:38:18 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Perry Harrington
2000-12-07 05:33:58 UTC
NOTE: This bug is in RedHat 7.2 also, I ran into this one and here's how I solved it: 1- Install the rpm's You'll need two rpms to get started : wireless-tools and kernel-pcmcia-cs. Either download them from rpmfind.net or get them from the RH7.2 install cd. To install just, rpm -ivh <package_name>. 2- Fix /etc/sysconfig/pcmcia The /etc/init.d/pcmcia rc script tries to source in /etc/sysconfig/pcmcia. The default pcmcia file on RH7.2 has some pretty funky options. I just backed mine up and changed the options to the following: PCMCIA=yes PCIC=i82365 PCIC_OPTS= CORE_OPTS= CARDMGR_OPTS= SCHEME=essidany Note: The default pcmcia file had pcmcia turned off, no PCIC setting, and did not include a line for SCHEME. 3- Fix /etc/pcmcia/network When the /etc/init.d/pcmcia script runs, you'll see in syslog it does a ./network start eth0 . That's not /etc/init.d/network start , but instead /etc/pcmcia/network start . The problem is by default /etc/pcmcia/network start does actually nothing. There's a comment there that reads, "We don't do *anything* here. We get a hotplug event when the ethX device is registered, and we bring the device up there". That has never worked for me, thus I changed it. To get around this bug in the script I have the /etc/pcmcia/network start actually start the network as one would expect it should. So I changed the "start" section to read: 'start') [ -f /etc/sysconfig/network-scripts/ifcfg-${device} ] && \ /etc/sysconfig/network-scripts/ifup ifcfg-${device} ;; 4- Configure the interface eth0 Since the /etc/pcmcia/network start $device script is going to try to up the device (default eth0) we need to make sure we have that interface configured for dhcp. You can configure eth0 however you want: netconf, netconfig, linuxconf, or good old vi. I prefer to just manually vi the file /etc/sysconfig/network-scripts/ifcfg-eth0. Here's what mine looks like: DEVICE="eth0" ONBOOT="yes" BOOTPROTO="dhcp" 5- Restart the pcmcia script From here the configuration should be set for the wireless card to load the wvlan_cs driver (default setting), and use the "essidany" scheme. To test it /etc/init.d/pcmcia restart . |