Quote:
Originariamente inviato da baila
Grazie lo avevo trovato,il problema è configurarlo
|
Quote:
Originariamente inviato da coatto87
Aahahahah, mi ero proprio dimenticato di questa richiesta.
Si, anche io avevo pensato a vnstat.
Prima però, mi serve qualche feedback sulla build.
|
Non so come ma l'ho fatto partire e le statistiche funzionano
Codice:
root@OpenWrt:~# opkg install - dest luci-app-vnstat
Unknown package '-'.
Unknown package 'dest'.
Installing luci-app-vnstat (0.10+svn6940-1) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/luci-ap p-vnstat_0.10+svn6940-1_ar71xx.ipk.
Installing vnstati (1.10-3) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/vnstati _1.10-3_ar71xx.ipk.
Installing libgd (2.0.35-1) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/libgd_2 .0.35-1_ar71xx.ipk.
Configuring libgd.
Configuring vnstati.
Configuring luci-app-vnstat.
Collected errors:
* opkg_install_cmd: Cannot install package -.
* opkg_install_cmd: Cannot install package dest.
root@OpenWrt:~# uci -P/var/state show network.wan.ifname
network.wan.ifname=eth1
root@OpenWrt:~# vnstat -u -i eth1
Error: Unable to open database directory "/var/lib/vnstat".
Make sure it exists and is at least read enabled for current user.
Exiting...
root@OpenWrt:~# /etc/config/vnstat
-ash: /etc/config/vnstat: Permission denied
root@OpenWrt:~# /etc/init.d/vnstat enable
root@OpenWrt:~# /etc/init.d/vnstat stop
root@OpenWrt:~# /etc/init.d/vnstat kill
Syntax: /etc/init.d/vnstat [command]
Available commands:
start Start the service
stop Stop the service
restart Restart the service
reload Reload configuration files (or restart if that fails)
enable Enable service autostart
disable Disable service autostart
root@OpenWrt:~# /etc/init.d/vnstat stop
root@OpenWrt:~# vnstat -u -i eth1
Error: Unable to open database directory "/var/lib/vnstat".
Make sure it exists and is at least read enabled for current user.
Exiting...
root@OpenWrt:~# /etc/init.d/vnstat enable
root@OpenWrt:~# /etc/init.d/vnstat start
root@OpenWrt:~# Configuring luci-app-vnstat.
-ash: Configuring: not found
root@OpenWrt:~# Collected errors:
-ash: Collected: not found
Anche se non capisco perchè mi dava errore dopo l'installazione sulla chiavetta usb:
Codice:
* opkg_install_cmd: Cannot install package -.
* opkg_install_cmd: Cannot install package dest.