oweals/luci.git
13 years agolibiwinfo: fix signal, bitrate and assoclist for nl80211 wds ap mode
Jo-Philipp Wich [Sat, 30 Apr 2011 10:16:35 +0000 (10:16 +0000)]
libiwinfo: fix signal, bitrate and assoclist for nl80211 wds ap mode

13 years agoi18n/zh_CN: Improvements to firewall.po, thanks axishero
Manuel Munz [Fri, 29 Apr 2011 16:51:54 +0000 (16:51 +0000)]
i18n/zh_CN: Improvements to firewall.po, thanks axishero

13 years agolibiwinfo:
Jo-Philipp Wich [Fri, 29 Apr 2011 16:41:35 +0000 (16:41 +0000)]
libiwinfo:
- don't assume madwifi and nl80211 backends if no backend given
- only print intersection of group and unicast ciphers in crypto description
- fix crypto detection on madwifi in client mode
- bump pkg revision

13 years agoapplications/luci-vnstat: fix crash if dbdir is defined but not existing yet
Jo-Philipp Wich [Thu, 28 Apr 2011 10:27:00 +0000 (10:27 +0000)]
applications/luci-vnstat: fix crash if dbdir is defined but not existing yet

13 years agomodules/admin-full: revert accidental change in r7003
Jo-Philipp Wich [Mon, 25 Apr 2011 19:56:10 +0000 (19:56 +0000)]
modules/admin-full: revert accidental change in r7003

