Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Useful network info

By: medigeek on Jan 27th, 2012  |  syntax: None  |  size: 0.41 KB  |  views: 168  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Run the commands one-by-one, and copy-paste the output to a new pastebin
  2. lspci -nn # PCI Devices
  3. lsusb # USB Devices
  4. sudo lshw -C network # Network info
  5. lsmod # Kernel modules
  6.  
  7. ifconfig # Wireless / Wired connection info
  8. iwconfig # Wireless
  9. cat /etc/network/interfaces
  10. cat /etc/resolv.conf # DNS servers
  11. nm-tool # Network manager status, wireless / wired connection info
  12.  
  13. dmesg > dmesg.log
  14. gedit dmesg.log