Kitz Forum

Broadband Related => Router Monitoring Software => Topic started by: roseway on July 07, 2013, 04:55:31 PM

Title: A little help requested
Post by: roseway on July 07, 2013, 04:55:31 PM
Could I ask a few people with standard Broadcom-based modem/routers to log into the telnet interface and copy the output of the command ifconfig here, with a note of the router model. This will help in obtaining traffic data. Thank you.

Title: Re: A little help requested
Post by: rhohne on July 07, 2013, 06:22:53 PM
HG610 - atm1

Code: [Select]
# ifconfig
atm1      Link encap:Ethernet  HWaddr 00:E0:4D:22:C5:59 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:891226 errors:0 dropped:0 overruns:0 frame:0
          TX packets:544547 errors:16 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1104529603 (1.0 GiB)  TX bytes:62193194 (59.3 MiB)

br0       Link encap:Ethernet  HWaddr 00:E0:4D:22:C5:58 
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:671874 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1011377 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:69204593 (65.9 MiB)  TX bytes:1166076891 (1.0 GiB)

eth0      Link encap:Ethernet  HWaddr 00:E0:4D:22:C5:58 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:690617 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1011341 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:82497877 (78.6 MiB)  TX bytes:1170669943 (1.0 GiB)
          Interrupt:40 Base address:0x6a00

eth0.4    Link encap:Ethernet  HWaddr 00:E0:4D:22:C5:58 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:690617 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1011341 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:82497877 (78.6 MiB)  TX bytes:1170669943 (1.0 GiB)
         

imq0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 
          UP RUNNING NOARP  MTU:16000  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:11000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

imq1      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 
          UP RUNNING NOARP  MTU:16000  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:11000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

imq2      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 
          UP RUNNING NOARP  MTU:16000  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:11000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:107 errors:0 dropped:0 overruns:0 frame:0
          TX packets:107 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:7624 (7.4 KiB)  TX bytes:7624 (7.4 KiB)

pktcmf_sa Link encap:UNSPEC  HWaddr FE-FF-FF-FF-FF-FF-FF-FF-00-00-00-00-00-00-00-00 
          UP NOTRAILERS RUNNING NOARP  MTU:0  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:50 Base address:0x5220

pktcmf_sw Link encap:UNSPEC  HWaddr FE-FF-FF-FF-FF-FF-FF-FF-00-00-00-00-00-00-00-00 
          UP NOTRAILERS RUNNING NOARP  MTU:0  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:42 Base address:0x6a40

ppp256    Link encap:Point-to-Point Protocol 
          inet addr:31.185.159.239  P-t-P:195.166.128.187  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:32725  Metric:1
          RX packets:889646 errors:0 dropped:0 overruns:0 frame:0
          TX packets:542983 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:1103776170 (1.0 GiB)  TX bytes:54694945 (52.1 MiB)
Title: Re: A little help requested
Post by: rhohne on July 07, 2013, 06:24:04 PM
HG622 - 0.0.38
Code: [Select]
# ifconfig
0.0.38    Link encap:Ethernet  HWaddr 04:C0:6F:E8:B8:85 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:14853068 errors:16 dropped:0 overruns:0 frame:0
          TX packets:7805432 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3316101607 (3.0 GiB)  TX bytes:568466276 (542.1 MiB)

br0       Link encap:Ethernet  HWaddr 04:C0:6F:E8:B8:84 
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1182842 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2450347504 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:72967941 (69.5 MiB)  TX bytes:1626648668 (1.5 GiB)

eth0      Link encap:Ethernet  HWaddr 04:C0:6F:E8:B8:84 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3828791 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4255766 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:446918015 (426.2 MiB)  TX bytes:124306774 (118.5 MiB)
          Interrupt:40 Base address:0x6a00

eth0.5    Link encap:Ethernet  HWaddr 04:C0:6F:E8:B8:84 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3828791 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4255766 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:446918015 (426.2 MiB)  TX bytes:124306774 (118.5 MiB)

imq0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 
          UP RUNNING NOARP  MTU:16000  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:11000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

imq1      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 
          UP RUNNING NOARP  MTU:16000  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:11000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

imq2      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 
          UP RUNNING NOARP  MTU:16000  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:11000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:17064 errors:0 dropped:0 overruns:0 frame:0
          TX packets:17064 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1884769 (1.7 MiB)  TX bytes:1884769 (1.7 MiB)