13 years agomodules/admin-full: implement "dev" option for USB device led triggers (#224)
Jo-Philipp Wich [Mon, 25 Apr 2011 19:54:32 +0000 (19:54 +0000)]
modules/admin-full: implement "dev" option for USB device led triggers (#224)

13 years agopo: apply further Chinese translation improvements from #225 - thanks gzanan!
Jo-Philipp Wich [Mon, 25 Apr 2011 19:17:27 +0000 (19:17 +0000)]
po: apply further Chinese translation improvements from #225 - thanks gzanan!

13 years agomodules/admin-full: add option for RTL8366 jumbo frame passthrough to vlan page
Jo-Philipp Wich [Mon, 25 Apr 2011 19:11:42 +0000 (19:11 +0000)]
modules/admin-full: add option for RTL8366 jumbo frame passthrough to vlan page

13 years agomodules/admin-full: fix text quirk on status overview page
Jo-Philipp Wich [Mon, 25 Apr 2011 18:23:05 +0000 (18:23 +0000)]
modules/admin-full: fix text quirk on status overview page

13 years agomodules/admin-full: add macfilter options to mac80211 wifi config
Jo-Philipp Wich [Mon, 25 Apr 2011 17:45:59 +0000 (17:45 +0000)]
modules/admin-full: add macfilter options to mac80211 wifi config

13 years agopo: Update chinese translations, thanks axishero
Manuel Munz [Fri, 22 Apr 2011 13:57:51 +0000 (13:57 +0000)]
po: Update chinese translations, thanks axishero

13 years agoi18n: Chinese translation is done by too many people to name them all, just use ...
Manuel Munz [Fri, 22 Apr 2011 10:17:03 +0000 (10:17 +0000)]
i18n: Chinese translation is done by too many people to name them all, just use 'by Chinese Translators'

13 years agoi18n: Enable chinese translation, thanks zjhzzyf (#223)
Manuel Munz [Thu, 21 Apr 2011 14:17:29 +0000 (14:17 +0000)]
i18n: Enable chinese translation, thanks zjhzzyf (#223)

13 years agoi18n: Remove unneeded tabs at the end of the uci-default files
Manuel Munz [Thu, 21 Apr 2011 09:47:25 +0000 (09:47 +0000)]
i18n: Remove unneeded tabs at the end of the uci-default files

13 years agopo/zh_CN: Add translations, thanks xeye (#221)
Manuel Munz [Mon, 18 Apr 2011 16:38:47 +0000 (16:38 +0000)]
po/zh_CN: Add translations, thanks xeye (#221)

13 years agolibs/json: Fix a typo and a logic error in json.lua to make luci.json.encode() work...
Jo-Philipp Wich [Sun, 17 Apr 2011 11:39:17 +0000 (11:39 +0000)]
libs/json: Fix a typo and a logic error in json.lua to make luci.json.encode() work like expected (#220)

13 years agothemes: Update fledermaus, freifunk-bno, freifunk-hannover and freifunk
Manuel Munz [Wed, 13 Apr 2011 19:29:30 +0000 (19:29 +0000)]
themes: Update fledermaus, freifunk-bno, freifunk-hannover and freifunk

13 years agomodules/freifunk: Show remote update in menu only when /usr/sbin/remote-update from...
Manuel Munz [Wed, 13 Apr 2011 16:22:54 +0000 (16:22 +0000)]
modules/freifunk: Show remote update in menu only when /usr/sbin/remote-update from the package remote-update is present (#160)

13 years agoapplications/luci-samba: Add textbox to edit the template for config generation ...
Manuel Munz [Wed, 13 Apr 2011 15:14:42 +0000 (15:14 +0000)]
applications/luci-samba: Add textbox to edit the template for config generation (#122)

13 years agoluci-firewall: Add support for negations for ip addresses/nets (#218)
Manuel Munz [Wed, 13 Apr 2011 00:33:42 +0000 (00:33 +0000)]
luci-firewall: Add support for negations for ip addresses/nets (#218)

13 years agomodules/freifunk: Hardcoding timezone was not a good idea
Manuel Munz [Mon, 4 Apr 2011 12:04:42 +0000 (12:04 +0000)]
modules/freifunk: Hardcoding timezone was not a good idea

13 years agomodules/freifunk: Show date/time in a bit nicer format (#184)
Manuel Munz [Mon, 4 Apr 2011 11:50:09 +0000 (11:50 +0000)]
modules/freifunk: Show date/time in a bit nicer format (#184)

13 years agomodules/admin-full: use crypto mode "wep-open" instead of just "wep" in connection...
Jo-Philipp Wich [Thu, 24 Mar 2011 21:08:28 +0000 (21:08 +0000)]
modules/admin-full: use crypto mode "wep-open" instead of just "wep" in connection wizzard

13 years agomodules/admin-full: fix wep key handling in sta mode connection wizzard
Jo-Philipp Wich [Thu, 24 Mar 2011 20:56:23 +0000 (20:56 +0000)]
modules/admin-full: fix wep key handling in sta mode connection wizzard

13 years agomodules/admin-full: properly display interface stats for networks with underscores
Jo-Philipp Wich [Fri, 18 Mar 2011 16:50:18 +0000 (16:50 +0000)]
modules/admin-full: properly display interface stats for networks with underscores

13 years agoapplications/luci-upnp: improve some more labels
Jo-Philipp Wich [Thu, 17 Mar 2011 18:14:23 +0000 (18:14 +0000)]
applications/luci-upnp: improve some more labels

13 years agoapplications/luci-upnp: add a note that up and download speeds are informational...
Jo-Philipp Wich [Thu, 17 Mar 2011 18:02:23 +0000 (18:02 +0000)]
applications/luci-upnp: add a note that up and download speeds are informational only

13 years agoapplications/luci-upnp: sync with OpenWrt trunk changes
Jo-Philipp Wich [Thu, 17 Mar 2011 17:46:55 +0000 (17:46 +0000)]
applications/luci-upnp: sync with OpenWrt trunk changes

13 years agolibs/web: fix "port" datatype to allow port 0
Jo-Philipp Wich [Thu, 17 Mar 2011 17:40:40 +0000 (17:40 +0000)]
libs/web: fix "port" datatype to allow port 0

13 years agopo/de: Fix unclear translation for dnsmasq start
Manuel Munz [Wed, 16 Mar 2011 21:13:04 +0000 (21:13 +0000)]
po/de: Fix unclear translation for dnsmasq start

13 years agomodules/admin-full: fix index page (#213)
Jo-Philipp Wich [Tue, 15 Mar 2011 17:55:14 +0000 (17:55 +0000)]
modules/admin-full: fix index page (#213)

13 years agomodules/admin-full: rename index page node from "Interfaces" to "overview"
Jo-Philipp Wich [Tue, 15 Mar 2011 09:24:02 +0000 (09:24 +0000)]
modules/admin-full: rename index page node from "Interfaces" to "overview"

13 years agoAdd freifunk-policyrouting and luci-app-freifunk-policyrouting
Manuel Munz [Mon, 14 Mar 2011 19:34:23 +0000 (19:34 +0000)]
Add freifunk-policyrouting and luci-app-freifunk-policyrouting

13 years agomodules/admin-full: move former active connections arp info to the routes overview...
Jo-Philipp Wich [Sun, 13 Mar 2011 22:15:53 +0000 (22:15 +0000)]
modules/admin-full: move former active connections arp info to the routes overview page

13 years agomodules/admin-full: merge "Active Connections" and "Realtime Connections"
Jo-Philipp Wich [Sun, 13 Mar 2011 22:12:42 +0000 (22:12 +0000)]
modules/admin-full: merge "Active Connections" and "Realtime Connections"

13 years agolibs/sys: ignore TIME_WAIT connections in luci.sys.net.conntrack()
Jo-Philipp Wich [Sun, 13 Mar 2011 22:08:32 +0000 (22:08 +0000)]
libs/sys: ignore TIME_WAIT connections in luci.sys.net.conntrack()

13 years agolibs/web: explicitely cast input value of %m pattern to float in order to avoid throw...
Jo-Philipp Wich [Sun, 13 Mar 2011 21:56:31 +0000 (21:56 +0000)]
libs/web: explicitely cast input value of %m pattern to float in order to avoid throwing an exception in toFixed() with very low values

13 years agomodules/admin-full: remove status -> interfaces
Jo-Philipp Wich [Sun, 13 Mar 2011 19:23:38 +0000 (19:23 +0000)]
modules/admin-full: remove status -> interfaces

13 years agomodules/admin-full: add some links to index page
Jo-Philipp Wich [Sun, 13 Mar 2011 19:08:40 +0000 (19:08 +0000)]
modules/admin-full: add some links to index page

13 years agomodules/admin-full: hide relay options for other protocols, resolve option conflict
Jo-Philipp Wich [Sun, 13 Mar 2011 19:07:27 +0000 (19:07 +0000)]
modules/admin-full: hide relay options for other protocols, resolve option conflict

13 years agomodules/admin-full: don't count TIME_WAIT connections in luci-bwc
Jo-Philipp Wich [Sun, 13 Mar 2011 17:52:03 +0000 (17:52 +0000)]
modules/admin-full: don't count TIME_WAIT connections in luci-bwc

13 years agomodules/admin-full: display source and destination ports in conntrack view (#211)
Jo-Philipp Wich [Sun, 13 Mar 2011 17:39:36 +0000 (17:39 +0000)]
modules/admin-full: display source and destination ports in conntrack view (#211)

13 years agomodules/admin-full: do not use private wifinet properties in network controller
Jo-Philipp Wich [Sun, 13 Mar 2011 17:29:06 +0000 (17:29 +0000)]
modules/admin-full: do not use private wifinet properties in network controller

13 years agomodules/admin-full: use luci.tools.status for remaining wifi status displays
Jo-Philipp Wich [Sun, 13 Mar 2011 17:25:54 +0000 (17:25 +0000)]
modules/admin-full: use luci.tools.status for remaining wifi status displays

13 years agolibs/core: add luci.model.network.wifinet.id()
Jo-Philipp Wich [Sun, 13 Mar 2011 17:22:52 +0000 (17:22 +0000)]
libs/core: add luci.model.network.wifinet.id()

13 years agomodules/admin-core: add wifi_network() to luci.tools.status
Jo-Philipp Wich [Sun, 13 Mar 2011 17:10:43 +0000 (17:10 +0000)]
modules/admin-core: add wifi_network() to luci.tools.status

13 years agolibs/core: add txpower() and country() to luci.model.network.wifinet
Jo-Philipp Wich [Sun, 13 Mar 2011 17:09:26 +0000 (17:09 +0000)]
libs/core: add txpower() and country() to luci.model.network.wifinet

13 years agomodules/admin-full: use luci.tools.status in network controller
Jo-Philipp Wich [Sun, 13 Mar 2011 14:00:45 +0000 (14:00 +0000)]
modules/admin-full: use luci.tools.status in network controller

13 years agomodules/admin-full: add dhcp and wifi status info
Jo-Philipp Wich [Sun, 13 Mar 2011 13:57:21 +0000 (13:57 +0000)]
modules/admin-full: add dhcp and wifi status info

13 years agomodules/admin-core: add tools.status helper class
Jo-Philipp Wich [Sun, 13 Mar 2011 13:54:43 +0000 (13:54 +0000)]
modules/admin-core: add tools.status helper class

13 years agomodules/admin-full: use %m format in interface overview
Jo-Philipp Wich [Sun, 13 Mar 2011 11:13:52 +0000 (11:13 +0000)]
modules/admin-full: use %m format in interface overview

13 years agolibs/web: add %m pattern to String.format()
Jo-Philipp Wich [Sun, 13 Mar 2011 11:12:11 +0000 (11:12 +0000)]
libs/web: add %m pattern to String.format()

13 years agolibs/sys: disregard ::/0 routes on "lo" in luci.sys.net.defaultroute6()
Jo-Philipp Wich [Sat, 12 Mar 2011 19:25:03 +0000 (19:25 +0000)]
libs/sys: disregard ::/0 routes on "lo" in luci.sys.net.defaultroute6()

13 years agomodules/freifunk: OSM in basics fixed thanks to Andreas Pittrich
Manuel Munz [Sat, 12 Mar 2011 17:13:36 +0000 (17:13 +0000)]
modules/freifunk: OSM in basics fixed thanks to Andreas Pittrich

13 years agolibs/core: allow resolving of virtual interfaces via get_interface(), should fix...
Jo-Philipp Wich [Fri, 11 Mar 2011 23:11:34 +0000 (23:11 +0000)]
libs/core: allow resolving of virtual interfaces via get_interface(), should fix wan status display with 6to4, 6in4 tunnels or pppoe connections

13 years agocontrib: fix rebuild triggering by assembling PKG_CONFIG_DEPENDS before including...
Jo-Philipp Wich [Fri, 11 Mar 2011 17:57:30 +0000 (17:57 +0000)]
contrib: fix rebuild triggering by assembling PKG_CONFIG_DEPENDS before including package.mk

13 years agomodules/admin-full: Fix description of Hermes wireless controllers
Vasilis Tsiligiannis [Sun, 6 Mar 2011 11:16:14 +0000 (11:16 +0000)]
modules/admin-full: Fix description of Hermes wireless controllers

13 years agomodules/admin-full: Orinoco and HostAP drivers are 802.11b only
Vasilis Tsiligiannis [Sun, 6 Mar 2011 11:16:07 +0000 (11:16 +0000)]
modules/admin-full: Orinoco and HostAP drivers are 802.11b only

13 years agothemes: add new image button CSS classes, patch by Kevin Locke <klocke@digitalengines...
Jo-Philipp Wich [Sat, 5 Mar 2011 06:36:05 +0000 (06:36 +0000)]
themes: add new image button CSS classes, patch by Kevin Locke <klocke@digitalenginesoftware.com> (#207)

13 years agolibs/web: repair and modernize FileBrowser widget, patches by Kevin Locke <klocke...
Jo-Philipp Wich [Sat, 5 Mar 2011 06:35:26 +0000 (06:35 +0000)]
libs/web: repair and modernize FileBrowser widget, patches by Kevin Locke <klocke@digitalenginesoftware.com> (#207)

13 years agomodules/freifunk: Set uhttpd.main.rfc1918_filter=0 via uci-defaults/freifunk to allow...
Manuel Munz [Thu, 3 Mar 2011 21:01:17 +0000 (21:01 +0000)]
modules/freifunk: Set uhttpd.main.rfc1918_filter=0 via uci-defaults/freifunk to allow connections from rfc1918 ip space to public ips

13 years agomodules/freifunk: Change domain suffix to ffbt in profile for Bayreuth
Manuel Munz [Mon, 28 Feb 2011 12:50:15 +0000 (12:50 +0000)]
modules/freifunk: Change domain suffix to ffbt in profile for Bayreuth

13 years agomodules/freifunk: Change domain suffix to ffac in profile for Aachen
Manuel Munz [Mon, 28 Feb 2011 12:38:48 +0000 (12:38 +0000)]
modules/freifunk: Change domain suffix to ffac in profile for Aachen

13 years agomodules/admin-full: Detect hostap Prism2/2.5/3 hardware
Vasilis Tsiligiannis [Sat, 26 Feb 2011 22:30:58 +0000 (22:30 +0000)]
modules/admin-full: Detect hostap Prism2/2.5/3 hardware

13 years agolibiwinfo: Fix frequency-to-MHz coversion
Vasilis Tsiligiannis [Sat, 26 Feb 2011 22:30:52 +0000 (22:30 +0000)]
libiwinfo: Fix frequency-to-MHz coversion

13 years agoCommit from LuCI Translation Portal by user acinonyx. 363 of 694 messages translated...
Translation System [Sat, 26 Feb 2011 14:10:43 +0000 (14:10 +0000)]
Commit from LuCI Translation Portal by user acinonyx. 363 of 694 messages translated (27 fuzzy).

13 years agomodules/admin-full: add relay protocol support
Jo-Philipp Wich [Sat, 26 Feb 2011 01:37:29 +0000 (01:37 +0000)]
modules/admin-full: add relay protocol support

13 years agolibs/core: make general network model aware of the relay pseudo bridge protocol
Jo-Philipp Wich [Sat, 26 Feb 2011 01:34:58 +0000 (01:34 +0000)]
libs/core: make general network model aware of the relay pseudo bridge protocol

13 years agomodules/freifunk: change netmask in leipzig profile
Manuel Munz [Wed, 23 Feb 2011 23:15:25 +0000 (23:15 +0000)]
modules/freifunk: change netmask in leipzig profile

13 years agomodules/admin-full: add field validation for hostnames in leases and hosts pages
Jo-Philipp Wich [Tue, 22 Feb 2011 09:52:49 +0000 (09:52 +0000)]
modules/admin-full: add field validation for hostnames in leases and hosts pages

13 years agomodules/admin-full: restart radvd if needed
Jo-Philipp Wich [Mon, 21 Feb 2011 12:46:03 +0000 (12:46 +0000)]
modules/admin-full: restart radvd if needed

13 years agolibs/core: mark radvd as affected by network restarts
Jo-Philipp Wich [Sun, 20 Feb 2011 18:35:28 +0000 (18:35 +0000)]
libs/core: mark radvd as affected by network restarts

13 years agolibs/core: ensure that luci.model.network.network._ip() always returns a table if...
Jo-Philipp Wich [Sun, 20 Feb 2011 14:42:35 +0000 (14:42 +0000)]
libs/core: ensure that luci.model.network.network._ip() always returns a table if a list was requested

13 years agocontrib/package: revert r6919
Jo-Philipp Wich [Sat, 19 Feb 2011 21:56:32 +0000 (21:56 +0000)]
contrib/package: revert r6919

13 years agocontrib/package: avoid duplicate quoting of openwrt release var (#202)
Jo-Philipp Wich [Sat, 19 Feb 2011 21:18:06 +0000 (21:18 +0000)]
contrib/package: avoid duplicate quoting of openwrt release var (#202)

13 years agomodules/freifunk: Change default netmask to 255.255.0.0, change non-working dns,...
Manuel Munz [Sat, 19 Feb 2011 14:54:16 +0000 (14:54 +0000)]
modules/freifunk: Change default netmask to 255.255.0.0, change non-working dns, show error when user tries to edit profiles but there is no profile set yet

13 years agomodules/freifunk: Add profile for Aachen
Manuel Munz [Sat, 19 Feb 2011 11:17:59 +0000 (11:17 +0000)]
modules/freifunk: Add profile for Aachen

13 years agoapplications/luci-splash: fix init script enabling on build host
Jo-Philipp Wich [Thu, 17 Feb 2011 19:17:01 +0000 (19:17 +0000)]
applications/luci-splash: fix init script enabling on build host

13 years agothemes/freifunk-generic: Change link in footer that was pointing to nowhere after...
Manuel Munz [Thu, 17 Feb 2011 15:47:27 +0000 (15:47 +0000)]
themes/freifunk-generic: Change link in footer that was pointing to nowhere after the About page was removed some time ago

13 years agobuild: add nixiodocs make target, remove uvldocs target
Jo-Philipp Wich [Wed, 16 Feb 2011 20:14:25 +0000 (20:14 +0000)]
build: add nixiodocs make target, remove uvldocs target

13 years agobuild: fix bashism in hostenv.sh
Jo-Philipp Wich [Wed, 16 Feb 2011 19:57:39 +0000 (19:57 +0000)]
build: fix bashism in hostenv.sh

13 years agoapplications/luci-ffwizzard: prevent infinite shell loop when compiling LuCI SDK
Jo-Philipp Wich [Wed, 16 Feb 2011 19:56:41 +0000 (19:56 +0000)]
applications/luci-ffwizzard: prevent infinite shell loop when compiling LuCI SDK

13 years agopo/de/base: Add missing space
Manuel Munz [Tue, 15 Feb 2011 21:05:20 +0000 (21:05 +0000)]
po/de/base: Add missing space

13 years agothemes/freifunk-generic: Make 'tr.cbi-section-table-descr th' bold
Manuel Munz [Tue, 15 Feb 2011 20:48:32 +0000 (20:48 +0000)]
themes/freifunk-generic: Make 'tr.cbi-section-table-descr th' bold

13 years agopo/de/base: Remove html markup from translations for status/iptables.
Manuel Munz [Tue, 15 Feb 2011 20:36:24 +0000 (20:36 +0000)]
po/de/base: Remove html markup from translations for status/iptables.

13 years agolibs/sys: Filter model string from /proc/diag/model
Manuel Munz [Mon, 14 Feb 2011 18:54:00 +0000 (18:54 +0000)]
libs/sys: Filter model string from /proc/diag/model

13 years agopo: Move p2pblock translations from freifunk into own translation files
Manuel Munz [Mon, 14 Feb 2011 18:01:20 +0000 (18:01 +0000)]
po: Move p2pblock translations from freifunk into own translation files

13 years agomodules/admin-full: remove cpu info
Jo-Philipp Wich [Mon, 14 Feb 2011 17:05:08 +0000 (17:05 +0000)]
modules/admin-full: remove cpu info

13 years agopo: refresh freifunk
Manuel Munz [Mon, 14 Feb 2011 16:19:29 +0000 (16:19 +0000)]
po: refresh freifunk

13 years agolibs/sys: better handle bogomips parsing
Jo-Philipp Wich [Mon, 14 Feb 2011 15:36:04 +0000 (15:36 +0000)]
libs/sys: better handle bogomips parsing

13 years agomodules/freifunk: Minor i18n fixes
Manuel Munz [Mon, 14 Feb 2011 12:22:41 +0000 (12:22 +0000)]
modules/freifunk: Minor i18n fixes

13 years agothemes/freifunk-generic: Add possibility to use custom logo/header
Manuel Munz [Mon, 14 Feb 2011 01:27:19 +0000 (01:27 +0000)]
themes/freifunk-generic: Add possibility to use custom logo/header

13 years agomodules/freifunk: make ff_rdate more efficient
Manuel Munz [Sun, 13 Feb 2011 11:21:18 +0000 (11:21 +0000)]
modules/freifunk: make ff_rdate more efficient

13 years agoapplications/luci-firewall: fix "any" icmp type for ip6tables
Jo-Philipp Wich [Sat, 12 Feb 2011 23:27:10 +0000 (23:27 +0000)]
applications/luci-firewall: fix "any" icmp type for ip6tables

13 years agomodules/freifunk: change ff_rdate to use /etc/config/timeserver
Manuel Munz [Sat, 12 Feb 2011 19:52:48 +0000 (19:52 +0000)]
modules/freifunk: change ff_rdate to use /etc/config/timeserver

13 years agomodules/freifunk: rdate config not needed anymore
Manuel Munz [Sat, 12 Feb 2011 19:49:35 +0000 (19:49 +0000)]
modules/freifunk: rdate config not needed anymore

13 years agoapplications/ffwizard: rdate config not needed anymore
Manuel Munz [Sat, 12 Feb 2011 19:48:26 +0000 (19:48 +0000)]
applications/ffwizard: rdate config not needed anymore

13 years agoweb: Relax hostname validation for length
Manuel Munz [Sat, 12 Feb 2011 19:39:54 +0000 (19:39 +0000)]
web: Relax hostname validation for length

13 years agolibs/sys: fix call to nixio.uname()
Jo-Philipp Wich [Sat, 12 Feb 2011 19:39:30 +0000 (19:39 +0000)]
libs/sys: fix call to nixio.uname()

13 years agolibs/sys: fix parsing of model and cpu info, consider 2000::/3 as IPv6 default route...
Jo-Philipp Wich [Sat, 12 Feb 2011 19:32:36 +0000 (19:32 +0000)]
libs/sys: fix parsing of model and cpu info, consider 2000::/3 as IPv6 default route if no ::/0 route exists (#200)