#!/bin/bash echo -e "uname -a" > systemausgabe.txt uname -a >> systemausgabe.txt echo -e "\n\nlsusb" >> systemausgabe.txt lsusb >> systemausgabe.txt echo -e "\n\nip link" >> systemausgabe.txt ip link >> systemausgabe.txt echo -e "\n\nip -a addr" >> systemausgabe.txt ip -4 addr >> systemausgabe.txt echo -e "\n\nip -a route" >> systemausgabe.txt ip -4 route >> systemausgabe.txt echo -e "\n\nip -a neigh" >> systemausgabe.txt ip -4 neigh >> systemausgabe.txt echo -e "\n\nnmcli general ; nmcli device ; nmcli connection" >> systemausgabe.txt nmcli general ; nmcli device ; nmcli connection >> systemausgabe.txt echo -e "\n\nls -l /etc/resolv.conf" >> system.tx ls -l /etc/resolv.conf >> systemausgabe.txt echo -e "\n\ncat /etc/resolv.conf" >> systemausgabe.txt cat /etc/resolv.conf >> systemausgabe.txt echo -e "\n\ncat /etc/hosts" >> systemausgabe.txt cat /etc/hosts >> systemausgabe.txt echo -e "\n\nsudo ss -pan 'sport = 53'" >> systemausgabe.txt sudo ss -pan 'sport = 53' >> systemausgabe.txt echo -e "\n\nping -c 2 $(ip -4 route show default | grep -o '[0-9]*[.][.0-9]*' )" >> systemausgabe.txt ping -c 2 $(ip -4 route show default | grep -o '[0-9]*[.][.0-9]*' ) >> systemausgabe.txt echo -e "\n\nping -c 2 213.95.41.4" >> systemausgabe.txt ping -c 2 213.95.41.4 >> systemausgabe.txt echo -e "\n\nping -c 2 www.ubuntuusers.de" >> systemausgabe.txt ping -c 2 www.ubuntuusers.de >> systemausgabe.txt echo -e "\n\nrfkill list" >> systemausgabe.txt rfkill list >> systemausgabe.txt echo -e "\n\nlsmod" >> systemausgabe.txt lsmod >> systemausgabe.txt echo -e "\n\niwconfig" >> systemausgabe.txt iwconfig >> systemausgabe.txt echo -e "\n\niwlist chan" >> systemausgabe.txt iwlist chan >> systemausgabe.txt echo -e "\n\nsudo iwlist scan" >> systemausgabe.txt sudo iwlist scan >> systemausgabe.txt echo -e "\n\negrep -i 'net|eth|wlan|firm|reason' /var/log/syslog" >> systemausgabe.txt egrep -i 'net|eth|wlan|firm|reason' /var/log/syslog >> systemausgabe.txt echo -e "\n\ndmesg | egrep 'net|eth|sky|sun|sis|via|3c3|3c5|e100|8139|8169|acx|air|ath|atl|ar9|carl|atme|at7|herm|iwl|ipw|rtl8|r81|rt2|rt3|rt6|rt7|tg3|ssb|wl|b43|b44|ori|p>dmesg | egrep 'net|eth|sky|sun|sis|via|3c3|3c5|e100|8139|8169|acx|air|ath|atl|ar9|carl|atme|at7|herm|iwl|ipw|rtl8|r81|rt2|rt3|rt6|rt7|tg3|ssb|wl|b43|b44|ori|pri|p5|zd|ndis> dmesg | egrep 'net|eth|sky|sun|sis|via|3c3|3c5|e100|8139|8169|acx|air|ath|atl|ar9|carl|atme|at7|herm|iwl|ipw|rtl8|r81|rt2|rt3|rt6|rt7|tg3|ssb|wl|b43|b44|ori|pri|p5|zd|ndis>