Many home users power off their home computers and servers when they are not being used. Each of you had already this problem, you need very quickly your PC or server and you press the power-ON button and now you can wait.
File system Check!
The check seems to take forever, you can go and make coffee, and the system boot won’t resume until the check is over. [Read more…]
Archives for June 2011
WordPress Munin Plugin
The original Plugin was written by Chris Bair, after some tunings it worked fine for me.
I made some useful modifications to this Plugin:
– Visualization of the number of Drafts
– Set table prefix (I hate hardcodet things)
And now how to use it, first you need to create a configuration file for the plugin(replace the needed credentials) [Read more…]
Weekend Security Check
Some of my servers providing FTP service and I check every weekend all the uploaded and system files for viruses and rootkits.
If somebody starts a upload, nobody think about potential danger e.g. virus.
You can start all this checks separated or as a script.
Here are some examples: [Read more…]
NIC PROMISC mode
It was a little bit strange situation, I found my outer interface in a PROMISC mode.
“ip a” or “ifconfig” output shows that my eth0 interface was in the PROMISC mode, but I don’t understand, why?
1 2 | eth0: <broadcast,multicast,promisc,up,lower_up> mtu 1500 ... </broadcast,multicast,promisc,up,lower_up> |
I don’t used tcpdump or similar tools in this moment.
After I spend some time to my favorite search engine, I found how to disable manually this mode:
1 | ifconfig eth0 -promisc |
Juniper clear arp entrys
Sending IP packets on a multiaccess network requires mapping from an IP address to a MAC address (physical/hardware address like 00:02:b6:34:6a:2f).
In an ethernet environment, ARP is used to map a MAC address to an IP address.
ARP dynamically binds the IP address to the correct MAC address.
You need a SSH Access to your juniper to proceed!
Show all ARP entrys:
1 | ssg5-> get arp |
Clear all dynamic entries from the ARP cache.
1 | ssg5-> clear arp all |
Also you can clear a single ARP entry:
1 | ssg5-> clear arp 192.168.201.9 |