Commit Graph

19298 Commits

Author SHA1 Message Date
smos
793d3c961d Attempt to Eject the CD device on 3G sticks for Huawei and ZTE devices. 2012-05-20 20:01:39 +02:00
smos
1de3cd8749 Act on wireless interfaces too for linkup.
Redmine ticket #2440
2012-05-20 20:01:39 +02:00
Jim P
e4834b5773 Merge pull request #111 from vizvayu/bug2374
Fix of bug #2374 "When entering values in firewall rules leading and trailing spaces are not deleted" bis
2012-05-20 09:28:13 -07:00
jim-p
03f7925a18 Fix variable test 2012-05-20 11:51:44 -04:00
smos
2a210730dc Initialize variable if it's not set 2012-05-20 14:50:07 +02:00
smos
ffd2059b2a This command works better with Huawei modems. Needs more testing 2012-05-20 14:48:54 +02:00
smos
1cba5c587d Make sure we don't accidentaly clobber the v4 dns servers with empty fields from v6 2012-05-20 13:21:46 +02:00
smos
3930a9c0ea Prevent duplicate gateways from showing up if the interface is down. Redmine ticket #2442 2012-05-20 13:13:03 +02:00
smos
d23ef852b3 Set the retry value to 60 seconds, this is not attempts, this is seconds before it needs a reply. So if the DHCP server was any sort of slow it would fail to aquire a lease. This was true for my wireless network at home. Plus, on various other lossy links, even cable modems this could be true.
Redmine ticket #2440

retry time;
	     The retry statement determines the time that must pass after the
	     client has determined that there is no DHCP server present before
	     it tries again to contact a DHCP server.  By default, this is
	     five minutes.
2012-05-20 12:38:44 +02:00
smos
b2ff5d17ba Add the PPP automatic interface type. This would show the _PPP gateways. 2012-05-20 12:09:28 +02:00
Cristian Feldman
fd86d829fe Overcome laziness to avoid unnecessary loop 2012-05-18 23:22:26 -03:00
Cristian Feldman
90f90934c0 Fix of bug #2374 "When entering values in firewall rules leading and
trailing spaces are not deleted"
2012-05-18 22:57:38 -03:00
Ermal
1346306cf7 Allow 802.1p tags to be controlled from firewall rules edit screen 2012-05-18 19:49:41 +00:00
Scott Ullrich
9c408ade49 Merge pull request #108 from vizvayu/dashboard-cpufreq-update
System info widget on dashboard now updates CPU Frequency automatically
2012-05-17 21:11:10 -07:00
Cristian Feldman
4dedd18a80 System info widget on dashboard now updates CPU Frequency automatically 2012-05-18 00:53:21 -03:00
Chris Buechler
735021f5db Merge pull request #94 from vizvayu/master
Added description text for IPSec tunnel status in "Status: IPsec" page
2012-05-17 20:41:25 -07:00
Cristian Feldman
a425a28b62 Moved status text to img title (tooltip) 2012-05-17 22:37:47 -03:00
Cristian Feldman
4976f453a8 Added description text for IPSec tunnel status in "Status: IPsec" page 2012-05-17 22:37:47 -03:00
Darren Embry
c1361a9f8b feature #2413 Allow IPv6 interface configuration from the menu 2012-05-17 20:17:48 -04:00
Darren Embry
416e1530bd normalize indentation 2012-05-17 19:17:01 -04:00
Darren Embry
cd485c4fce remove some log_error calls 2012-05-17 19:02:01 -04:00
Darren Embry
283d78c632 bug fix for #2426
Input validaton on interface gateway creation box needs to reject duplicate names
2012-05-17 19:00:06 -04:00
Darren Embry
a0edece98b report errors adding a gateway through ajax calls 2012-05-17 18:33:21 -04:00
Darren Embry
8dcca9b51b - also rename $section arg to $section_name in some functions to clarify
- also robustify parsing for <tagname> and bulletproof the handling of
  certain errors
2012-05-17 17:32:04 -04:00
Darren Embry
428c289fb4 allow null to be passed as 2nd arg to parse_config_xml*
in which case entire config is returned
2012-05-17 17:30:24 -04:00
Darren Embry
ff9fbc7b3c fix 'XML error: no Array object found!' errors 2012-05-17 17:14:04 -04:00
Darren Embry
976d0213c1 fix cosmetic bug when developer was turned on.
highlight the hidden menu item differently.
2012-05-17 16:49:24 -04:00
Darren Embry
dcb94db5d8 fix for #2231
Don't activate master "Save Settings" button on traffic graph min/max.
2012-05-17 15:43:53 -04:00
Darren Embry
f757431db5 more verbose log_error on rrdtool restore failure 2012-05-17 15:22:49 -04:00
Darren Embry
5d51f00ec7 log_error if rrdtool restore calls fail 2012-05-17 15:22:29 -04:00
Darren Embry
0887774669 restore_rrddata() adds log_error calls and uses -f 2012-05-17 15:16:12 -04:00
Darren Embry
7a865f0344 add -f to 'rrdtool restore' call 2012-05-17 15:13:46 -04:00
Darren Embry
7eead1fc1e add rrddata to backup/restore dropdowns. 2012-05-17 14:55:26 -04:00
Darren Embry
c9a192381c indentation cleanup 2012-05-17 14:05:17 -04:00
Darren Embry
754b75d076 move certain code to new function restore_rrddata() 2012-05-17 14:03:00 -04:00
jim-p
b61e89600e Teach mwexec and mwexec_bg how to optionally clear signal masks, and use that when launching ntp or ntpdate. 2012-05-16 14:03:24 -04:00
jim-p
9cf11774f2 Fixup halt and reboot to catch the output from the shutdown process properly.
Conflicts:

	usr/local/www/halt.php
	usr/local/www/reboot.php
2012-05-16 13:17:47 -04:00
jim-p
0b8e9d38d8 On its own, ntpd does not sync fast enough at bootup, so bring back the ntpdate sync but improve it so it can't get stuck forever. 2012-05-16 10:48:26 -04:00
jim-p
11e069064b Fix syntax here too in case we need to revive it. 2012-05-15 16:41:30 -04:00
jim-p
7dab8995dd Clear process signals before exec() or ntpd misbehaves if called from PHP on i386. 2012-05-15 16:37:07 -04:00
Erik Fonnesbeck
ae26412f3d Move git package name/URL to the configuration variables section. 2012-05-15 13:26:38 -06:00
Jim P
da5b3e837a Merge pull request #107 from bcyrill/patch-1
correct closing tags
2012-05-15 11:27:38 -07:00
bcyrill
ec18e696a3 correct closing tags 2012-05-15 21:22:48 +03:00
jim-p
e37eeb4973 Only process this if it's an array 2012-05-15 13:45:56 -04:00
jim-p
c886fed9ba As suggested by wagonza, using SAMEORIGIN for X-Frame-Options is sufficient here, and does allow the traffic graphs to work. Fixes #2419 2012-05-15 11:44:38 -04:00
jim-p
29c2c1db15 Fix quoting - can't use ' if we want to expand a variable inside the string. 2012-05-15 11:11:51 -04:00
jim-p
25890c507b Use a text description instead of a code. 2012-05-15 10:35:45 -04:00
jim-p
e078c88207 Add NTP status page using ntpq. 2012-05-14 16:30:07 -04:00
jim-p
42135f0786 Use FreeBSD's ntpd instead in the backend 2012-05-14 15:44:37 -04:00
jim-p
a8543b59bd With FreeBSD's ntpd, the current options are irrelevant, but we can have a nice status page 2012-05-14 14:50:44 -04:00