Commit Graph

6893 Commits

Author SHA1 Message Date
gnhb
4a1ee8ac31 Clean up pptp a bit and modify text description in interfaces_ppps_edit 2010-06-10 01:39:49 +07:00
gnhb
1d7e1d6c2c Fix up for new ptpid scheme and new iface naming scheme. 2010-06-09 22:51:59 +07:00
gnhb
99c26d44ae Make assignment work with new ptpid and if name structure. 2010-06-09 22:02:10 +07:00
gnhb
5c8e8a17e3 Make pppoe reset work again with new <if> naming scheme.
Previous commit also moved pppoe reset functions to interfaces.inc
so we don't have to duplicate in interfaces.php and interfaces_ppps_edit.php

Also, add code so that when ppp config section gets deleted, associated <cron>
item gets deleted for pppoe-reset cron items.
2010-06-09 21:40:12 +07:00
gnhb
e5d558bfac Change ptpid to use sequential number. This makes Ermal happy. :)
Also add <if> section to <ppps><ppp> which is ppp type + ptpid.`
2010-06-09 21:14:59 +07:00
gnhb
513b762e7a Add check for required fields for PPP connections. 2010-06-08 22:39:03 +07:00
gnhb
8256f32408 Fix all issues that Ermal found.
Interfaces.php problems.
1- When creating a pppoe ptpid on the config is empty(<<ptpid/>).
2- after switching from pppoe to pptp in the config there remains
pppoe-reset-type which is not that much of a bug but needs to be
fixed.
3- When choosing ppp type even though i do not have a device i am
allowed to save. After saving it switches to none type automatically.
The <ppp> section still has values of pptp config and some of pppoe
and only the apn related to ppp. The interface assignment still has
teh interface pptp1! (This is quite buggy i would say.)

Interfaces -> assign
1- After doing all the tests on interfaces.php everything is shown
with ppp() on interfaces.php picture attached. (probably an issue with
how you do find ppp interfaces around.)
2- MPD is started even though the interface is not enabled after assignment.
3- During assignment as i tell you even below remove teh pptpid from
the interface an duse interface name.

Interfaces -> assign -> ppp
1- I have an emtpy thing in there when i do all the actions on interfaces.php
2010-06-08 22:32:25 +07:00
gnhb
b20f736344 Merge branch 'master' of http://gitweb.pfsense.org/pfsense/mainline into mlppp 2010-06-08 07:06:46 +07:00
Ermal
66a96e72c0 Reorganize code to be able to actually use the lookup_gateway_ip_by_name() function to find even dynamic gateways ip. 2010-06-07 21:08:11 +00:00
Scott Ullrich
ac7609c2b6 Binaries should not be in the git repo 2010-06-07 16:55:13 -04:00
Scott Ullrich
906bf57a64 Binaries should not be in the git repo 2010-06-07 16:54:46 -04:00
Scott Ullrich
80b38739e9 Binaries should not be in the git repo 2010-06-07 16:54:11 -04:00
Scott Ullrich
571f89a2d0 Binaries should be in the git repo 2010-06-07 16:53:27 -04:00
Ermal
5a5447abab Correctly check when to actually save dynamic gateways or not. 2010-06-07 20:52:32 +00:00
Ermal
4b4be09e1d Actually show other data with gateways status. 2010-06-07 20:34:51 +00:00
Ermal
beb7b8140c Correctly control status of gateways. These code is tripled in these pages not sure what is the best solution. 2010-06-07 19:17:00 +00:00
gnhb
277d0250b0 Merge branch 'master' of http://gitweb.pfsense.org/pfsense/mainline into mlppp
Conflicts:
	etc/inc/interfaces.inc
	etc/inc/pfsense-utils.inc
2010-06-07 23:24:17 +07:00
jim-p
0496997630 Fix some typos/omissions. 2010-06-07 12:02:21 -04:00
gnhb
3a906378cb Initial support for DCHP+PPtP/L2tP. DHCP + PPPoE is supported too.
Must create an OPTx interface and set to DHCP for DHCP+PPPoE.
2010-06-07 22:42:31 +07:00
gnhb
ebdbdbc26b Make display of interface name and uptime work again on status_interfaces.php 2010-06-06 19:52:28 +07:00
gnhb
cac14686eb Fix javascript error and apn id so not duplicate id in html. 2010-06-05 20:57:11 +07:00
Ermal
5523fa3d2d Fixes #632. Actually pass the interface and not the vip configuration to the function. 2010-06-04 16:34:14 +00:00
gnhb
7db2ef5fd8 Simplify GUI even more, especially for PPP connections. 2010-06-04 07:20:41 +07:00
jim-p
f81cfcc92e Use require_once instead of require, in case these files have been loaded previously. Fixes #631 2010-06-03 15:40:34 -04:00
gnhb
8adc1e49ad Set default values to what we've had in the past.
`
2010-06-03 23:27:38 +07:00
gnhb
c5232cbbb9 Rework GUI to hide advanced options and display via button.
requested by Ermal.
2010-06-03 23:07:44 +07:00
gnhb
4749cccb32 Merge branch 'master' of http://gitweb.pfsense.org/pfsense/mainline into mlppp 2010-06-03 23:01:34 +07:00
Scott Ullrich
b72eb6c8cc Show when Padlock is active 2010-06-02 23:47:26 -04:00
Erik Fonnesbeck
60ce86ea1e For settings that exist in the configuration but are blank, only consider it true when associated with a checkbox. 2010-06-02 18:02:20 -06:00
gnhb
1a5f6ddf19 Merge branch 'mlppp' of rcs.pfsense.org:pfsense/gnhb-clone into mlppp 2010-06-03 06:23:27 +07:00
Ermal
b554f7bf1e Fix logic. 2010-06-02 23:01:08 +00:00
jim-p
3dd81dea7a Ensure that monitor IP stays blank when editing a system dynamic gateway. 2010-06-02 11:26:58 -04:00
jim-p
41d984713b Default to "dynamic" for a dynamic gateway. 2010-06-02 11:13:32 -04:00
jim-p
b9b9b4d8d8 Add status links to shaper pages. 2010-06-02 10:42:11 -04:00
jim-p
af1e20319e Add status link to Interfaces 2010-06-02 10:34:29 -04:00
jim-p
14e9606693 Remove auth logs tab, since it is handled by the log link above. 2010-06-02 10:27:21 -04:00
jim-p
5633ab302b Add status/log links to Captive Portal pages 2010-06-02 10:23:54 -04:00
jim-p
3cceb5d5eb Add status/log links to Firewall rules 2010-06-02 10:04:24 -04:00
jim-p
02ca24c9d2 Add status links to gateway/route pages. 2010-06-02 09:58:31 -04:00
jim-p
e234921a79 Add status/log links to LB pages. 2010-06-02 09:51:51 -04:00
Vinicius Coque
460b635f14 Listing service providers
- Added dropdown list to select provider
 - Added javascrit methods to handle Ajax requests
