tails-debugging-info 1020 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
#!/bin/sh

debug_command() {
    echo
    echo "===== output of command $@ ====="
    "$@"
}

debug_file() {
    echo
    echo "===== content of $1 ====="
    cat $1
}

15 16 17
debug_command /usr/sbin/dmidecode -s system-manufacturer
debug_command /usr/sbin/dmidecode -s system-product-name
debug_command /usr/sbin/dmidecode -s system-version
18 19 20
debug_command "/bin/dmesg"
debug_command "/bin/lsmod"
debug_command "/usr/bin/lspci"
21
debug_command grep spoof-mac: /var/log/messages
22 23

debug_file "/etc/X11/xorg.conf"
24
debug_file "/home/amnesia/.xsession-errors"
25 26 27
debug_file "/proc/asound/cards"
debug_file "/proc/asound/devices"
debug_file "/proc/asound/modules"
28
debug_file "/var/log/Xorg.0.log"
29 30
debug_file "/var/log/gdm3/:0-slave.log"
debug_file "/var/log/gdm3/:0-greeter.log"
31
debug_file "/var/log/gdm3/tails-greeter.errors"
32
debug_file "/var/log/live-persist"
33 34
debug_file "/var/log/live/boot.log"
debug_file "/var/log/live/config.log"
35
debug_file "/var/lib/gdm3/tails.persistence"
36
debug_file "/var/lib/live/config/tails.physical_security"