Changeset 14251 in hybrid for branches/releng-11/nanobsd
- Timestamp:
- Nov 29, 2018, 9:12:08 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/releng-11/nanobsd/files/etc/motd.cshrc
r13482 r14251 15 15 echo "" 16 16 echo "Active Bridges:" 17 arp -na | grep -e ' 00:15:6d' | sed -e 's/^/ - /' | grep ' ' || echo " - none" 17 # MAC OIDs Ubiquiti Networks 18 # 19 # curl 'https://code.wireshark.org/review/gitweb?p=wireshark.git;a=blob_plain;f=manuf' |\ 20 # awk '{print $1}' | cut -c -8 | tr 'A-Z' 'a-z' | tr '\n' '|' 21 arp -na | grep -E ' (00:15:6d|00:27:22|00:50:c2|04:18:d6|18:e8:29|24:a4:3c|44:d9:e7|68:72:51|74:83:c2|78:8a:20|80:2a:a8|b4:fb:e4|dc:9f:db|e0:63:da|f0:9f:c2|fc:ec:da)' | sed -e 's/^/ - /' | grep ' ' || echo " - none" 18 22 echo "" 19 23 echo "Active Neighbors:" 20 arp -na | grep -v 'permanent' | grep ' 00:0d:b9' |\ 24 # MAC OID PC Engines GmbH 25 arp -na | grep -v 'permanent' | grep -E ' 00:0d:b9' |\ 21 26 sed -e 's/^/ - /' -e 's/.wleiden.net//' -e 's/expires .*$//' |\ 22 27 grep ' ' || echo " - none"
Note:
See TracChangeset
for help on using the changeset viewer.