Tools
Inhaltsverzeichnis |
auf dem Freifunk-Node
Plattform: Linux | Sprache: Englisch
horst
nützliches Tool zur Analyse des Funksignals. Horst wird auf dem Router installiert und lässt sich daher auch mit Windows-Systemen verwenden (via PuTTY): weitere Informationen
tcpdump
Werkzeug zur Analyse des Netzwerkverkehrs. tcpdump wird wie Horst auf dem Router installiert, lässt sich also ebenfalls mit Windows-Systemen verwenden (via PuTTY). Installation: Mit dem Router verbinden und "ipkg install tcpdump" eingeben: Wikipedia-Artikel | MAN-Page
noise-scan
root@110-11:/usr/sbin# cat noise-scan
#!/bin/sh
echo noise-scan
# Zählen von 1 bis 5
counter=1
while [ $counter -le 13 ]
do
echo $counter
nvram set wl0_channel=$counter
nvram commit; sleep 2; wifi
sleep 20
wl noise; sleep 5; wl noise
counter=`expr $counter + 1`
done
fftrace
ein Komandozeilentool zur olsr-netz-routen Analyse. Es zeigt kontinuierlich die aktuelle Route zum angegebenen Ziel (inklusive wechseln, dead ends, und Zirkelrouten), aber dazu nicht die Roundtripzeiten sondern die Verbindungsqualität der benutzten Hops (lq,nlq,etx, etx in %) die Infos zieht es nicht aus dem olsrd sondern direkt aus den wifi-paketen.(README)
Install: ipkg update; ipkg install fftrace
oder: ipkg install http://www.netwald.net/ff/fftrace_0.2_mipsel.ipk
Aufruf: fftrace <Zieladresse>
mtr
ein Komandozeilentool ähnlich dem Tool Pingplotter, welches kontinuierlich die verwendete Route zum Zielrechner anzeigt. (benötigt lib-ncurses)
Install:
ipkg update; ipkg install mtr
oder
ipkg install http://leipzig.freifunk.net/~tetzlav/freifunk/ipkg/mtr_0.69-1_mipsel.ipk
Usage:
mtr [-hvrctglsni46] [--help] [--version] [--report]
[--report-cycles=COUNT] [--curses] [--gtk]
[--raw] [--split] [--no-dns] [--address interface]
[--psize=bytes/-p=bytes]
[--interval=SECONDS] HOSTNAME [PACKETSIZE]
iptraf
Consolen-Programm, welches den gesamten Traffic eines oder aller Netzwerkschnittstellen geordnet nach Pakettypen anzeigt
Install:
ipkg update; ipkg install iptraf
oder
ipkg install http://katastrophos.net/wrt54g/packages/ncurses_5.2_mipsel.ipk ipkg install http://downloads.openwrt.org/backports/rc4/iptraf_2.7.0-1_mipsel.ipk
Syntax:
iptraf [ -f ] [ { -i iface | -g | -d iface | -s iface | -z iface |
-l iface } [ -t timeout ] [ -B [ -L logfile ] ] ]
Issue the iptraf command with no parameters for menu-driven operation.
These options can also be supplied to the command:
-i iface - start the IP traffic monitor (use "-i all" for all interfaces)
-g - start the general interface statistics
-d iface - start the detailed statistics facility on an interface
-s iface - start the TCP and UDP monitor on an interface
-z iface - shows the packet size counts on an interface
-l iface - start the LAN station monitor ("-l all" for all LAN interfaces)
-B - run in background (use only with one of the above parameters)
-t timeout - when used with one of the above parameters, tells
the facility to run only for the specified number of
minutes (timeout)
-L logfile - when used with -B, allows you to specify an alternate
log file. The log is placed in /var/log/iptraf if a path is not
specified.
-f - Clear all locks and counters. Use with great caution.
Normally used to recover from an abnormal termination.
IPTraf 2.7.0 Copyright (c) Gerard Paul Java 1997-2002
iftop
Zeigt die genutzte Bandbreite geordnet nach IP-Adressen/Hosts Install:
ipkg update; ipkg install iftop
zu starten ist das Programm zB. mit
iftop -BPnNi br0 iftop -BPnNi eth1
Synopsis:
iftop -h | [-npbBP] [-i interface] [-f filter code] [-N net/mask]
-h display this message
-n don't do hostname lookups
-N don't convert port numbers to services
-p run in promiscuous mode (show traffic between other
hosts on the same network segment)
-b don't display a bar graph of traffic
-B Display bandwidth in bytes
-i interface listen on named interface
-f filter code use filter code to select packets to count
(default: none, but only IP packets are counted)
-F net/mask show traffic flows in/out of network
-P show ports as well as hosts
-m limit sets the upper limit for the bandwidth scale
-c config file specifies an alternative configuration file
iftop, version 0.16
copyright (c) 2002 Paul Warren <pdw@ex-parrot.com> and contributors
cutter
Consolen-Programm, welches bestehende TCP/IP-Verbindungen trennen kann - praktisch wenn ein Client zuviele/"böse" Verbindungen aufbaut/offen hat.
Install:
ipkg update; ipkg install cutter
Usage:
cutter ip [ port [ ip [ port ] ] ]
stumbler
siehe Stumbler
mit dem Computer
- tracert / traceroute
- mtr (siehe oben)
- Ping Plotter (Plattform: Windows | Sprache: Englisch): komfortables Tracerouting-Tool. Man gibt eine Zieladresse (IP oder DNS) ein und Ping Plotter zeigt die einzelnen Stationen an, die ein Ping dorthin passiert, sowie die Zeit, die er für jeden Hob benötigt. Die Version 1.10 ist Freeware (Download | Tutorial).
- PumpKIN (Plattform: Windows | Sprache: Englisch): ein TFTP-Server und -Client, nützlich zum Flashen via TFTP. PumpKIN ist Freeware (Download | FAQ).