Commit Graph

19384 Commits

Author SHA1 Message Date
smos
323954b113 Unset the IP protocol tag while processing this array. This prevents a log message 2012-05-23 18:36:05 +02:00
Ermal
6805d2d25f Fixes #2209. Obey the mtu value set on the interfaces.php page. Though this value will be overwritten if there is a configuration under PPP settings tab. Maybe a good idea is to set MRU at the same value if not set? 2012-05-23 17:35:13 +00:00
smos
e313da37e6 Be a bit smarter about the stats interface for the huawei cards. Some of the K series have the stats on 0.2, the E series on 0.3
Some of the older E series only have 0.2 too. The new K3770 I got today is too new.
2012-05-23 18:00:51 +02:00
smos
d23e157a06 Add more functions and expand the 3G status interfaces screen.
List the SIM state, service, speeds and mode
2012-05-23 17:14:28 +02:00
smos
7e631290b2 clean up old lock files for modem ports if a stale is left behind 2012-05-23 16:24:47 +02:00
jim-p
b22fc82559 Move vip upgrade code to be later, since it was backed out of 2.0.x it no longer needs to be so early, and otherwise there can be some breakage/fallout. Ticket #2445 2012-05-23 11:35:41 -04:00
Ermal
617244c7f7 Ooops use correct name for vips 2012-05-23 15:29:36 +00:00
Ermal
35b714597c Oops this should be sed and not sh. Fixes #2445 2012-05-23 15:12:48 +00:00
Ermal
bf58398ce6 Specify correct attribute where to read the setting from. 2012-05-23 12:59:24 +00:00
Ermal
c5b0298f87 If specified use the default settings for bw limitation rather than 0 2012-05-23 12:57:43 +00:00
Ermal
6405333995 Prevent 2 instances of rc.prunecaptiveportal from running in parallell since this might be a bad thing 2012-05-23 12:55:42 +00:00
smos
d535507a07 Add more fields to the 3g stats 2012-05-23 13:25:49 +02:00
smos
99f95f7d3b Add the 3G mode display, really needs a function that translates these into sane display numbers for strength and mode.
The mode is actually a combination of LED color 4 = blue(idle), 5 = cyan(connected), and submode 7 = HSDPA
I need to find some proper documentation, really.
2012-05-23 12:15:23 +02:00
smos
fe7fef6418 Fix command, remove spurious ' 2012-05-23 11:47:37 +02:00
smos
7efe5ac50c Initialize the statistics, also parse on MODE messages 2012-05-23 11:41:23 +02:00
smos
d1796d06da Kill the old 3gstats collector. Clarify the log message 2012-05-23 11:35:31 +02:00
Ermal
739808f779 Make file names match to make this work. Also use zone name in the file to not mix things 2012-05-23 10:50:28 +00:00
smos
71f4a2b70c Unbreak adding IPv6 static routes 2012-05-23 10:53:49 +02:00
smos
73ce690995 Make sure to bail the stats script if we can not open the modem device. 2012-05-23 09:21:44 +02:00
Matt Corallo
6bb73ce61e Remove dead code. 2012-05-22 23:58:30 +02:00
Matt Corallo
fffbfef0a8 Fix DynDNS issue introduced by f3b2b2a (_dnsIP was not set). 2012-05-22 23:58:30 +02:00
Matt Corallo
37f3e7041f Add the option to use a custom Dynamic DNS Provider via an Update URL and Result Match. 2012-05-22 23:58:30 +02:00
Ermal
aec0f2fd54 If extra bw attributes are supplied during reauthentication apply and log them 2012-05-22 20:59:40 +00:00
Ermal
5c0b5f64f2 Unlock if error occurs 2012-05-22 19:18:47 +00:00
jim-p
43d735deea Use "proto 112" instead of tcpdump's vrrp keyword since it's a little behind the times and doesn't realize that ip6+vrrp is valid. And since we're not using the vrrp keyword directly anymore, let's call it CARP instead. 2012-05-22 09:26:08 -04:00
smos
5a61fd69c9 Make sure that we match multiple characters.
Ticket #2415
2012-05-22 08:13:50 +02:00
smos
e7de69fbd5 First round of CARP vip renaming changes
Ticket #2415
2012-05-22 07:49:49 +02:00
smos
ee8c34f487 Properly test for the address family now that the array says what it's supposed to be. 2012-05-21 19:01:05 +02:00
smos
44b054ce5c Add the address family tag to the gateway groups array 2012-05-21 18:57:29 +02:00
smos
2b095a3323 Correct the rrd update command 2012-05-21 15:41:56 +02:00
smos
852171dd30 Read in the correct interface file 2012-05-21 15:35:33 +02:00
smos
5e5896856a Add 3G statistics for Huawei modems, split the Cellular stats out to per interface instead of global. 2012-05-21 15:31:02 +02:00
jim-p
c0ae3bfb74 Don't auto-toggle the "do not backup rrd" setting - we do not want this on unless the user explicitly selects it. It makes for very, very large backup files and must default to off. 2012-05-21 10:10:36 -04:00
Erik Fonnesbeck
612f519852 Modify the tar parameters to exclude .git 2012-05-20 17:52:38 -06:00
smos
c6d0f00b03 Allow modification of gateway groups even if the gateways are down. 2012-05-20 21:15:06 +02:00
smos
96cd928ba2 Allow saving on system.php if the gateways are down. 2012-05-20 20:57:05 +02:00
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