Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save RobertCNelson/392a512ef0e45980bbe0e6a528a8cefb to your computer and use it in GitHub Desktop.

Select an option

Save RobertCNelson/392a512ef0e45980bbe0e6a528a8cefb to your computer and use it in GitHub Desktop.
debian@beaglebone:~$ sudo netstat -tulpn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 1550/apache2
tcp 0 0 0.0.0.0:53 0.0.0.0:* LISTEN 463/dnsmasq
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 943/sshd
tcp6 0 0 :::80 :::* LISTEN 1/init
tcp6 0 0 :::53 :::* LISTEN 463/dnsmasq
tcp6 0 0 :::22 :::* LISTEN 943/sshd
tcp6 0 0 :::1880 :::* LISTEN 1/init
tcp6 0 0 :::3000 :::* LISTEN 1/init
udp 0 0 0.0.0.0:53 0.0.0.0:* 463/dnsmasq
udp 0 0 0.0.0.0:67 0.0.0.0:* 463/dnsmasq
udp 0 0 0.0.0.0:55876 0.0.0.0:* 370/avahi-daemon: r
udp 0 0 0.0.0.0:59559 0.0.0.0:* 992/connmand
udp 0 0 0.0.0.0:5353 0.0.0.0:* 370/avahi-daemon: r
udp6 0 0 :::53 :::* 463/dnsmasq
udp6 0 0 :::49839 :::* 370/avahi-daemon: r
udp6 0 0 :::5353 :::* 370/avahi-daemon: r
debian@beaglebone:~$ sudo netstat -au
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
udp 0 0 *:domain *:*
udp 0 0 *:bootps *:*
udp 0 0 *:55876 *:*
udp 0 0 *:59559 *:*
udp 0 0 beaglebone:36313 DD-WRT:domain ESTABLISHED
udp 0 0 *:mdns *:*
udp6 0 0 [::]:domain [::]:*
udp6 0 0 [::]:49839 [::]:*
udp6 0 0 [::]:mdns [::]:*
debian@beaglebone:~$ cat /etc/dogtag
BeagleBoard.org Debian Image 2016-05-01
debian@beaglebone:~$ sudo netstat -tulpn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:53 0.0.0.0:* LISTEN 914/dnsmasq
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1961/sshd
tcp6 0 0 :::8080 :::* LISTEN 1194/apache2
tcp6 0 0 :::53 :::* LISTEN 914/dnsmasq
tcp6 0 0 :::22 :::* LISTEN 1961/sshd
tcp6 0 0 :::3000 :::* LISTEN 1/init
tcp6 0 0 :::1880 :::* LISTEN 1/init
udp 0 0 0.0.0.0:5353 0.0.0.0:* 826/avahi-daemon: r
udp 0 0 0.0.0.0:53 0.0.0.0:* 914/dnsmasq
udp 0 0 0.0.0.0:56892 0.0.0.0:* 826/avahi-daemon: r
udp 0 0 0.0.0.0:67 0.0.0.0:* 914/dnsmasq
udp6 0 0 :::5353 :::* 826/avahi-daemon: r
udp6 0 0 :::47663 :::* 826/avahi-daemon: r
udp6 0 0 :::53 :::* 914/dnsmasq
debian@beaglebone:~$ sudo netstat -au
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
udp 0 0 beaglebone:42328 DD-WRT:domain ESTABLISHED
udp 0 0 *:mdns *:*
udp 0 0 *:domain *:*
udp 0 0 *:56892 *:*
udp 0 0 *:bootps *:*
udp6 0 0 [::]:mdns [::]:*
udp6 0 0 [::]:47663 [::]:*
udp6 0 0 [::]:domain [::]:*
debian@beaglebone:~$ cat /etc/dogtag
BeagleBoard.org Debian Image 2016-09-11
debian@beaglebone:~$ sudo /etc/init.d/dnsmasq stop
Stopping dnsmasq (via systemctl): dnsmasq.service.
debian@beaglebone:~$ sudo netstat -tulpn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1961/sshd
tcp6 0 0 :::8080 :::* LISTEN 1194/apache2
tcp6 0 0 :::22 :::* LISTEN 1961/sshd
tcp6 0 0 :::3000 :::* LISTEN 1/init
tcp6 0 0 :::1880 :::* LISTEN 1/init
udp 0 0 0.0.0.0:5353 0.0.0.0:* 826/avahi-daemon: r
udp 0 0 0.0.0.0:56892 0.0.0.0:* 826/avahi-daemon: r
udp6 0 0 :::5353 :::* 826/avahi-daemon: r
udp6 0 0 :::47663 :::* 826/avahi-daemon: r
debian@beaglebone:~$ sudo netstat -au
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
udp 0 0 beaglebone:42328 DD-WRT:domain ESTABLISHED
udp 0 0 *:mdns *:*
udp 0 0 *:56892 *:*
udp6 0 0 [::]:mdns [::]:*
udp6 0 0 [::]:47663 [::]:*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment