SamKnows Whitebox - come utilizzarla come router preservando le misurazioni

  • 462 Risposte
  • 218380 Visite

0 Utenti e 1 Visitatore stanno visualizzando questo topic.

Offline Fusgol

  • Nuovo Iscritto
  • *
  • 12
Salve ragazzi, ormai è già qualche giorno che monto la build indicata nel primo post...però c'è un inghippo, se accedo alla mia pagina di samknows, non risulta alcuna misurazione, quindi deduco che non stia funzionando per niente vero? Preciso di aver aggiornato un'ulteriore volta il router con l'open wrt indicato, ma niente da fare. Eppure la spia con le due freccette è fissa, non lampeggiante

livingsilver94

  • Visitatore
Ciao! Puoi postare il tuo System Log?

Offline Fusgol

  • Nuovo Iscritto
  • *
  • 12
Ecco a te

Citazione
Mon Oct  5 03:38:11 2015 daemon.notice netifd: wan (1334): Lease of 192.168.1.82 obtained, lease time 3600
Mon Oct  5 03:42:02 2015 daemon.notice miniupnpd[1680]: remove port mapping 16402 UDP because it has expired
Mon Oct  5 03:51:13 2015 daemon.info dnsmasq-dhcp[1650]: DHCPREQUEST(br-lan) 192.168.1.224 e8:94:f6:48:c2:84
Mon Oct  5 03:51:13 2015 daemon.info dnsmasq-dhcp[1650]: DHCPACK(br-lan) 192.168.1.224 e8:94:f6:48:c2:84 RIPE-Atlas-Probe-21301
Mon Oct  5 04:08:11 2015 daemon.notice netifd: wan (1334): Sending renew...
Mon Oct  5 04:08:11 2015 daemon.notice netifd: wan (1334): Lease of 192.168.1.82 obtained, lease time 3600
Mon Oct  5 04:38:11 2015 daemon.notice netifd: wan (1334): Sending renew...
Mon Oct  5 04:38:11 2015 daemon.notice netifd: wan (1334): Lease of 192.168.1.82 obtained, lease time 3600
Mon Oct  5 05:08:11 2015 daemon.notice netifd: wan (1334): Sending renew...
Mon Oct  5 05:08:11 2015 daemon.notice netifd: wan (1334): Lease of 192.168.1.82 obtained, lease time 3600
Mon Oct  5 05:18:19 2015 kern.info kernel: [416454.950000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 4 is down
Mon Oct  5 05:18:23 2015 daemon.info dnsmasq-dhcp[1650]: DHCPREQUEST(br-lan) 192.168.1.168 c8:bc:c8:8a:69:9c
Mon Oct  5 05:18:23 2015 daemon.info dnsmasq-dhcp[1650]: DHCPACK(br-lan) 192.168.1.168 c8:bc:c8:8a:69:9c iMac
Mon Oct  5 05:18:24 2015 daemon.err miniupnpd[1680]: PCP MAP: added mapping UDP 16402->192.168.1.168:16402 'PCP MAP 90cae9726576e957239b7b6d'
Mon Oct  5 05:18:25 2015 kern.info kernel: [416460.950000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 4 is up
Mon Oct  5 05:38:11 2015 daemon.notice netifd: wan (1334): Sending renew...
Mon Oct  5 05:38:11 2015 daemon.notice netifd: wan (1334): Lease of 192.168.1.82 obtained, lease time 3600
Mon Oct  5 06:08:11 2015 daemon.notice netifd: wan (1334): Sending renew...
Mon Oct  5 06:08:11 2015 daemon.notice netifd: wan (1334): Lease of 192.168.1.82 obtained, lease time 3600
Mon Oct  5 06:38:12 2015 daemon.notice netifd: wan (1334): Sending renew...
Mon Oct  5 06:38:12 2015 daemon.notice netifd: wan (1334): Lease of 192.168.1.82 obtained, lease time 3600
Mon Oct  5 07:06:29 2015 kern.info kernel: [422944.950000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 4 is down
Mon Oct  5 07:06:33 2015 daemon.info dnsmasq-dhcp[1650]: DHCPREQUEST(br-lan) 192.168.1.168 c8:bc:c8:8a:69:9c
Mon Oct  5 07:06:33 2015 daemon.info dnsmasq-dhcp[1650]: DHCPACK(br-lan) 192.168.1.168 c8:bc:c8:8a:69:9c iMac
Mon Oct  5 07:06:33 2015 kern.info kernel: [422948.950000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 4 is up
Mon Oct  5 07:06:33 2015 daemon.err miniupnpd[1680]: PCP MAP: added mapping UDP 16402->192.168.1.168:16402 'PCP MAP d7de378fdf67cd3f8da0f3fb'
Mon Oct  5 07:08:12 2015 daemon.notice netifd: wan (1334): Sending renew...
Mon Oct  5 07:08:12 2015 daemon.notice netifd: wan (1334): Lease of 192.168.1.82 obtained, lease time 3600
Mon Oct  5 07:18:24 2015 daemon.notice miniupnpd[1680]: remove port mapping 16402 UDP because it has expired
Mon Oct  5 07:38:12 2015 daemon.notice netifd: wan (1334): Sending renew...
Mon Oct  5 07:38:12 2015 daemon.notice netifd: wan (1334): Lease of 192.168.1.82 obtained, lease time 3600
Mon Oct  5 08:08:12 2015 daemon.notice netifd: wan (1334): Sending renew...
Mon Oct  5 08:08:12 2015 daemon.notice netifd: wan (1334): Lease of 192.168.1.82 obtained, lease time 3600
Mon Oct  5 08:38:12 2015 daemon.notice netifd: wan (1334): Sending renew...
Mon Oct  5 08:38:12 2015 daemon.notice netifd: wan (1334): Lease of 192.168.1.82 obtained, lease time 3600
Mon Oct  5 08:48:45 2015 kern.info kernel: [429080.950000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 4 is down
Mon Oct  5 08:48:50 2015 daemon.info dnsmasq-dhcp[1650]: DHCPREQUEST(br-lan) 192.168.1.168 c8:bc:c8:8a:69:9c
Mon Oct  5 08:48:50 2015 daemon.info dnsmasq-dhcp[1650]: DHCPACK(br-lan) 192.168.1.168 c8:bc:c8:8a:69:9c iMac
Mon Oct  5 08:48:50 2015 daemon.warn miniupnpd[1680]: HTTP Connection from 192.168.1.168 closed unexpectedly
Mon Oct  5 08:48:50 2015 daemon.err miniupnpd[1680]: PCP MAP: added mapping UDP 16402->192.168.1.168:16402 'PCP MAP 831db03f08e65c9c5f57e13f'
Mon Oct  5 08:48:51 2015 kern.info kernel: [429086.950000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 4 is up
Mon Oct  5 09:08:12 2015 daemon.notice netifd: wan (1334): Sending renew...
Mon Oct  5 09:08:12 2015 daemon.notice netifd: wan (1334): Lease of 192.168.1.82 obtained, lease time 3600
Mon Oct  5 09:25:48 2015 daemon.info dnsmasq-dhcp[1650]: DHCPREQUEST(br-lan) 192.168.1.103 70:9e:29:70:4c:cb
Mon Oct  5 09:25:48 2015 daemon.info dnsmasq-dhcp[1650]: DHCPACK(br-lan) 192.168.1.103 70:9e:29:70:4c:cb
Mon Oct  5 09:38:12 2015 daemon.notice netifd: wan (1334): Sending renew...
Mon Oct  5 09:38:12 2015 daemon.notice netifd: wan (1334): Lease of 192.168.1.82 obtained, lease time 3600
Mon Oct  5 09:48:50 2015 daemon.err miniupnpd[1680]: PCP MAP: added mapping UDP 16402->192.168.1.168:16402 'PCP MAP 831db03f08e65c9c5f57e13f'
Mon Oct  5 09:51:17 2015 daemon.info dnsmasq-dhcp[1650]: DHCPREQUEST(br-lan) 192.168.1.224 e8:94:f6:48:c2:84
Mon Oct  5 09:51:17 2015 daemon.info dnsmasq-dhcp[1650]: DHCPACK(br-lan) 192.168.1.224 e8:94:f6:48:c2:84 RIPE-Atlas-Probe-21301
Mon Oct  5 10:08:12 2015 daemon.notice netifd: wan (1334): Sending renew...
Mon Oct  5 10:08:12 2015 daemon.notice netifd: wan (1334): Lease of 192.168.1.82 obtained, lease time 3600
Mon Oct  5 10:38:12 2015 daemon.notice netifd: wan (1334): Sending renew...
Mon Oct  5 10:38:12 2015 daemon.notice netifd: wan (1334): Lease of 192.168.1.82 obtained, lease time 3600
Mon Oct  5 10:48:50 2015 daemon.notice miniupnpd[1680]: remove port mapping 16402 UDP because it has expired
Mon Oct  5 10:48:50 2015 daemon.err miniupnpd[1680]: PCP MAP: added mapping UDP 16402->192.168.1.168:16402 'PCP MAP 831db03f08e65c9c5f57e13f'
Mon Oct  5 11:08:12 2015 daemon.notice netifd: wan (1334): Sending renew...
Mon Oct  5 11:08:12 2015 daemon.notice netifd: wan (1334): Lease of 192.168.1.82 obtained, lease time 3600
Mon Oct  5 11:38:12 2015 daemon.notice netifd: wan (1334): Sending renew...
Mon Oct  5 11:38:12 2015 daemon.notice netifd: wan (1334): Lease of 192.168.1.82 obtained, lease time 3600
Mon Oct  5 11:38:27 2015 daemon.warn dnsmasq[1650]: possible DNS-rebind attack detected: mmbusto.com
Mon Oct  5 11:38:27 2015 daemon.warn dnsmasq[1650]: possible DNS-rebind attack detected: mmbusto.com
Mon Oct  5 11:48:50 2015 daemon.err miniupnpd[1680]: PCP MAP: added mapping UDP 16402->192.168.1.168:16402 'PCP MAP 831db03f08e65c9c5f57e13f'
Mon Oct  5 11:52:19 2015 kern.info kernel: [440094.960000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 4 is down
Mon Oct  5 11:52:21 2015 kern.info kernel: [440096.960000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 4 is up
Mon Oct  5 11:56:15 2015 kern.info kernel: [440330.960000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 3 is down
Mon Oct  5 11:56:19 2015 kern.info kernel: [440334.960000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 3 is up
Mon Oct  5 11:56:24 2015 daemon.info dnsmasq-dhcp[1650]: DHCPDISCOVER(br-lan) 192.168.1.103 70:9e:29:70:4c:cb
Mon Oct  5 11:56:24 2015 daemon.info dnsmasq-dhcp[1650]: DHCPOFFER(br-lan) 192.168.1.103 70:9e:29:70:4c:cb
Mon Oct  5 11:56:24 2015 daemon.info dnsmasq-dhcp[1650]: DHCPREQUEST(br-lan) 192.168.1.103 70:9e:29:70:4c:cb
Mon Oct  5 11:56:24 2015 daemon.info dnsmasq-dhcp[1650]: DHCPACK(br-lan) 192.168.1.103 70:9e:29:70:4c:cb
Mon Oct  5 11:56:27 2015 kern.info kernel: [440342.960000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 4 is down
Mon Oct  5 11:56:31 2015 daemon.info dnsmasq-dhcp[1650]: DHCPREQUEST(br-lan) 192.168.1.168 c8:bc:c8:8a:69:9c
Mon Oct  5 11:56:31 2015 daemon.info dnsmasq-dhcp[1650]: DHCPACK(br-lan) 192.168.1.168 c8:bc:c8:8a:69:9c iMac
Mon Oct  5 11:56:32 2015 daemon.err miniupnpd[1680]: PCP MAP: added mapping UDP 16402->192.168.1.168:16402 'PCP MAP 841d54b2faa84842801e1117'
Mon Oct  5 11:56:33 2015 kern.info kernel: [440348.960000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 4 is up
Mon Oct  5 12:08:12 2015 daemon.notice netifd: wan (1334): Sending renew...
Mon Oct  5 12:08:12 2015 daemon.notice netifd: wan (1334): Lease of 192.168.1.82 obtained, lease time 3600
Mon Oct  5 12:28:57 2015 kern.info kernel: [442292.960000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 2 is down
Mon Oct  5 12:29:01 2015 kern.info kernel: [442296.960000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 2 is up
Mon Oct  5 12:29:05 2015 kern.info kernel: [442300.960000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 2 is down
Mon Oct  5 12:29:07 2015 kern.info kernel: [442302.960000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 2 is up
Mon Oct  5 12:29:51 2015 daemon.info dnsmasq-dhcp[1650]: DHCPDISCOVER(br-lan) e8:94:f6:48:c2:84
Mon Oct  5 12:29:51 2015 daemon.info dnsmasq-dhcp[1650]: DHCPOFFER(br-lan) 192.168.1.224 e8:94:f6:48:c2:84
Mon Oct  5 12:29:51 2015 daemon.info dnsmasq-dhcp[1650]: DHCPREQUEST(br-lan) 192.168.1.224 e8:94:f6:48:c2:84
Mon Oct  5 12:29:51 2015 daemon.info dnsmasq-dhcp[1650]: DHCPACK(br-lan) 192.168.1.224 e8:94:f6:48:c2:84 RIPE-Atlas-Probe-21301
Mon Oct  5 12:38:12 2015 daemon.notice netifd: wan (1334): Sending renew...
Mon Oct  5 12:38:12 2015 daemon.notice netifd: wan (1334): Lease of 192.168.1.82 obtained, lease time 3600
Mon Oct  5 12:47:49 2015 kern.info kernel: [443424.960000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 3 is down
Mon Oct  5 12:47:59 2015 kern.info kernel: [443434.960000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 3 is up
Mon Oct  5 12:48:04 2015 daemon.info dnsmasq-dhcp[1650]: DHCPDISCOVER(br-lan) 192.168.1.103 70:9e:29:70:4c:cb
Mon Oct  5 12:48:04 2015 daemon.info dnsmasq-dhcp[1650]: DHCPOFFER(br-lan) 192.168.1.103 70:9e:29:70:4c:cb
Mon Oct  5 12:48:04 2015 daemon.info dnsmasq-dhcp[1650]: DHCPREQUEST(br-lan) 192.168.1.103 70:9e:29:70:4c:cb
Mon Oct  5 12:48:04 2015 daemon.info dnsmasq-dhcp[1650]: DHCPACK(br-lan) 192.168.1.103 70:9e:29:70:4c:cb
Mon Oct  5 12:48:51 2015 daemon.notice miniupnpd[1680]: remove port mapping 16402 UDP because it has expired
Mon Oct  5 13:08:12 2015 daemon.notice netifd: wan (1334): Sending renew...
Mon Oct  5 13:08:12 2015 daemon.notice netifd: wan (1334): Lease of 192.168.1.82 obtained, lease time 3600
Mon Oct  5 13:38:12 2015 daemon.notice netifd: wan (1334): Sending renew...
Mon Oct  5 13:38:12 2015 daemon.notice netifd: wan (1334): Lease of 192.168.1.82 obtained, lease time 3600
Mon Oct  5 13:41:37 2015 kern.info kernel: [446652.960000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 4 is down
Mon Oct  5 13:41:42 2015 daemon.err miniupnpd[1680]: PCP MAP: added mapping UDP 16402->192.168.1.168:16402 'PCP MAP ee188d31cebfe1205f9ac323'
Mon Oct  5 13:41:42 2015 daemon.err miniupnpd[1680]: PCP MAP: added mapping UDP 16402->192.168.1.168:16402 'PCP MAP fe29f07b8f2d87c8c4af4163'
Mon Oct  5 13:41:43 2015 kern.info kernel: [446658.960000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 4 is up
Mon Oct  5 13:41:43 2015 daemon.info dnsmasq-dhcp[1650]: DHCPREQUEST(br-lan) 192.168.1.168 c8:bc:c8:8a:69:9c
Mon Oct  5 13:41:43 2015 daemon.info dnsmasq-dhcp[1650]: DHCPACK(br-lan) 192.168.1.168 c8:bc:c8:8a:69:9c iMac
Mon Oct  5 13:56:51 2015 kern.info kernel: [447566.960000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 3 is down
Mon Oct  5 13:56:51 2015 kern.info kernel: [447566.960000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 4 is down
Mon Oct  5 13:57:25 2015 kern.info kernel: [447600.970000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 4 is up
Mon Oct  5 13:57:39 2015 kern.info kernel: [447614.970000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 4 is down
Mon Oct  5 13:57:43 2015 daemon.info dnsmasq-dhcp[1650]: DHCPREQUEST(br-lan) 192.168.1.168 c8:bc:c8:8a:69:9c
Mon Oct  5 13:57:43 2015 daemon.info dnsmasq-dhcp[1650]: DHCPACK(br-lan) 192.168.1.168 c8:bc:c8:8a:69:9c iMac
Mon Oct  5 13:57:43 2015 kern.info kernel: [447618.970000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 4 is up
Mon Oct  5 13:58:03 2015 kern.info kernel: [447638.970000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 4 is down
Mon Oct  5 13:58:35 2015 kern.info kernel: [447670.970000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 4 is up
Mon Oct  5 13:58:49 2015 kern.info kernel: [447684.970000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 4 is down
Mon Oct  5 13:58:51 2015 daemon.info dnsmasq-dhcp[1650]: DHCPREQUEST(br-lan) 192.168.1.168 c8:bc:c8:8a:69:9c
Mon Oct  5 13:58:51 2015 daemon.info dnsmasq-dhcp[1650]: DHCPACK(br-lan) 192.168.1.168 c8:bc:c8:8a:69:9c iMac
Mon Oct  5 13:58:51 2015 kern.info kernel: [447686.970000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 4 is up
Mon Oct  5 13:59:14 2015 daemon.err miniupnpd[1680]: PCP MAP: added mapping UDP 16402->192.168.1.168:16402 'PCP MAP 8b3d0d31619743a87733de04'
Mon Oct  5 14:01:47 2015 kern.info kernel: [447862.970000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 4 is down
Mon Oct  5 14:01:49 2015 kern.info kernel: [447864.970000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 4 is up
Mon Oct  5 14:02:53 2015 kern.info kernel: [447928.970000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 4 is down
Mon Oct  5 14:02:58 2015 daemon.info dnsmasq-dhcp[1650]: DHCPREQUEST(br-lan) 192.168.1.168 c8:bc:c8:8a:69:9c
Mon Oct  5 14:02:58 2015 daemon.info dnsmasq-dhcp[1650]: DHCPACK(br-lan) 192.168.1.168 c8:bc:c8:8a:69:9c iMac
Mon Oct  5 14:02:58 2015 daemon.err miniupnpd[1680]: PCP MAP: added mapping UDP 16402->192.168.1.168:16402 'PCP MAP a082eba6c1bacdb07fb769c1'
Mon Oct  5 14:02:58 2015 daemon.err miniupnpd[1680]: PCP MAP: added mapping UDP 16402->192.168.1.168:16402 'PCP MAP 1a93a268a8eb0bf67d23e459'
Mon Oct  5 14:02:59 2015 kern.info kernel: [447934.970000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 4 is up
Mon Oct  5 14:08:12 2015 daemon.notice netifd: wan (1334): Sending renew...
Mon Oct  5 14:08:12 2015 daemon.notice netifd: wan (1334): Lease of 192.168.1.82 obtained, lease time 3600
Mon Oct  5 14:38:12 2015 daemon.notice netifd: wan (1334): Sending renew...
Mon Oct  5 14:38:12 2015 daemon.notice netifd: wan (1334): Lease of 192.168.1.82 obtained, lease time 3600
Mon Oct  5 15:02:58 2015 daemon.err miniupnpd[1680]: PCP MAP: added mapping UDP 16402->192.168.1.168:16402 'PCP MAP 1a93a268a8eb0bf67d23e459'
Mon Oct  5 15:08:12 2015 daemon.notice netifd: wan (1334): Sending renew...
Mon Oct  5 15:08:12 2015 daemon.notice netifd: wan (1334): Lease of 192.168.1.82 obtained, lease time 3600
Mon Oct  5 15:38:12 2015 daemon.notice netifd: wan (1334): Sending renew...
Mon Oct  5 15:38:12 2015 daemon.notice netifd: wan (1334): Lease of 192.168.1.82 obtained, lease time 3600
Mon Oct  5 15:41:42 2015 daemon.notice miniupnpd[1680]: remove port mapping 16402 UDP because it has expired
Mon Oct  5 15:59:14 2015 daemon.notice miniupnpd[1680]: remove port mapping 56062 UDP because it has expired
Mon Oct  5 16:02:58 2015 daemon.err miniupnpd[1680]: PCP MAP: added mapping UDP 16402->192.168.1.168:16402 'PCP MAP 1a93a268a8eb0bf67d23e459'
Mon Oct  5 16:08:12 2015 daemon.notice netifd: wan (1334): Sending renew...
Mon Oct  5 16:08:12 2015 daemon.notice netifd: wan (1334): Lease of 192.168.1.82 obtained, lease time 3600
Mon Oct  5 16:38:12 2015 daemon.notice netifd: wan (1334): Sending renew...
Mon Oct  5 16:38:12 2015 daemon.notice netifd: wan (1334): Lease of 192.168.1.82 obtained, lease time 3600
Mon Oct  5 17:02:58 2015 daemon.err miniupnpd[1680]: PCP MAP: added mapping UDP 16402->192.168.1.168:16402 'PCP MAP 1a93a268a8eb0bf67d23e459'
Mon Oct  5 17:08:12 2015 daemon.notice netifd: wan (1334): Sending renew...
Mon Oct  5 17:08:12 2015 daemon.notice netifd: wan (1334): Lease of 192.168.1.82 obtained, lease time 3600
Mon Oct  5 17:38:12 2015 daemon.notice netifd: wan (1334): Sending renew...
Mon Oct  5 17:38:12 2015 daemon.notice netifd: wan (1334): Lease of 192.168.1.82 obtained, lease time 3600
Mon Oct  5 18:02:58 2015 daemon.notice miniupnpd[1680]: remove port mapping 16402 UDP because it has expired
Mon Oct  5 18:02:58 2015 daemon.err miniupnpd[1680]: PCP MAP: added mapping UDP 16402->192.168.1.168:16402 'PCP MAP 1a93a268a8eb0bf67d23e459'
Mon Oct  5 18:06:07 2015 kern.info kernel: [462522.990000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 3 is up
Mon Oct  5 18:06:13 2015 kern.info kernel: [462528.990000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 3 is down
Mon Oct  5 18:06:25 2015 kern.info kernel: [462540.990000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 3 is up
Mon Oct  5 18:07:05 2015 kern.info kernel: [462580.990000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 3 is down
Mon Oct  5 18:07:15 2015 kern.info kernel: [462590.990000] Atheros AR8216/AR8236/AR8316 ag71xx-mdio.0:00: Port 3 is up
Mon Oct  5 18:07:20 2015 daemon.info dnsmasq-dhcp[1650]: DHCPDISCOVER(br-lan) 192.168.1.103 70:9e:29:70:4c:cb
Mon Oct  5 18:07:20 2015 daemon.info dnsmasq-dhcp[1650]: DHCPOFFER(br-lan) 192.168.1.103 70:9e:29:70:4c:cb
Mon Oct  5 18:07:20 2015 daemon.info dnsmasq-dhcp[1650]: DHCPREQUEST(br-lan) 192.168.1.103 70:9e:29:70:4c:cb
Mon Oct  5 18:07:20 2015 daemon.info dnsmasq-dhcp[1650]: DHCPACK(br-lan) 192.168.1.103 70:9e:29:70:4c:cb
Mon Oct  5 18:08:12 2015 daemon.notice netifd: wan (1334): Sending renew...
Mon Oct  5 18:08:12 2015 daemon.notice netifd: wan (1334): Lease of 192.168.1.82 obtained, lease time 3600
Mon Oct  5 18:29:54 2015 daemon.info dnsmasq-dhcp[1650]: DHCPREQUEST(br-lan) 192.168.1.224 e8:94:f6:48:c2:84
Mon Oct  5 18:29:54 2015 daemon.info dnsmasq-dhcp[1650]: DHCPACK(br-lan) 192.168.1.224 e8:94:f6:48:c2:84 RIPE-Atlas-Probe-21301
Mon Oct  5 18:38:12 2015 daemon.notice netifd: wan (1334): Sending renew...
Mon Oct  5 18:38:12 2015 daemon.notice netifd: wan (1334): Lease of 192.168.1.82 obtained, lease time 3600
Mon Oct  5 19:02:58 2015 daemon.err miniupnpd[1680]: PCP MAP: added mapping UDP 16402->192.168.1.168:16402 'PCP MAP 1a93a268a8eb0bf67d23e459'
Mon Oct  5 19:08:13 2015 daemon.notice netifd: wan (1334): Sending renew...
Mon Oct  5 19:08:13 2015 daemon.notice netifd: wan (1334): Lease of 192.168.1.82 obtained, lease time 3600

livingsilver94

  • Visitatore
Non vedo tracce degli script... però se la cosa ti consola, pure a me sono saltate delle misurazioni. Provo a riavviare il router e domani ti dico se sono quelli di SamKnows a non accettare misurazioni al momento, oppure se ci troviamo di fronte a una modifica atta a impedire firmware moddati tipo il mio.
EDIT: le misurazioni sono ferme a 2 giorni fa. Magari ho fatto casini con le mie impostazioni e non ricordo di averli fatti :P
« Ultima modifica: 05 Ottobre 2015, 21:50 da livingsilver94 »

Offline Fusgol

  • Nuovo Iscritto
  • *
  • 12
Io se non erro, lo tengo impostato con il tuo FW da circa 4/5 giorni, ora non ricordo. Comunque resto in attesa di notizie grazie :D

Offline varma

  • Membro Anziano
  • ***
  • 283
l'altro giorno, quando ho provato la tua build e poi ho voluto rimettere l'originale
ho modificato il file contenente il numero di versione del firmware a 3
a quel punto mi sono ritrovato in /tmp un file firmware.bin

https://mega.nz/#!ppllRTKb!Hp1AAbrbhJ1ZPpTnSa38eY-bV5Kc7WtGbjLq8Wr-WIE

vi metto il link per scaricarlo
alla fine, siccome risulta di 64KB inferiore al dump che avevo fatto ho preferito usare il mio backup invece che questa versione...
la condivido, magari contiene qualcosa di interessante

@living

per l'SNMP manca ancora la parte col nome del file, la cartella di installazione e renderlo eseguibile, vero?
per farlo funzionare con snmpd che fa il polling ogni 15 sec dovrò variare qualche parametro tipo l'intervallo di interrogazione e il treshold di pacchetti, no?
« Ultima modifica: 05 Ottobre 2015, 22:15 da varma »

livingsilver94

  • Visitatore
Niente di interessante. La checksum CRC32 è indentica a quella del firmware 4.bin, versione su cui si basa la mia build.

Offline mavelot

  • Administrator
  • Esperto
  • *****
  • 1705
  • Live Long and Prosper
Non vedo tracce degli script... però se la cosa ti consola, pure a me sono saltate delle misurazioni. Provo a riavviare il router e domani ti dico se sono quelli di SamKnows a non accettare misurazioni al momento, oppure se ci troviamo di fronte a una modifica atta a impedire firmware moddati tipo il mio.
EDIT: le misurazioni sono ferme a 2 giorni fa. Magari ho fatto casini con le mie impostazioni e non ricordo di averli fatti :P

Intanto ti posso dire che il mio continua a misurare perfettamente con la versione basata su BB. E' su da 10 giorni

livingsilver94

  • Visitatore
Ho riavviato disinstallando anche i pacchetti che avevo messo per testare l'SNMP e le misurazioni hanno ripreso. Boh, non ricordo cosa ho fatto di male.
Bene Fusgol, è un tuo problema. Cerchiamo di risolvere. Hai già provato a riavviare?

Ah mavelot, mi puoi dare una mano? Guarda lo script in prima pagina. Sai darmi qualche spiegazione sulla X alla fine dell'oid? Cosa sta a significare? Perché a quanto ne so io, il numero identifica la porta ethernet, problema è che si estende anche a 5, 6, 7... insomma oltre il numero di porte disponibili.
« Ultima modifica: 06 Ottobre 2015, 19:04 da livingsilver94 »

Offline varma

  • Membro Anziano
  • ***
  • 283
1.3.6.1.2.1.2            interfaces => contiene le interfacce di rete del server SNMP
1.3.6.1.2.1.2.1         ifNumber => restituisce quante interfacce ha il server
1.3.6.1.2.1.2.2         ifTable => restituisce una tabella con tutte le interfacce e i valori di tutte le variabili dei livelli gerarchici successivi (allego immagine di questa tabella)

https://mega.nz/#!RhsynIrQ!7BdTfD98OKccbJqlO7qGKC2BFwOFfWeOXW7mpciGgr4

l'ultimo numero di cui chiedi conferma dovrebbe proprio essere il numero dell'interfaccia che ha il ruolo di WAN

questo è quello che ho compreso io...

EDIT

rx_oid='1.3.6.1.2.1.31.1.1.1.6.X'
tx_oid='1.3.6.1.2.1.31.1.1.1.10.X'

temo che 6 e 10 non siano corretti
nel mio client SNMP su windows
10 è ifInOctets
16 è ifOutOctets

(6 è invece ifPhysAddress)
« Ultima modifica: 06 Ottobre 2015, 20:44 da varma »

livingsilver94

  • Visitatore
Scusate ma questo SNMP fa veramente cagare!! Di "simple" non ha proprio una mazza. Gli OID sono inguardabili, tra file di numeri e identificativi illeggibili, in più ognuno lo implementa come vuole (o no?)
Gli OID che ho messo nello script li ho trovati su StackOverflow, e ho verificato che fossero giusti qui...
« Ultima modifica: 06 Ottobre 2015, 21:42 da livingsilver94 »

Offline varma

  • Membro Anziano
  • ***
  • 283
lo script che allego mi pare di averlo copiato direttamente dal thread che anche tu citavi, direttamente dal forum openwrt


Codice: [Seleziona]
/usr/bin/snmpcap.sh



#!/bin/ash

# Let the main router just directly tell us how much traffic is going on.
#
# The /tmp/ispmon/scripts overlay reads /tmp/${INTERFACE}_[rt]x,
# depending on which $INTERFACE has the route. In the default setup
# /tmp/eth1_rx, in my bridged setup /tmp/br-lan_rx.
#
# The script reading these two files is /tmp/ispmon/scripts/threshold.sh.
#
# This needs mini-snmpd on the main router. The OIDs might differ.
#
# Since the Samknows binary pcap program is not needed you can
# disable it by removing libpcap from the firmware, preventing its run.

snmphost="10.0.0.1"
snmpcommunity="public"

rx_oid=".1.3.6.1.2.1.2.2.1.10.1"
tx_oid=".1.3.6.1.2.1.2.2.1.16.1"

INTERFACE="br-lan"

interval=5 # seconds

rx_old=0
tx_old=0

led="/sys/class/leds/tp-link:green:usb"
flashover=450  # msec blink when supra-threshold
flashunder=950 #            when sub-threshold

trap "rm /tmp/${INTERFACE}_[rt]x; echo 0 > "$led"/brightness; exit 0" 1 2 3 15

# flash usb led while running
echo timer > "$led"/trigger
echo $flashunder > "$led"/delay_off
echo 50 > "$led"/delay_on

while true; do
  snmpget -v 1 -Oq -c "$snmpcommunity" "$snmphost" "$rx_oid" "$tx_oid" | \
    while read oid val; do
      echo ${val} > "/tmp/${oid}"
    done

  read rx_bytes < "/tmp/${rx_oid}"
  read tx_bytes < "/tmp/${tx_oid}"

  rx_traf=$(((rx_bytes - rx_old) / interval))
  tx_traf=$(((tx_bytes - tx_old) / interval))

  rx_old=$rx_bytes
  tx_old=$tx_bytes

  echo $rx_traf > /tmp/${INTERFACE}_rx
  echo $tx_traf > /tmp/${INTERFACE}_tx

  if [ ${rx_traf} -gt 25000 ] || [ ${tx_traf} -gt 8000 ]; then
    flashint=$flashover
  else
    flashint=$flashunder
  fi

  if [ $flashint != $(cat "$led"/delay_off) ]; then
    echo $flashint > "$led"/delay_off
  fi

  #echo $rx_traf $tx_traf

  sleep "$interval"
done

http://cric.grenoble.cnrs.fr/Administrateurs/Outils/MIBS/?oid=1.3.6.1.2.1.31.1.1.1
http://cric.grenoble.cnrs.fr/Administrateurs/Outils/MIBS/?oid=1.3.6.1.2.1.2.2.1

sembrano funzioni differenti
considera che comunque io 1.3.6.1.2.1.31.x..... da PowerSNMP Free Manager non ce l'ho in lista....



livingsilver94

  • Visitatore
Premetto una cosa: che gli OID nello script "originale" siano veri o no, sono dei contatori a 32-bit, mentre quelli nuovi che ho messo in prima pagina sono a 64-bit. Cisco raccomanda di usare contatori 64-bit per linee da 100Mb/s in su. Va bene che la WAN non andrà mai a 100, va bene che per il calcolo della velocità non mi interessa se il contatore si resetta (al limite sbaglia una misurazione, amen, dopo 5 secondi sarà già tornata valida), ma essendo la build già compilata con il supporto a 64-bit, ed essendo i contatori di iptables che uso nella "versione router" anch'essi a 64-bit, tanto vale usare quelli.
Detto questo, il router con "1.3.6.1.2.1.31.1.1.1.6.233" (233 è il numero dell'interfaccia pppoe-wan) mi risponde con un numero grandicello a 64-bit. Mentre a "1.3.6.1.2.1.31.1.1.1.16.233" mi risponde con un intero, settato al valore 2, che rispecchia proprio il valore di "false" qui documentato. Credo proprio che sia giusto 6, non 16.
Infine, neanche iReasoning MIB Browser l'ha in lista, ma il router risponde correttamente.

EDIT: quando parlo di "router", nel mio caso indico proprio il WDR3600 con snmpd.
« Ultima modifica: 06 Ottobre 2015, 21:44 da livingsilver94 »

Offline varma

  • Membro Anziano
  • ***
  • 283
 :-[  ooops
 :-X taccio che è meglio allora!

 ::)


EDIT

col 10 e 16 mi riferivo agli indicatori a 32bit
« Ultima modifica: 06 Ottobre 2015, 22:09 da varma »

livingsilver94

  • Visitatore
No figurati! Si impara meglio confrontandosi ;)
Ah, non avevo notato il tuo edit in cui mi chiedevi cosa manca per finire la guida. Ecco, devo proprio trovare una soluzione sul polling da 15s... hai già guardato qualcosa? (io no)