Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Suppose I have a printer in my network has a Mac Address : 11:22:33:44:55:66 .

Is there a way i can ping it to see if its up or down using its Mac address ?

Any Help ?

share|improve this question
add comment

1 Answer 1

up vote 4 down vote accepted

After some research i have succeeded in pinging my printer by its mac-address by following these steps using arping tool :

First I tried arping that is installed by default in Ubuntu 12.04 , it state unknown host whenever I ping a Mac Address .

I search for the problem and found that newer version of arping stopped this feature .

I search for an old version i found Thomas habets arping. Download It from Herer .

After Download extract it .

Before installation make sure you download libnet Here , and libcap-dev

sudo apt-get install libpcap-dev 

Now it time to install arping 2.13 , open Terminal :

cd /path/to/arpingfolder

./configure

make

make install

Now Navigate to :

cd /usr/local/sbin/

And run the following command :

arping -i (your network interface ) -c 3 11:22:33:44:55:66

enter image description here

For more options type man arping.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.