RH8.0 & Netgear MA401 card headaches
I've been setting up a home wireless network. I have managed to get my Win98 desktop and my WinMe laptop connected to our SMC 2404WBR router (which is connected to a cable modem).
The problem has been with my RedHat 8.0 Dell laptop and its associated Netgear MA401. After numerous frustrations and dead ends, I have finally (nearly) gotten the card working via the wlan-ng rpms.
The final problem I'm having deals with the network connection. When I insert the card (or boot up the machine), the laptop correctly senses the card and starts up wlan0. The router senses the card and assigns a DHCP address to it, which I can confirm by connecting to the router with one of the other networked computers. At this point, if I do nothing else, the laptop claims that no network connection is available. I can ping 127.0.0.1, but I cannot ping the router or the assigned DHCP address.
If I do a "route," only the loopback is listed
If I issue the commands:
>ifconfig wlan0 192.168.2.xxx up (using the assigned DHCP address)
>route add default gw 192.168.2.1 wlan0
everything conncts and I can see the outside world.
I am wondering what I need to do to avoid this manual setup, especially since I would need to look up the assigned IP address every time I start the laptop.
Some possibly-useful info:
BOOTPROTO=dhcp # change this to static to specify an IP addr
GATEWAYDEV=wlan0 # this is for setting default route
PEERDNS=yes # this lets DHCP define the DNS setup
from wlan-ng.opts (comment lines pruned as needed to save space)
case "$ADDRESS" in
#=======USER MIB SETTINGS============
lnxreq_hostWEPEncrypt=false # true|false
lnxreq_hostWEPDecrypt=false # true|false
dot11PrivacyInvoked=false # true|false
dot11WEPDefaultKeyID=0 # 0|1|2|3
dot11ExcludeUnencrypted=true # true|false
PRIV_GENERATOR=/sbin/nwepgen # nwepgen, Neesus compatible
PRIV_KEY128=false # keylength to generate
dot11WEPDefaultKey0= # format: xx:xx:xx:xx:xx or
dot11WEPDefaultKey1= # dot11WEPDefaultKey2= # e.g. 01:20:03:40:05 or
#=======SELECT STATION MODE===================
IS_ADHOC=n # y|n, y - adhoc, n - infrastructure
AuthType="opensystem" # opensystem | sharedkey
#=======ADHOC STATION START============
SSID="linux-wlan" # SSID
BCNINT=100 # Beacon interval (in Kus)
CHANNEL=6 # DS channel
BASICRATES="2 4" # Rates for mgmt&ctl frames
OPRATES="2 4 11 22" # Supported rates in BSS