Commit graph

81 commits

Author SHA1 Message Date
Jo-Philipp Wich
8431916f7d libs/sys: redirect stdout to /dev7null when calling initscripts 2011-05-21 16:29:31 +00:00
Jo-Philipp Wich
380726158d libs/sys: ignore TIME_WAIT connections in luci.sys.net.conntrack() 2011-03-13 22:08:32 +00:00
Jo-Philipp Wich
9836e949a5 libs/sys: disregard ::/0 routes on "lo" in luci.sys.net.defaultroute6() 2011-03-12 19:25:03 +00:00
Manuel Munz
58d319ea5f libs/sys: Filter model string from /proc/diag/model 2011-02-14 18:54:00 +00:00
Jo-Philipp Wich
31ebd0e378 libs/sys: better handle bogomips parsing 2011-02-14 15:36:04 +00:00
Jo-Philipp Wich
4b0d5f9205 libs/sys: fix call to nixio.uname() 2011-02-12 19:39:30 +00:00
Jo-Philipp Wich
68b51e1527 libs/sys: fix parsing of model and cpu info, consider 2000::/3 as IPv6 default route if no ::/0 route exists (#200) 2011-02-12 19:32:36 +00:00
Jo-Philipp Wich
9c03a76fc2 libs/sys: properly handle passwords with apostrophes 2011-01-25 12:51:41 +00:00
Jo-Philipp Wich
32e908a51c libs/sys: fix luci.sys.wifi.channels() 2011-01-19 21:37:01 +00:00
Manuel Munz
6951da02ce modules/freifunk: Make status page update dynamically with javascript and small cosmetic changes. 2010-12-15 16:35:19 +00:00
Jo-Philipp Wich
e291678012 libs/sys: protect iwinfo loading and return stub if module is not present 2010-11-27 16:57:39 +00:00
Jo-Philipp Wich
e8490c385f libs/sys: lazy load iwinfo 2010-11-27 16:29:33 +00:00
Jo-Philipp Wich
3b5123937e libs/sys: remove luci.sys.flash() 2010-11-25 08:14:10 +00:00
Jo-Philipp Wich
fcd9579fd4 libs/sys: fix logic fail in luci.sys.user.checkpasswd() (#152) 2010-11-05 22:05:11 +00:00
Jo-Philipp Wich
cca45d0bdb libs/sys: resolve pseudo ifaces in luci.sys.wifi.getiwinfo() 2010-10-19 03:56:53 +00:00
Jo-Philipp Wich
051186345c libs/sys: implement luci.sys.user.getpasswd() 2010-10-11 23:22:25 +00:00
Jo-Philipp Wich
7b276a5f48 libs/sys: fix unwanted invocation of initscripts when probing index of rcS 2010-03-08 18:56:03 +00:00
Jo-Philipp Wich
6a02931893 libs/sys: workaround for Lua number overflow in ipv6 route metrics 2010-03-08 00:49:39 +00:00
Steven Barth
6a51fbe673 Minor fixes 2009-11-15 19:02:39 +00:00
Jo-Philipp Wich
21c3e37062 libs/sys: mhz are not floats 2009-11-15 17:06:33 +00:00
Steven Barth
89ece183ef Merge luci.sys.wifi.channels to iwinfo 2009-11-15 15:46:27 +00:00
Jo-Philipp Wich
398c125336 libs/sys: implement luci.sys.wifi.getiwinfo() oop interface 2009-08-09 02:50:20 +00:00
Jo-Philipp Wich
8fcd841aa9 convert luci.fs users to nixio.fs api 2009-07-19 00:24:58 +00:00
Jo-Philipp Wich
07c0f405f3 libs/sys: implement callbacks in luci.sys.net.arptable() and luci.sys.net.conntrack() 2009-07-10 22:01:35 +00:00
Jo-Philipp Wich
98a6885834 libs/sys: optimize luci.sys.net.defaultroute6() 2009-07-10 13:49:24 +00:00
Steven Barth
223963e419 Optimise luci.sys 2009-07-10 13:33:48 +00:00
Jo-Philipp Wich
6bfe0624b6 libs/sys: improve efficiency of sys.net.defaultroute(), can save hundreds of KB memory usage 2009-07-09 15:53:08 +00:00
Steven Barth
30b216f774 Drop support for luaposix and bitlib (obsoleted by nixio)
Mark luci.fs as deprecated
2009-06-21 13:42:26 +00:00
Jo-Philipp Wich
7590cd25f4 - Add support for hostap driver
- Retrieve channels from all available wireless interfaces
 - Add channel "auto" to channel list

Thanks Vasilis Tsiligiannis
2009-05-21 21:33:24 +00:00
Jo-Philipp Wich
f2e4a6665b libs/sys: fix checking for empty table 2009-05-13 18:50:12 +00:00
Jo-Philipp Wich
4856c1ea23 libs/sys: fix typo in last commit 2009-05-13 18:45:13 +00:00
Jo-Philipp Wich
98996e380a libs/sys: implement luci.sys.wifi.channels()
modules/admin-full: only display available channels
2009-05-13 18:42:53 +00:00
Jo-Philipp Wich
43844ccc0d libs/sys: import missing symbol 2009-02-02 17:35:51 +00:00
Jo-Philipp Wich
4b9f7db1ce libs/sys: extend luci.sys.hostname() to allow setting a new name
modules/admin-{full,mini}: update the hostname at runtime
2009-02-01 17:08:40 +00:00
Steven Barth
dd74b986a0 Make luci.sys.wifi.getiwconfig more compatible 2008-12-07 19:38:22 +00:00
Jo-Philipp Wich
46bb17c2d2 modules/admin-full: whitesapce cleanup in routes.lua
libs/sys:		code changes in routes6() and defaultroute6()
2008-11-30 19:12:58 +00:00
Steven Barth
cd8e12d72a Don't fail if we do not have v6 support 2008-11-30 18:43:10 +00:00
Steven Barth
5734545388 Optimized conntrack (thanks to Joe Burpee) 2008-11-30 17:22:48 +00:00
Jo-Philipp Wich
dda65d2b94 libs/core/ip: optmizations
libs/sys:		implement defaultroute6(), change return values of routes() and routes6()
modules/admin-full:	adept route config page to new api
modules/freifunk:	adept overview page to new routes api
2008-11-29 20:46:26 +00:00
Jo-Philipp Wich
5b48beff18 libs/sys: whitespace fix 2008-11-27 00:17:36 +00:00
Jo-Philipp Wich
ddccf47328 libs/sys: fix regexp pattern in routes6() 2008-11-27 00:07:17 +00:00
Jo-Philipp Wich
3793244fcb libs/sys: whitespaces fixes 2008-11-26 22:59:11 +00:00
Jo-Philipp Wich
950825d323 libs/sys: implement luci.sys.net.routes6() 2008-11-26 22:57:57 +00:00
Jo-Philipp Wich
cbed72fb47 * luci/themes: fix log pages
* luci/modules/admin-full: add dmesg page
* luci/i18n: add "dmesg" translations
* luci/libs/util: add cmatch(), register string functions in string class
* luci/libs/sys: add dmesg()
2008-11-16 22:45:10 +00:00
Steven Barth
20fc751eca Detect IXP4xx processors correctly 2008-11-12 18:05:43 +00:00
Steven Barth
3f66d4e5fc Replace some makes-you-want-to-slash-your-wrists-Code with something less harmful 2008-10-30 13:09:40 +00:00
Steven Barth
062eea6b4b Fixed a typo in luci.sys.httpget 2008-10-30 13:09:35 +00:00
Steven Barth
fefe7c0f5d Use uname instead of /proc for reading the system hostname 2008-10-30 12:18:52 +00:00
Steven Barth
758c06df58 Rearrange output of luci.sys.wifi.*, luci.sys.net.conntrack 2008-10-17 21:56:21 +00:00
Jo-Philipp Wich
6d3d30d88f * luci/libs/sys: fix password authentication for users with disabled password and shadow environments 2008-10-12 00:12:21 +00:00