Difference between revisions of "Network"

From Linuxintro
imported>ThorstenStaerk
imported>ThorstenStaerk
Line 3: Line 3:
 
* you want a list of [[networking commands]]
 
* you want a list of [[networking commands]]
 
* you want to do [[network troubleshooting]]
 
* you want to do [[network troubleshooting]]
 +
* you want to learn how to [[connect to the net]]
  
 
Networking topics
 
Networking topics

Revision as of 03:37, 5 October 2010

Networking topics

  • fake MAC address
ifconfig eth0 hw ether xx:xx:xx:xx:xx:xx
  • Show all server sockets that are listening
lsof -i
  • Show all connections
netstat -putan
  • listen on a specific port
ngrep -qd lo port 21
  • create WLAN traffic
aireplay -3 -b <MACofAP> -h <MACtoFake> -x 600 eth1