Commit Graph

276 Commits

Author SHA1 Message Date
Erik Fonnesbeck
1fb064e86d Separate regdomain.xml parsing back to a separate file, so it can be used when xmlreader.inc is used instead of xmlparse.inc 2010-07-10 21:36:54 -06:00
jim-p
8b7ae9a371 Only unset if this is actually set. Ticket #710 2010-07-02 10:08:06 -04:00
gnhb
ced4df7428 Take out all code that assumes to use DHCP for local ip if local ip is left blank.
Also, check for blank local IPs and error out if they occur.
2010-06-10 22:54:17 +07:00
gnhb
237212858e Fix some things in interfaces.inc, attempt to suppress mpd log verbosity.
Fix also localip handling in interfaces.php
2010-06-10 21:51:09 +07:00
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
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
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
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
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
4749cccb32 Merge branch 'master' of http://gitweb.pfsense.org/pfsense/mainline into mlppp 2010-06-03 23:01:34 +07:00
jim-p
af1e20319e Add status link to Interfaces 2010-06-02 10:34:29 -04:00
gnhb
24bc6ffbc4 Update note text.
Change label and update note text about Advanced and MLPPP configs.
2010-05-31 22:02:52 +07:00
gnhb
0963707502 Simplify code that handles link specific data fields like local ip, gateway, and bandwidth. 2010-05-31 06:53:46 +07:00
gnhb
6c05cfb07b Delete the interface_ppp_configure function and change how PPP data is saved.
PPP data entered in interfaces.php was clobbering data that didn't have associated
fields in this page. Fixed now. Also, add a little PPP section to interfaces.php file
to point users in the right place to create the configuration.
2010-05-29 21:30:57 +07:00
gnhb
7005d84390 Merge branch 'master' of http://gitweb.pfsense.org/pfsense/mainline into mlppp
Conflicts:
	usr/local/www/interfaces.php
2010-05-29 11:13:49 +07:00
gnhb
93ee632334 little html tag change. 2010-05-29 10:55:00 +07:00
gnhb
3a13f094d5 Fix up whitespace so file is easier to read, and fix a few missing tags. 2010-05-29 10:49:51 +07:00
gnhb
68f0c07a0a Merge branch 'master' of http://gitweb.pfsense.org/pfsense/mainline into mlppp
Conflicts:
	etc/inc/pfsense-utils.inc
	usr/local/www/interfaces.php
2010-05-29 10:11:33 +07:00
gnhb
0661b194d9 Fix many things related to PPP connections.
Fixed tab array numbering in interfaces_* files. Enabled multilink over PPtP connections.
Fixed handling of bandwidth, mtu, mru settings. Removed unnecessary curly brackets from
single line if conditionals, and more . . .
2010-05-26 21:07:00 +07:00
Erik Fonnesbeck
89e52df87f Add a default setting to location type of wireless that leaves the setting at its default for the interface. 2010-05-25 13:03:35 -06:00
gnhb
d9e2c1714b Merge branch 'master' of http://gitweb.pfsense.org/pfsense/mainline into mlppp
Conflicts:
	usr/local/www/interfaces.php
