--- wlancfg-DEFAULT 2004-02-13 19:41:20.000000000 +0100 +++ /etc/wlan/wlancfg-DEFAULT 2004-02-21 17:31:30.000000000 +0100 @@ -41,3 +41,5 @@ BASICRATES="2 4" # Rates for mgmt&ctl frames (in 500Kb/s) OPRATES="2 4 11 22" # Supported rates in BSS (in 500Kb/s) +#==== MAC ADDRESS FOR THIS CONFIGURATION ========== +#MAC_ADDRESS="00:00:00:00:00:00" --- shared 2004-02-13 19:47:37.000000000 +0100 +++ /etc/wlan/shared 2004-02-21 17:29:44.000000000 +0100 @@ -169,6 +169,11 @@ return 1 fi done + + #=====SET MAC ADDRESS FROM CONFIG=============== + if [ $MAC_ADDRESS ]; then + /sbin/ifconfig $1 hw ether $MAC_ADDRESS + fi } wlan_source_config () @@ -700,3 +705,4 @@ # This is set by the Configure script as part of 'make install' #FIRMWARE_DIR="/usr/share/linux-wlan" +FIRMWARE_DIR=/etc/wlan/