|
From: Jamie C. <jca...@we...> - 2006-04-03 16:39:28
|
Hi Ryan, If logging is workign properly, you should see each packet that goes via xl0 logged to /var/log/bandwidth. This file then gets periodically truncated and summarized into the /etc/webmin/bandwidth/hours directory, so that it can be viewed in the Bandwidth Module. Is anything being written to /var/log/bandwidth on your system? - Jamie On 3/Apr/2006 03:20 RYAN vAN GINNEKEN wrote .. > noticed this in /etc/syslog > local7.debug /var/log/bandwidth > !startslip > *.* > /var/log/slip.log > !ppp > *.* > /var/log/ppp.log > > > There was some stuff (not much about 50 lines)in > /var/log/bandwidth but when i did update > statistics is seemed to disappear > > Aha solved that part it was the default Directory > for bandwidth data /etc/webmin/bandwidth/hours on > bsd it is /usr/local/etc/webmin/bandwidth i tried > the hours part but i does not exist should be fine > in the fore mentioned dir right? > > Still seems weird that all i get is dhcp crap wait > a minute thats xll thats not right at all xll is > my inside interface. Should be logging xl0 > according the lines added to ifp.rules what is > groin on. > > Apr 3 02:01:39 tokyo dhcpd: DHCPREQUEST for > 192.168.0.24 from 00:02:2d:56:7e:f4 > Apr 3 02:01:39 tokyo dhcpd: DHCPACK on > 192.168.0.24 to 00:02:2d:56:7e:f4 (LAPTO > Apr 3 02:02:35 tokyo dhcpd: DHCPREQUEST for > 192.168.0.10 from 00:0a:5e:51:71:48 > Apr 3 02:02:35 tokyo dhcpd: DHCPACK on > 192.168.0.10 to 00:0a:5e:51:71:48 via xl > Apr 3 02:06:39 tokyo dhcpd: Wrote 0 deleted host > decls to leases file. > Apr 3 02:06:39 tokyo dhcpd: Wrote 0 new dynamic > host decls to leases file. > Apr 3 02:06:39 tokyo dhcpd: Wrote 21 leases to > leases file. > Apr 3 02:06:39 tokyo dhcpd: DHCPREQUEST for > 192.168.0.24 from 00:02:2d:56:7e:f4 > Apr 3 02:06:39 tokyo dhcpd: DHCPACK on > 192.168.0.24 to 00:02:2d:56:7e:f4 (LAPTO > Apr 3 02:07:35 tokyo dhcpd: DHCPREQUEST for > 192.168.0.10 from 00:0a:5e:51:71:48 > Apr 3 02:07:35 tokyo dhcpd: DHCPACK on > 192.168.0.10 to 00:0a:5e:51:71:48 via xl > Apr 3 02:11:39 tokyo dhcpd: DHCPREQUEST for > 192.168.0.24 from 00:02:2d:56:7e:f4 > Apr 3 02:11:39 tokyo dhcpd: DHCPACK on > 192.168.0.24 to 00:02:2d:56:7e:f4 (LAPT > > > ----- Jamie Cameron <jca...@we...> wrote: > > On 2/Apr/2006 16:53 RYAN vAN GINNEKEN wrote .. > > > Jamie Cameron wrote: > > > > > > >On 2/Apr/2006 03:22 RYAN M. vAN GINNEKEN wrote .. > > > > > > > > > > > >>Hello again all i have another question i cannot get my bandwidth > > module > > > >>to work either with webmin or with virtual webmin. I turned it on > > in > > > both > > > >>and set the type to ipfirewall in the bandwidth module config but > > it > > > always > > > >>states there is no data collected. > > > >> > > > >>ps it has been on for a month should be some data by now? > > > >> > > > >> > > > > > > > >It certainly should have! > > > >You are using FreeBSD there, right? > > > > > > > Yes Sir > > > > > > > If you go to the IPFW module, does it > > > >show logging rules created by the Bandwidth Module? > > > > > > > Not sure i have alot of rules what am i looking for exactly? > > > > It should be one that allows traffic from anywhere to anywhere via > > the selected interface, and has logging enabled. > > > Looks like webmin has added the nessary lines > would these be them > > > log level local7.debug out on xl0 all > log level local7.debug in on xl0 all > > ps thank for all your help Jamie hope i am not > being to bothersome. Webmin is great it was way > to much for me at first, where to begin i was > overwelmed it could do everything for me. At the > same time I could see how much time and patients > it was going to take. With your help it is > turning out to be a life saver i mean clicking > create virtual domain and watching virtual min do > everything for me makes me smile ear to ear THANKS. > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > - > Forwarded by the Webmin mailing list at web...@li... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-list |