poniedziałek, 30 marca 2015

how to find all host in network

marek ~ $ nmap -sP 10.91.15.1/24

Starting Nmap 6.46 ( http://nmap.org ) at 2015-03-30 09:20 CEST

Nmap scan report for 10.91.15.1
Host is up (0.064s latency).

Nmap scan report for 10.91.15.2
Host is up (0.24s latency).

Nmap scan report for 10.91.15.3
Host is up (0.26s latency).

Nmap scan report for 10.91.15.59
Host is up (0.041s latency).

Nmap scan report for 10.91.15.61
Host is up (0.31s latency).

Nmap scan report for 10.91.15.234
Host is up (0.00045s latency).

Nmap done: 256 IP addresses (6 hosts up) scanned in 7.67 seconds

alternative:

for i in `nmap -sP 10.91.15.1/24 | grep 10. | awk '{print $5}'`; do ping -c1 $i;done

niedziela, 22 marca 2015

all necessary video codec for fedora

sudo yum install gstreamer gstreamer-ffmpeg gstreamer-plugins-bad gstreamer-plugins-bad-free gstreamer-plugins-bad-nonfree gstreamer-plugins-base gstreamer-plugins-good gstreamer-plugins-ugly gstreamer-plugin-crystalhd gstreamer1-plugins-bad-freeworld gstreamer1-plugins-bad-free gstreamer1-plugins-good gstreamer1-libav ffmpeg
Read more at http://dottech.org/128666/install-media-codecs-audio-video-fedora-guide/#jtu1E9wLSUc0ZGmb.99