[lwlan-user] RE: [wlan-user] [non-subscriber] DLINK DWL520 on RedHat 7.2

Mike Griffin linux-wlan-user@lists.linux-wlan.com
Fri, 26 Apr 2002 13:54:23 -0400


-- 
Try this from the start.

Don't allow the card to start on bootup.

when you reboot, do everything manually.

[root@host /]# modprobe prism2_pci

at this point, the module should probe the card. you will see some 
output letting you know that there was success.

If you can't get this far. just stop. there's a problem.
(Did you compile the prism2_pci module?)


[root@host /]# ifconfig wlan0 192.168.0.1 netmask 255.255.255.0 up

Here we're setting the IP of 192.168.0.1 with a netmask of 
255.255.255.0 to our wireless interface.

[root@host /]# ifconfig wlan0

This should prove it.


If this all works, then i suggest setting up the networking part yourself.
echo "DEVICE=wlan0" >> /etc/sysconfig/network-scripts/ifcfg-wlan0

and the same for:
BOOTPROTO=static
ONBOOT=yes
IPADDR=192.168.0.1
NETMASK=255.255.255.0


when you put /etc/rc.d/init.d/wlan on startup. i suggest the following...
cd /etc/rc.d/rc3.d (or whatever runlevel you are using)
ln -s ../init.d/wlan S09wlan

this will start wlan before networking. the module will be called by 
wlan, and ifconfig will have a chance to set an IP to the card.