Arping command to include a fake arp table in the router

I was trying to mimic the man in the middle attack by trying to hardcode a row in the Arp table. I was going through some of the documents which showed how to do it in normal linux systems.

I want to do it in Openwrt linux platform

 arping -c 1 -U -s 192.168.1.5 -I eth1 192.168.1.10

This command I used in my laptop linux environment which works perfect.
But when used in Openwrt.

-ash: arping not found

Any solution how to make it work?

https://openwrt.org/packages/table/start?dataflt[Name_pkg-dependencies*~]=arping

1 Like

root@OpenWrt:~# opkg install iputils-arping
Unknown package 'iputils-arping'.
Collected errors:

  • opkg_install_cmd: Cannot install package iputils-arping.

Did you run opkg update first?

3 Likes