Posts

Showing posts with the label networking

Linux networking #1

$ sudo route $ sudo vi /etc/resolveconf/resolv.conf.d/base $ sudo /etc/init.d/resolvconf restart

Some trouble shooting that I just found and use :) #1

KVM machine in my office turn on with its kvm's instances. But some of them don't got an IP, even network interface card. So here is what i have found. $ sudo ifconfig eth0 up   # to bring up eth0 $ sudo dhclient -r   # release ip  $ sudo dhclient   # obtain ip ref cyberbiz website

Linux networking issue #1

Change route     $ sudo route Delete default gateway     $ sudo route del default Add new default gateway     $ sudo route add default gw xxx.xxx.xxx.xxx Bring up/down interface     $ sudo ifconfig up/down Config network     $ sudo vi /etc/network/interfaces Restart/Stop/Start network     $ sudo /etc/init.d/networking restart/stop/start Release IP from dhcp     $ dhclient -r Get Fresh IP from dhcp     $ dhclient Ref:Japman, InfraGuy.

Topic: How to detect computer in promiscuous mode

nmap with nmap.org/svn/scripts/sniffer-detect.nse how to use >> nmap --script=sniffer-detect.nse other can find by google with keyword 'detect promiscuous mode computer' thank ref - http://www.markmmanning.com/blog/2009/03/detecting-computers-in-promiscuous-mode.html

Setting for Kubuntu (sing)

sec WEP: Hex or Ascii for 64 or 128 aut:shared key