ppp256    Link encap:Point-to-Point Protocol 
          inet addr:87.112.46.245  P-t-P:195.166.128.183  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:32725  Metric:1
          RX packets:306447 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2915020635 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:42993400 (41.0 MiB)  TX bytes:1578269768 (1.4 GiB)

sar       Link encap:UNSPEC  HWaddr FE-FF-FF-FF-FF-FF-FF-FF-00-00-00-00-00-00-00-00 
          UP NOTRAILERS RUNNING NOARP  MTU:0  Metric:1
          RX packets:11506022 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11506022 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3942777940 (3.6 GiB)  TX bytes:3942797412 (3.6 GiB)
          Interrupt:50 Base address:0x5220

swc       Link encap:UNSPEC  HWaddr FE-FF-FF-FF-FF-FF-FF-FF-00-00-00-00-00-00-00-00 
          UP NOTRAILERS RUNNING NOARP  MTU:0  Metric:1
          RX packets:4922500 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:264528175 (252.2 MiB)  TX bytes:0 (0.0 B)
          Interrupt:42 Base address:0x6a40
Title: Re: A little help requested
Post by: rhohne on July 07, 2013, 06:25:24 PM
DG834GT - ppp0

Code: [Select]
# ifconfig
ath0      Link encap:Ethernet  HWaddr 00:18:4D:41:A6:6E 
          UP BROADCAST RUNNING MULTICAST  MTU:2290  Metric:1
          RX packets:6383083 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10764109 errors:0 dropped:526 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:729840533 (696.0 MiB)  TX bytes:781164068 (744.9 MiB)

br0       Link encap:Ethernet  HWaddr 00:18:4D:41:A6:6E 
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING ALLMULTI MULTICAST  MTU:1500  Metric:1
          RX packets:11968427 errors:0 dropped:0 overruns:0 frame:0
          TX packets:23277754 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:947111915 (903.2 MiB)  TX bytes:1181295160 (1.0 GiB)

eth0      Link encap:Ethernet  HWaddr 00:18:4D:41:A6:6E 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6444213 errors:0 dropped:0 overruns:0 frame:0
          TX packets:13809969 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1064729413 (1015.4 MiB)  TX bytes:1153375429 (1.0 GiB)
          Interrupt:30 Base address:0x6800

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:47682 errors:0 dropped:0 overruns:0 frame:0
          TX packets:47682 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:17173825 (16.3 MiB)  TX bytes:17173825 (16.3 MiB)

ppp0      Link encap:Point-to-Point Protocol 
          inet addr:46.208.143.176  P-t-P:195.166.128.186  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP ALLMULTI MULTICAST  MTU:1458  Metric:1
          RX packets:18658037 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8895481 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:4062198680 (3.7 GiB)  TX bytes:718827521 (685.5 MiB)

wifi0     Link encap:Ethernet  HWaddr 00:18:4D:41:A6:6E 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6450196 errors:0 dropped:0 overruns:0 frame:1863239
          TX packets:10788432 errors:6656 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:199
          RX bytes:994240457 (948.1 MiB)  TX bytes:1207800659 (1.1 GiB)
          Interrupt:32 Memory:a8000000-a8010000
Title: Re: A little help requested
Post by: rhohne on July 07, 2013, 06:32:42 PM
I have also seen it on pppoa1, but not sure what the model was.

Since the interface counters reset on a new session could these be used to detect a new ppp session ?

From what I've seen the Huawei's tend to split information over two interfaces with the main wan info on ppp256, but traffic info on another interface.
Title: Re: A little help requested
Post by: roseway on July 07, 2013, 06:39:03 PM
Many thanks. On those models it looks as though the ppp*** interfaces contain the total traffic, because they contain the largest numbers, but I realise that isn't very scientific.

Sorry, I wasn't looking carefully enough. I agree with your assessments.

Title: Re: A little help requested
Post by: c6em on July 07, 2013, 07:41:31 PM
Dlink 2640B
(Real IP address in data replaced by  a load of *********)

> ifconfig
  ifconfig
