Quote:
Originally Posted by otichy
Code:
#!/bin/sh
sleep 6
id="`wpa_cli list_networks | grep SSID | cut -f1 | sed -n '1p'`"
exec="`wpa_cli << EOF
set_network $id ssid \"SSID\"
set_network $id scan_ssid 1
.....
.....
set_network $id phase2 \"auth=MSCHAPV2\"
set_network $id ca_cert \"CERTIFICATE\"
enable_network $id
quit
EOF
`"
echo $exec
#!/usr/bin/perl
|
One question: What does the very last line do -
#!/usr/bin/perl ?? Is it a typo?
And, can anyone confirm
if it still works with v3.2.1 firmware? Cheers!!!