OpenWrt

Aus Shea Wiki
Zur Navigation springen Zur Suche springen

OpenWrt

Links

Meine Router

Updaten

opkg update
opkg list-upgradable | cut -d " " -f1 | xargs -r opkg upgrade


Benutzer auflisten

iwinfo client0 assoclist


Sniffing

ssh root@192.168.7.224 'grep -q mon0 /proc/net/dev || /usr/sbin/iw phy phy0 interface add mon0 type monitor;
    /sbin/ifconfig mon0 up; /usr/sbin/iwcap -i mon0 -s -B' > /tmp/wifi.pcap


MAC Address Lookup MAC Address Lookup 2


7C:DD:90:57:3C:8A (Edison-Stick)
24:E3:14:2B:8C:A8 (iMS)
E4:CE:8F:37:A1:00
90:C1:15:EC:E7:44
F4:09:D8:68:01:76
9C:02:98:88:DA:B1
F0:27:65:5A:3E:C3


Prometeus Monitoring einrichten

scp -i /home/suelmann/.ssh/id_rsa4 /data/archive/Monitoring/Prometheus/metrics.lua root@fungur-virt:/usr/bin
ssh -i /home/suelmann/.ssh/id_rsa4 root@fungur-virt
opkg update
opkg install luasocket
vi /etc/rc.local
metrics.lua&



KategorieWissen