br0             Link encap:Ethernet  HWaddr 00:22:B0:9C:28:BC 
                inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
                UP BROADCAST RUNNING ALLMULTI MULTICAST  MTU:1500  Metric:1
                RX packets:4075310 errors:0 dropped:0 overruns:0 frame:0
                TX packets:5602372 errors:0 dropped:0 overruns:0 carrier:0
                collisions:0 txqueuelen:0
                RX bytes:399004192 (380.5 MiB)  TX bytes:2554922584 (2.3 GiB)

eth0            Link encap:Ethernet  HWaddr 00:22:B0:9C:28:BC 
                UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
                RX packets:4057748 errors:0 dropped:0 overruns:0 frame:0
                TX packets:5565636 errors:0 dropped:0 overruns:0 carrier:0
                collisions:0 txqueuelen:1000
                RX bytes:470995698 (449.1 MiB)  TX bytes:2526394371 (2.3 GiB)
                Interrupt:30 Base address:0x6800

lo              Link encap:Local Loopback 
                inet addr:127.0.0.1  Mask:255.0.0.0
                UP LOOPBACK RUNNING  MTU:16436  Metric:1
                RX packets:3995 errors:0 dropped:0 overruns:0 frame:0
                TX packets:3995 errors:0 dropped:0 overruns:0 carrier:0
                collisions:0 txqueuelen:0
                RX bytes:2434587 (2.3 MiB)  TX bytes:2434587 (2.3 MiB)

ppp_0_38_1      Link encap:Point-Point Protocol 
                inet addr:************    P-t-P:195.166.128.191  Mask:255.255.255.255
                UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:32725  Metric:1
                RX packets:3053842 errors:0 dropped:0 overruns:0 frame:0
                TX packets:2216991 errors:0 dropped:0 overruns:0 carrier:0
                collisions:0 txqueuelen:3
                RX bytes:3808303435 (3.5 GiB)  TX bytes:227483328 (216.9 MiB)

wl0             Link encap:Ethernet  HWaddr 02:22:B0:9C:28:BC 
                UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
                RX packets:17534 errors:0 dropped:0 overruns:0 frame:29183
                TX packets:48311 errors:41 dropped:0 overruns:0 carrier:0
                collisions:0 txqueuelen:1000
                RX bytes:1290557 (1.2 MiB)  TX bytes:56570566 (53.9 MiB)
                Interrupt:32

>
Title: Re: A little help requested
Post by: roseway on July 07, 2013, 08:10:06 PM
Thanks c6em. ppp_0_38_1 looks like the right interface here.

Title: Re: A little help requested
Post by: sheddyian on July 08, 2013, 12:02:20 AM

HG533 as supplied by TalkTalk


Code: [Select]
# ifconfig
br0       Link encap:Ethernet  HWaddr 5C:7D:5E:CF:12:4C
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING ALLMULTI MULTICAST  MTU:1500  Metric:1
          RX packets:2000719 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1855636 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:730070469 (696.2 MiB)  TX bytes:1275285004 (1.1 GiB)

eth0      Link encap:Ethernet  HWaddr 5C:7D:5E:CF:12:4C
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4259264 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3909174 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2086859989 (1.9 GiB)  TX bytes:2054824826 (1.9 GiB)
          Interrupt:3

eth0.2    Link encap:Ethernet  HWaddr 5C:7D:5E:CF:12:4C
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2017050 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1855488 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:746410591 (711.8 MiB)  TX bytes:1282664393 (1.1 GiB)

imq0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
-00
          UP RUNNING NOARP  MTU:16000  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:11000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

imq1      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
-00
          UP RUNNING NOARP  MTU:16000  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:11000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

imq2      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
-00
          UP RUNNING NOARP  MTU:16000  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:11000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:77 errors:0 dropped:0 overruns:0 frame:0
          TX packets:77 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:5088 (4.9 KiB)  TX bytes:5088 (4.9 KiB)

nas0      Link encap:Ethernet  HWaddr 5C:7D:5E:CF:12:51
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:18142 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:15886141 (15.1 MiB)  TX bytes:3150 (3.0 KiB)

nas1      Link encap:Ethernet  HWaddr 5C:7D:5E:CF:12:4D
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2224072 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1917424 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1264933561 (1.1 GiB)  TX bytes:775543418 (739.6 MiB)

