April 2009

The Archives

  • 04.09.09
    ARP control and information network | n0str0m0 | (0)
    ARP is the protocol used to map IP to hardware addresses. This information is kept in a cache for some time (20 m. in the original implementation). The arp command can help you to know and control the ARP cache (This command is from a FreeBSD 7.1 box and it could differ in options or flags from your own version): $ arp -a www.brntech.com.tw (192.168.2.1) at 00:13:f7:96:53:02 on re0 [ethernet] Shows all the entries in the arp cache. In my case, I know of my router IP and hardware address. $ arp -i re0 -a The same as the previous one but limiting the scope to ...
  • 04.07.09
    Hearing a beep when your server comes online cmd | rafacas | (0)
    $ ping -i 60 -a host What do you do when you reboot your server? If you run this command you hear a beep when it comes online. The -i 60 option waits for 60 seconds between pings. The -a option includes an audible bell in the output when a packet is received.
  • 04.03.09
    Pulseaudio cmd, fun | n0str0m0 | (0)
    pulseaudio -D Launches the pulseaudio daemon for the active session. Try it. Switch to another terminal (Ctrl + Fx) and see what happens if other users are logged in or not.