configuring wireless connection - beginner

Bob Beers bob.beers
Wed Jun 29 12:32:28 PDT 2005


You can do both at once.  I like this ...

                #!/bin/sh
                echo "Testing compatibility ..."
                prism2_srec wlan0 $PRIFILE $STAFILE > /tmp/result.txt
                while read VAL
                do
                        echo $VAL
                        LAST=$VAL
                done < /tmp/result.txt
                if [ $LAST == "OK." ]; then
                        echo "Compatibility verified, upgrading ..."
                        prism2_srec -f wlan0 $PRIFILE $STAFILE
                        echo "Done upgrading firmware."
                else
                        echo "Something is not right, not gonna do it,
wouldn't be prudent."
                fi

-- 
-Bob




More information about the Hostap mailing list