nas_0_38  Link encap:Ethernet  HWaddr 5C:7D:5E:CF:12:4E
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1742865 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1663527 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1228103000 (1.1 GiB)  TX bytes:738183916 (703.9 MiB)

nas_0_65  Link encap:Ethernet  HWaddr 5C:7D:5E:CF:12:4F
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:253897 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:29689806 (28.3 MiB)

ppp257    Link encap:Point-to-Point Protocol
          inet addr:2.98.118.136  P-t-P:2.98.112.1  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP ALLMULTI MULTICAST  MTU:1432  Metric:1
          RX packets:1703733 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1624395 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:1205857883 (1.1 GiB)  TX bytes:694619098 (662.4 MiB)

wl0       Link encap:Ethernet  HWaddr 5C:7D:5E:CF:12:54
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:84927 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:4692611 (4.4 MiB)  TX bytes:0 (0.0 B)
          Interrupt:4

#

Ian
Title: Re: A little help requested
Post by: roseway on July 08, 2013, 07:19:47 AM
Thanks Ian.
Title: Re: A little help requested
Post by: roseway on July 09, 2013, 11:41:07 AM
Thanks for those responses. It's quite clear that there's no simple general way to get the traffic data - each modem/router seems to present the information in a different way, and it's not always clear which interface is the appropriate one. The Thomson/Technicolor models seem to have a consistent command, but for the remainder I'm going to have to build some sort of database of models with the applicable commands and interfaces. Initially at least it will be a very incomplete database, and I'll provide configurable options for users to make their own choices.

I have to say that adding usage data to DSLstats is going to be firmly in the experimental area for some time, but I'll make sure that it doesn't interfere with the normal operation of the program.
Title: Re: A little help requested
Post by: BritBrat on July 09, 2013, 02:43:59 PM
Hope I got this right:

Billion 7800N

Code: [Select]
> ifconfig
br0             Link encap:Ethernet  HWaddr 00:04:ED:8C:F6:1D 
                inet addr:192.168.0.254  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::204:edff:fe8c:f61d/64 Scope:Link
                UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
                RX packets:46984662 errors:0 dropped:0 overruns:0 frame:0
                TX packets:75450440 errors:0 dropped:0 overruns:0 carrier:0
                collisions:0 txqueuelen:0
                RX bytes:5161238646 (4.8 GiB)  TX bytes:92727966395 (86.3 GiB)

eth1            Link encap:Ethernet  HWaddr 00:04:ED:DB:1A:8D 
                UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
                RX packets:33402392 errors:0 dropped:0 overruns:0 frame:0
                TX packets:40415116 errors:0 dropped:0 overruns:0 carrier:0
                collisions:0 txqueuelen:1000
                RX bytes:17610173889 (16.4 GiB)  TX bytes:42250475016 (39.3 GiB)
                Interrupt:25 Base address:0x5120

lo              Link encap:Local Loopback 
                inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
                UP LOOPBACK RUNNING  MTU:16436  Metric:1
                RX packets:8 errors:0 dropped:0 overruns:0 frame:0
                TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
                collisions:0 txqueuelen:0
                RX bytes:704 (704.0 B)  TX bytes:704 (704.0 B)

ppp_0_0_38_1    Link encap:Point-Point Protocol 
                inet addr:176.25.216.192  P-t-P:2.127.238.111  Mask:255.255.255.255
                UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
                RX packets:2491367 errors:0 dropped:0 overruns:0 frame:0
                TX packets:1444112 errors:0 dropped:0 overruns:0 carrier:0
                collisions:0 txqueuelen:3
                RX bytes:2577787938 (2.4 GiB)  TX bytes:139262519 (132.8 MiB)

ra0             Link encap:Ethernet  HWaddr 00:04:ED:8C:F6:1D 
                UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
                RX packets:34838791 errors:0 dropped:0 overruns:0 frame:0
                TX packets:59152866 errors:0 dropped:2 overruns:0 carrier:0
                collisions:0 txqueuelen:1000
                RX bytes:3633429472 (3.3 GiB)  TX bytes:66818855792 (62.2 GiB)
                Interrupt:39

>
Title: Re: A little help requested
Post by: roseway on July 09, 2013, 03:24:50 PM
That's excellent, thank you BB. I should think that ppp_0_0_38_1 is the appropriate interface here, but I have no idea what ra0 is.