2010-06-02 10:22:35 -03:00
Vinicius Coque
f1a7a39721 Creating Ajax file that lists mobile service providers 2010-06-02 10:09:53 -03:00
Renato Botelho
b93dbed8cb Update service providers.xml to latest version 2010-06-02 09:08:37 -03:00
Renato Botelho
3ffa831888 First steps for 3g serviceproviders support
o Move xml2array from rrd.inc to pfsense-utils.inc because it'll be used
  on non-rrd related places
o Add necessary require_once() calls to pfsense-utils.inc on places that
  are calling xml2array()
o Add serviceproviders.xml, obtained from [1]
o Add ISO xml with country codes and names, obtained from [2]

[1] http://git.gnome.org/browse/mobile-broadband-provider-info/
[2] http://www.iso.org/iso/country_codes/iso_3166_code_lists.htm
2010-06-02 08:30:29 -03:00
Ermal
eb15decbf7 Provide a default error message on error pages if there is none provided by other means. 2010-06-01 21:09:44 +00:00
Ermal
b90996c504 Add forgotten newlines. 2010-06-01 20:49:21 +00:00
Ermal
e06b7fa20e Do not overwrite previous rules. 2010-06-01 20:33:58 +00:00
Ermal
4d349edec5 Free ipfw ruleno so it can be reused. Propperly delete passthrough mac entries that are not used. 2010-06-01 20:31:56 +00:00
Ermal
3bf8eb9345 Use correct array to iterate. 2010-06-01 20:22:30 +00:00
jim-p
5224b8e7d2 Add status/log icons to DHCP page. 2010-06-01 16:03:05 -04:00