Click to See Complete Forum and Search --> : Wireless PCI Network card and RH 7.3


chorske17
07-25-2002, 10:39 AM
I have just installed RedHat 7.3 for the first time and it is great. I have a Linksys PCI Instant Wireless Card WMP11 and I also have downloaded the drivers for it. I followed the steps for the configuration except I am confused about how to setup some of the info. I use DHCP for my home network and in the README file it tells me that I have to specify and IP address and the Gateway and all of the other good network info. How do I setup my card so it is DHCP? I have included that part of the README file that I am confused about. Thanks in advance for all the help.

You must make sure that the drivers get loaded at boot time and that the necessary initialization takes place. The simplest way to do this is to add the following commands to your rc.local file:

modprobe prism2_pci
wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable
wlanctl-ng wlan0 lnxreq_autojoin ssid=<your APs SSID> authtype=opensystem
ifconfig wlan0 <yourIP> netmask <yourNetmask> broadcast <yourBroadcast>
route add default gw <yourGateway>

Also, don't forget to set up your resolv.conf to point at your DNS server.

cowanrl
07-25-2002, 12:24 PM
Originally posted by chorske17
I have just installed RedHat 7.3 for the first time and it is great. I have a Linksys PCI Instant Wireless Card WMP11 and I also have downloaded the drivers for it. I followed the steps for the configuration except I am confused about how to setup some of the info. I use DHCP for my home network and in the README file it tells me that I have to specify and IP address and the Gateway and all of the other good network info. How do I setup my card so it is DHCP? I have included that part of the README file that I am confused about. Thanks in advance for all the help.

You must make sure that the drivers get loaded at boot time and that the necessary initialization takes place. The simplest way to do this is to add the following commands to your rc.local file:

modprobe prism2_pci
wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable
wlanctl-ng wlan0 lnxreq_autojoin ssid=<your APs SSID> authtype=opensystem
ifconfig wlan0 <yourIP> netmask <yourNetmask> broadcast <yourBroadcast>
route add default gw <yourGateway>

Also, don't forget to set up your resolv.conf to point at your DNS server.

I'm not sure if this will work but here's what I'd try.

Take a look and see if you have this file on your computer:

/etc/sysconfig/network-scripts/ifcfg-wlan0

If you do, make sure it has these lines in it:

DEVICE=wlan0
ONBOOT=yes
BOOTPROTO=dhcp
TYPE=Ethernet

Then put the following lines from your script above into /etc/init.d/network right after these lines:
if [ ! -f /etc/sysconfig/network ]; then
exit 0
fi

modprobe prism2_pci
wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable
wlanctl-ng wlan0 lnxreq_autojoin ssid=<your APs SSID> authtype=opensystem

Don't put anything in the rc.local script.

Then reboot and see if wlan0 starts up and gets an IP address from the DHCP server.

This assumes that you will get your IP address, netmask, default gateway and dns server information from your DHCP server.