Skript-Schnipsel

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 13:16, 29 July 2005 (edit)
213.139.154.67 (Talk)
(Erweitertes Script mit Hostnamen)
← Previous diff
Revision as of 13:16, 29 July 2005 (edit) (undo)
213.139.154.67 (Talk)
(Erweitertes Script mit Hostnamen)
Next diff →
Line 157: Line 157:
while read assocLINE while read assocLINE
do do
- echo "<b>IPs and hostnames of WLAN clients</b> <p>"+ # echo "<b>IPs and hostnames of WLAN clients</b> <p>"
dumpleases | grep -i $assocLINE | awk '{print "Hostname: " $1, "MAC: " $2, "IP: " $3}' dumpleases | grep -i $assocLINE | awk '{print "Hostname: " $1, "MAC: " $2, "IP: " $3}'
echo "<p>"; echo "<p>";
Line 173: Line 173:
tp 192.168.2.101 tp 192.168.2.101
-Wenn man es im Browser ausgeben möchte, lässt man das ''#'' im Script weg,+Wenn man es im Browser ausgeben möchte, lässt man die ''#'' im Script weg,
wählt die Seite ''http://Router/user/wlan.html'' an wählt die Seite ''http://Router/user/wlan.html'' an

Revision as of 13:16, 29 July 2005