summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-05-03 04:51:41 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-05-03 04:51:41 +0000
commit4fca174c22145955179eace3aa1bb6f780bda590 (patch)
treee28e40ce0b0282a3b34d313b9862d234ce626dd2
parent94e2459b145cd61529bb5193713d728883bffa07 (diff)
downloadpfsense-4fca174c22145955179eace3aa1bb6f780bda590.zip
pfsense-4fca174c22145955179eace3aa1bb6f780bda590.tar.gz
Show how to output the wireless options such as channels, modes, etc.
-rwxr-xr-xusr/local/sbin/pfSsh.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/local/sbin/pfSsh.php b/usr/local/sbin/pfSsh.php
index c9b92ca..002da35 100755
--- a/usr/local/sbin/pfSsh.php
+++ b/usr/local/sbin/pfSsh.php
@@ -36,6 +36,9 @@ echo "multiline\n";
echo "\n/* to exit the php pfSense shell */\n";
echo "exit\n";
+echo "\n/* to output supported wireless modes for an interface */\n";
+echo "print_r(get_wireless_modes(\"ath0\"));\n";
+
echo "\n/* to enable SSH */\n";
echo "\$config['system']['enablesshd'] = true;\n";
OpenPOWER on IntegriCloud