I am having trouble calling ARP from my shells. I can call it fine from my command line, but once I put it in a shell, it doesn't work. Example of shell:
___________________________
|#!/bin/sh
|
|arp
___________________________
Obviously I want to do more with arp, but I need to be able to call arp first. On my Debian box, I can run that script fine and I know that arp is located at /usr/sbin/arp
However, I can't find the location on my Linksys. if I do a "find / -name arp" the only thing I get back is /proc/net/arp which is an empty text file as far as I can tell. Any ideas? I am trying to write a simple script that will give back the Mac address of the wan gateway on IP up.
Maybe I need to change the heading of my script from #!/bin/sh to something else, but I am not sure what that something else is.
Thanx in advance for any help. I promise to post this to the mini howtos once I get it all figured out.