Solutionist's Blog

Tech | Health | Life | Travel

Kaspersky anti-virus cuts web access of thousands of PCs

Thousands of computers running Microsoft’s Windows XP operating system were unable to connect to the internet after installing an anti-virus update. Users said they were also unable to access their internal company networks. Russian IT security company Kaspersky Labs told users to disable its anti-virus software or roll back the update. Two hours later it issued […]

add static route in Cantos and make sure it wont loose after reboot

1. Adding Routes [root@localhost ~]# route add -net 10.4.3.0 netmask 255.255.255.0 gw 192.168.129.55 [root@localhost ~]# Or [root@localhost ~]# route add -net 10.4.2.0 netmask 255.255.255.0 dev eth0 [root@localhost ~]# 2. Show routing table [root@localhost ~]# route -n Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.129.0 0.0.0.0 255.255.255.0 U 1 0 0 eth0 10.4.3.0 192.168.129.55 […]

Find out the IP address of eth0 and display IP only

  Now you just wanted the IP address, use grep to get the IP: $ /sbin/ifconfig eth0| grep ‘inet addr:’Output: inet addr:192.168.2.1 Bcast:192.168.2.255 Mask:255.255.255.0 To get IP address from use cut command: $ /sbin/ifconfig eth0 | grep ‘inet addr:’ | cut -d: -f2Output: 192.168.2.1 Bcast Finally remove Bcast with awk $ /sbin/ifconfig eth0 | grep […]

How can i see if an ethernet interface is up/down linux centos

watch ip link show   ip link show 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000 link/ether 50:e5:49:45:3f:96 brd ff:ff:ff:ff:ff:ff 3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000 link/ether 00:0a:cd:20:31:4a brd ff:ff:ff:ff:ff:ff 4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000 link/ether […]

Fix: Cyrus-IMAP Logging region out of memory cirus imap

I found out that the Cyrus-IMAP’s database is flagging with errors as below: [root@mail ~]# tail -n 100 -f /var/log/maillog Mar 24 10:36:14 mail lmtpunix[4017]: executed Mar 24 10:36:14 mail lmtpunix[4017]: DBERROR db4: Logging region out of memory; you may need to increase its size Mar 24 10:36:14 mail lmtpunix[4017]: DBERROR: opening /var/lib/imap/deliver.db: Cannot allocate memory Mar 24 10:36:14 mail lmtpunix[4017]: […]

Twitter: Hackers target 250,000 users

A quarter of a million Twitter users have had their accounts compromised in the latest of a string of high-profile internet security breaches. Twitter’s information security director Bob Lord said about 250,000 users’ passwords had been stolen, as well as usernames, emails and other data. Affected users have had passwords invalidated and have been sent […]

Huawei launches Windows phone in Afric

Chinese telecoms giant Huawei has unveiled a bespoke Windows-run smartphone exclusively available in Africa. The customised device is being launched today in partnership with Microsoft as part of its new 4Afrika Initiative. This includes plans to develop cheap wireless broadband in the Rift Valley in Kenya and help local people in South Africa and Egypt develop Windows […]

Secured By miniOrange