Technology and troubleshooting.

Friday, November 11, 2016

Determining if ip address is already in use for device eth0 Centos

This tutorial describes how to fix determining if ip address is already in use for device eth0 while configuring the networking and do a network restart this error may occurred.



root@techlanda ~# service network restart Shutting down interface eth0: [ OK ] Shutting down loopback interface: [ OK ] Bringing up loopback interface: [ OK ] Bringing up interface eth0: Determining if ip address 10.26.112.35 is already in use for device eth0... Determining if ip address 10.26.112.35 is already in use for device eth0... Determining if ip address 10.26.112.35 is already in use for device eth0... root@techlanda ~#


Solution:- Something on the network is replaying that difference MAC address that one cause this error message Determining if ip address is already in use for device eth0. 
Just add this to your interface eth0 file.
ARPCHECK=no

root@techlanda ~# find /etc/sysconfig/network-scripts/ -name ifcfg-eth0\* -type f -exec sh -c 'echo ARPCHECK=no >> $1' -- {} \; root@techlanda ~# cat /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 BOOTPROTO=none NM_CONTROLLED=no ONBOOT=yes TYPE=ethernet NETWORK=10.26.112.0 NETMASK=255.255.255.0 IPADDR=10.26.112.35 ARPCACHE=no root@techlanda ~# service network restart
Shutting down interface eth0: [ OK ]
Shutting down loopback interface: [ OK ] Bringing up loopback interface: [ OK ]
Bringing up interface eth0: [ OK ]
root@techlanda ~#

I hope this information is useful for you. Please forgive any typos or incomplete sentences.

Share:

Tuesday, November 8, 2016

How to fix Excel PasteSpecial grayed out

This tutorial describes how to fix Paste Special, Cut, Copy grayed out issue. This type issue may occurred while open the incompatible excel file which contions marco or working with ITR related excel sheet.


Excel PasteSpecial grayed out
Solution:-
Step #1
Right Click the Sheet1->Open View Code-> Microsoft visual basic wizard will open
View Code
Step #2 
Paste the below the code in the code editor and HIT Enter



Public Sub Menu_Reset()
    CommandBars("column").Reset
    CommandBars("row").Reset
    CommandBars("Cell").Reset
 End Sub

code editor
That's all above code will reset to excel configuration to default.

I hope this information is useful for you. Please forgive any typos or incomplete sentences.
Share: