How do I insert a string to command iwconfig key ...
I have a file with my WEP key saved to wepkey.txt.
I would like to insert the contents of wepkey.txt to the following command on the command line:
iwconfig wlan0 essid <myessid> key <contents of wepkey.txt>
I tried iwconfig wlan0 key < wepkey.txt, but I receive an error too few arguments
cat < wepkey.txt displays the contents. What am I doing wrong?
P.S. This is more of a learning exercise for me than something I plan to do permanently.
|All times are GMT -5. The time now is 06:09 PM.|