Natmonitor on FreeBSD
z.zorro.z at gmail.com
Fri Oct 14 11:08:56 PDT 2005
There is any one who using Natmonitor ?
the only Nat Monitor that i find on the net is
The only one that show me bandwidth usage on any PC that you have.
i have a FreeBSD 5.3 Gateway on 486 PC with 64 Ram.
a small Hub and 4 PC's
1. FreeBSD 5.4 for Desktop on PIII 450 with 128 Ram.
2. Win2K on PIII 1000 with 384 Ram.
3. RedHat 9.0 on PII with 128 Ram (he has a Desktop KDE but i never use it,
its only for SSH Server, to get in from my work).
I never touch it and I'm going to format it and put FreeBSD 5.4.
4. Win XP Pro on P-IV with 512 Ram (its for my father, not my PC).
my wish is to find a good Nat Monitoring that give me all the information
abut the bandwidth usage traffic.
I see the only program that do it is "natmonitor" from:
I see that its can work on BSD but its for windows/Linux .
I get the file and open it.
I Read the README file and i create a Dir /var/natmonitord i give chmod 777
to the folder /var/natmonitord.
and then i "make natmonitord", then i get the error.
emanuel at Zorro$ sudo make natmonitord
gcc -c natmonitord.c -pipe -Wall
In file included from /usr/include/netinet/if_ether.h:37,
/usr/include/net/if_arp.h:88: error: field `arp_pa' has incomplete type
/usr/include/net/if_arp.h:89: error: field `arp_ha' has incomplete type
*** Error code 1
Stop in /usr/home/emanuel/natmonitor-2.4.
emanuel at Zorro$
I try to open the file /usr/include/net/if_arp.h , and i see in line 88 &
89, (the 2 lines like in the error code).
but I don't know what to do with them.
I try to find help on google.com <http://google.com> and
its look like no one use it :-( (its need to be a good program).
then i see the "REQUIREMENTS: IT MUST BE RUN ON ROUTER MACHINE."
(I run all this on my Desktop FreeBSD 5.4) so i "cp" the file to my FreeBSD
I have an IPFW and NATD on it.
He is also make a PPP conection (pppoe) to an old Alcatel Home.
and the option "router_enable='NO'" on my "rc.conf"
but i get the same Error.
(Its also if the option is "router_enale='YES'" ).
i try to find a port on the net and on
But no luck.
any idea ?
There is a screenshots on :
its Beautiful. It's show you all the bandwidth That using on a local LAN.
If some one can help me, I'll be more then happy.
More information about the freebsd-questions