Not sure why there was a conflict since the last change to this file was May 20.
2010-05-21 07:34:23 +07:00
gnhb
30ade8461e Fixing whitespace so this file is more readable. And comment out extra html tags at the end of the file.
This file was in bad shape wrt tab spaces lining up. It should be more readable now.
2010-05-21 06:09:25 +07:00
Scott Ullrich
fa90d70137 Add note about required enabled WPA option for 802.1x 2010-05-20 15:36:04 -04:00
gnhb
9978e156d5 Fix HTML tags in interfaces.php and delete extra javascript function in ppps_edit.js 2010-05-20 08:22:25 +07:00
gnhb
2666de59fe Merge branch 'master' of http://gitweb.pfsense.org/pfsense/mainline into mlppp 2010-05-18 16:52:33 +07:00
gnhb
e40e672419 Modify and fix code to set pppoe periodic reset. 2010-05-18 16:38:37 +07:00
Ermal
2b001b5d05 Ticket #548. Change message displayed when modifying an interface to actually tell people to modify dhcp server setting after applying settings since the interface configuration/ip will only change after applying settings and pfSense does not read the interface address from the config but from the interface itself and the complications for this and possibly other cases are not worth the effort. 2010-05-13 18:51:58 +00:00
gnhb
3f2ef8d739 Fixing bugs and ommissions. 2010-05-13 01:30:22 +07:00
gnhb
d85ba87ff3 Make changes to interfaces.php to be compatible with new PPPoE, PPtP code and config style.
Now this page will write the config info the same was that the interfaces_ppps_configure.php
writes the config info.
2010-05-12 18:36:55 +07:00
Erik Fonnesbeck
0acae2a0f8 Add a note about the regulatory domain and cards that have an unrecognized default. 2010-05-02 01:36:36 -06:00
Erik Fonnesbeck
f4094f0ddc Display some extra information about the available wireless channels. 2010-05-02 00:51:42 -06:00
Chris Buechler
897eb11dc9 show IP as well as gateway name on interfaces.php 2010-04-30 00:27:41 -04:00
Ermal
2f678757bf Do not create faulty gateway entires with just defaultgw set it breaks logic. 2010-03-31 10:33:54 +00:00
Ermal
da75413def Fix interface assignment and re-edit 2010-03-28 21:11:22 +00:00
Ermal
6a68854775 Make lan/wan behave as all other interfaces. 2010-03-27 00:28:07 +00:00
Ermal
611ae85214 Redo most of the ppp interface handling to be consistent with the other mpd5 configurations. This way there is no more special handling for ppp around. 2010-03-27 00:05:37 +00:00
Erik Fonnesbeck
071d63b9ab Restore attribute support, but with some extra checks in the function that uses it. 2010-03-16 23:13:15 -06:00
Erik Fonnesbeck
441e600798 Needs a little more testing; revert attribute support in xmlparse.inc for now.
This reverts commit 2843a3ec5d.
2010-03-16 22:12:47 -06:00
Erik Fonnesbeck
2843a3ec5d Add optional support for reading attributes to xmlparse.inc and move regdomain.xml parsing from regdomain.inc to xmlparse.inc. 2010-03-16 20:59:06 -06:00
Erik Fonnesbeck
bbfc810e85 Add code for applying wireless regulatory configuration and some extra notes about the regulatory settings. 2010-03-16 16:36:40 -06:00
Erik Fonnesbeck
20f09b3bca Add configuration options for wireless regulatory settings. Still needs code for applying the settings. 2010-03-16 16:30:15 -06:00
Erik Fonnesbeck
0b6ab3ec67 Add note about the auto channel setting. 2010-03-16 02:02:39 -06:00
Erik Fonnesbeck
57bbd53241 Combine "802.11g only" and "802.11n only" into a single option. 2010-03-12 18:07:20 -07:00
Erik Fonnesbeck
9be209282f Fixes for 11g Turbo and 11a Turbo modes. 2010-03-07 16:54:05 -07:00
Scott Ullrich
c39ca3e243 AES is recommended due to Toshihiro Ohigashi and Masakatu Morii attacks 2010-03-07 18:13:45 -05:00
Scott Ullrich
d6050c47e1 Move description into listtopic area 2010-03-07 17:53:54 -05:00
Erik Fonnesbeck
ed459692ed Add 802.11n-only option. Hide options specific to 802.11g or 802.11n when those modes aren't available. 2010-03-07 02:07:53 -07:00
Erik Fonnesbeck
a8f582879e Revert "Add temporary note that changing the wireless standard may require a reboot. To be reverted when the extra work is in place to get it to change when multiple wireless clones exist."
This reverts commit b383e88b59.
2010-03-07 00:28:42 -07:00