summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSebastian Wagner2011-08-05 14:50:17 +0200
committerSebastian Wagner2011-08-05 14:50:17 +0200
commitf8027ae09bb77c2640f8641c5c5d0c7b6495cc95 (patch)
tree32ffda350aa288f315ca88105440f4b7e0c589f7 /scripts
parentminor (diff)
downloadpoolctrl-f8027ae09bb77c2640f8641c5c5d0c7b6495cc95.tar.gz
poolctrl-f8027ae09bb77c2640f8641c5c5d0c7b6495cc95.tar.xz
poolctrl-f8027ae09bb77c2640f8641c5c5d0c7b6495cc95.zip
skript um mac adressen auszulesen
Diffstat (limited to 'scripts')
-rw-r--r--scripts/getMac.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/getMac.sh b/scripts/getMac.sh
new file mode 100644
index 0000000..8f02818
--- /dev/null
+++ b/scripts/getMac.sh
@@ -0,0 +1 @@
+fping -s -g 132.230.4.120 132.230.4.140 -r 1 | arp -a | grep -io '(132.230.4.[0-9][0-9][0-9]) auf [0-9A-F]\{2\}\(:[0-9A-F]\{2\}\)\{5\}' > mac.txt