summaryrefslogtreecommitdiffstats
path: root/etc/inc/interfaces.inc
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' of http://gitweb.pfsense.org/pfsense/mainline into mlpppgnhb2010-05-121-5/+7
|\ | | | | | | | | Conflicts: etc/inc/upgrade_config.inc
| * Rework check for PPPoE reset setting, it wasn't matching at bootup so the ↵jim-p2010-05-101-1/+1
| | | | | | | | reset file was not getting added properly. Ticket #583.
| * Fix an edge error in getting the carp interfaces reported by Effone.Ermal2010-05-101-9/+5
| |
| * Do not prepend empty lines to the first member this might trigger errors on ↵Ermal2010-05-101-2/+7
| | | | | | | | code that relies on space to be a separator.
| * Fix link_ip_to_carp_interface. This unbreak at least Carp on CP and other ↵Ermal2010-05-071-0/+1
| | | | | | | | consumers of it.
* | Bandwidth, MTU, MRU settings working.gnhb2010-05-121-54/+66
| |
* | Fix up final bits of PPPoE Periodic reset and disable setting of bandwidths ↵gnhb2010-05-111-10/+2
| | | | | | | | for mlppp links for now.
* | PPPoE Periodic Reset via cron working.gnhb2010-05-101-22/+14
| |
* | Clean up of last revert commit. Revert requested by CMB. (Bring back PPP tab ↵gnhb2010-05-091-1/+2
| | | | | | | | | | | | | | | | in diag_logs). All client side connection of PPPoE, PPP, and PPtP will be logged under the PPP tab for easy separation of normal system messages from mpd's verbose connection logging, especially at connect time.
* | Revert "Remove PPP tab these all go to the system log now."gnhb2010-05-091-20/+25
| | | | | | | | | | | | | | | | This reverts commit 62e74b4261b4044f523ade7c3b45e4484bbd2f8d. Conflicts: usr/local/www/diag_logs_slbd.php
* | Working on PPPoE periodic reset. Writing out pppoe_restart_XXX file still ↵gnhb2010-05-081-6/+16
| | | | | | | | needs work.
* | Code configured to use new interfaces_ppps_configure function for PPP, ↵gnhb2010-05-051-58/+67
| | | | | | | | PPPoE, and PPtP links.
* | New code working with PPP connections, and probably PPPoE/PPtP but I haven't ↵gnhb2010-05-051-0/+320
| | | | | | | | | | | | tested yet. It makes the proper mpd config files for PPPoE and MultiLink PPPoE.
* | Use "PPPs" as the new Tab name in Interfaces -> Assign. Rename files and ↵gnhb2010-05-041-8/+10
| | | | | | | | | | | | update affected files. Also, add upgrade_config function 062_to_063.
* | Merge branch 'master' of http://gitweb.pfsense.org/pfsense/mainline into mlpppgnhb2010-05-021-9/+27
|\ \ | |/
| * Display some extra information about the available wireless channels.Erik Fonnesbeck2010-05-021-1/+24
| |
| * Ticket #471. Bring up the removed/unassigned interface correctly if it is ↵Ermal2010-04-271-7/+2
| | | | | | | | parent to other interfaces, as vlans.
| * Ticket #540. Do not require VJ compression with todays link speeds it ↵Ermal2010-04-271-1/+1
| | | | | | | | pessimizes more than helps.
* | Fix up code to make ppp work again with new interface naming structure.gnhb2010-04-301-5/+8
|/ | | | | | | New interface naming for all PPP (point to point) links is that interfaces in the ppps config section will be numbered from 0 to n and the number will be appended to the link type (ppp, pppoe, pptp) to create the interface name.
* Make PPP redial when the connection is dropped. Also, fix PPP uptime display.gnhb2010-04-111-0/+2
|
* Implement reporting and logging of historical PPP uptime with data ↵gnhb2010-04-101-19/+0
| | | | | | | | | | | | | | | | persistent through reboot. Also, change the way uptime is captured. The mpd console is no longer used to get PPP uptime data, which will prevent spamming of PPP logs with console access messages. This means we no longer have to write out mpd_<interface>.query files to /var/etc. Now, a simple calculation of the age of the /tmp/<interface>up file is used. This gives the same data within the second as the console data so it seems acceptable. I removed some "rm -f" calls from ppp-linkdown as there was already code in interfaces.inc interface_bring_down function that unlinks the <interface>up and <interface>_router files. There is still the rm -r nameserver_<interface> call in the linkdown script. Maybe this should be moved to the interfac_bring_down function for consistency? Also, I commented out the ngctl shutdown <interface>: call. I think it's probably not necessary any more.
* Rework interface_bring_down function a bit. Remove un-needed unlink calls to ↵gnhb2010-04-101-8/+7
| | | | | | | | mpd.links Moved three "unlink_if_exists" calls to happen after calling kill_by_pid for mpd processes. The unlinked files are useful during the process of brining down the mpd interfaces for calculating the link uptime in the "linkdown" script.
* Changes to make PPP work again. mpd5 fails to establish a ppp link withoutgnhb2010-03-291-5/+8
| | | | | | | | | | | | | | *some* username and password, so defaults are set if user enters nothing. Removed interface_ppp_configure call from interfaces_ppp_edit.php. It was useless there with the new structure, and it caused all PPP links to attempt to connect when user presses "Save" even before they are assigned to LAN/WAN, etc. Also, fix up pfsense-utils.inc and status_interfaces.php to display more info on status_interfaces.php. Changed util.inc to allow cua* interfaces to be recognized as real interfaces as pfSense got "interface mismatch" at boot and forced user to reassign. Maybe someone else has a better way to do this.
* Fix a few small bugs in new PPP code, and one type in pfsense-utils.incgnhb2010-03-291-4/+2
|
* Remove bougs (.Ermal2010-03-281-1/+1
|
* Propperly choose interface name from correct variable.Ermal2010-03-281-4/+4
|
* Ticket #447. Allow multiple innstances to be run.Ermal2010-03-271-2/+2
|
* Kill hostapd and wpa_supplicant when bringing the interface down.Erik Fonnesbeck2010-03-261-0/+7
|
* Always kill both hostapd and wpa_supplicant, or they may stay running when ↵Erik Fonnesbeck2010-03-261-7/+3
| | | | WPA is disabled or even both can end up running when switching between AP and station modes.
* Fix killing mpd process for ppp.Ermal2010-03-271-3/+2
|
* Close console and web services for mpd.Ermal2010-03-271-2/+12
|
* Redo most of the ppp interface handling to be consistent with the other mpd5 ↵Ermal2010-03-271-197/+127
| | | | configurations. This way there is no more special handling for ppp around.
* Remove nonsense.Ermal2010-03-261-1/+1
|
* Trivial change in position of counter.gnhb2010-03-261-1/+1
|
* I have PPP with mpd5 working really well now, including setting the APN and APNgnhb2010-03-261-130/+216
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Number, and the SIM PIN and wait time for the SIM to settle after the PIN is entered. Still no work on multilink PPP with serial port links. Right now the code creates the mpd.secret file. I tested it using the set auth password <password> syntax in the mpd.conf file and got errors so I kept the mpd.secret file generation. PPP for modems does need the mpd.script file. It's the chat script file for the link establishment. Right now it has to be in /usr/local/sbin/mpd.script, and it's linked to /var/etc/ at boot time when ppp is first configured. I also took away the "Dialcmd" field in the PPP setup page (and a couple others) because the script is rather comprehensive and is designed to handle many modems. My two 3G modems worked without modification to the script. I did have to modify the scrip to handle the setting of APN and SIM PINs. I made the Init String field work, and the default init commands in the ATT&T, Verizion, and Sprint defaults now come up in the Init String field. You also no longer should put an "AT" at the beginning of modem commands entered in the web page because the script does that for you. I implemented interface renaming and that simplified the new code a lot, so that's nice. Now ppp interfaces start with ppp0 and go up as you add more. This patch refers to the ppp-linkup and linkdown scripts in the /usr/local/sbin/ directory so custom PPP linkup and linkdown scripts are not needed anymore. The persistent uptime tracking is still an open issue, but it works within each connected session. I'm already experiencing much smother conditions with mpd5 for PPP on 3G than I was with userland ppp. It's very nice.
* Prevent upgrade/spurious errors from happening.Ermal2010-03-241-1/+1
|
* Add code for applying wireless regulatory configuration and some extra notes ↵Erik Fonnesbeck2010-03-161-1/+71
| | | | about the regulatory settings.
* Add configuration options for wireless regulatory settings. Still needs ↵Erik Fonnesbeck2010-03-161-1/+1
| | | | code for applying the settings.
* We need mpd5.Ermal2010-03-151-1/+1
|
* Remove whitespce and do less concat operations.Ermal2010-03-121-7/+0
|
* Disable incoming pppoe requests.Ermal2010-03-121-0/+2
|
* Use pgrep/pkill to save a bit of cpu.thompsa2010-03-121-6/+4
|
* Correctly configure the default route addition when interfaces are ↵Ermal Luçi2010-03-091-2/+28
| | | | configured for pppoe/pptp. Handle in system routing configure dynamic interfaces. Also when chaning or configuring the defaultgw reconfigure the underlying interface, this helps when this interfaces are dynamics one.
* Upps use mpd5.Ermal Luçi2010-03-091-1/+1
|
* Enable mpd5 for pppoe/pptp client connections. It brings improvements with it.Ermal Luçi2010-03-081-70/+45
|
* Make sure the channel list for a mode does not get cleared if it already exists.Erik Fonnesbeck2010-03-081-4/+8
|
* Fixes for 11g Turbo and 11a Turbo modes.Erik Fonnesbeck2010-03-071-5/+4
|
* Disable ampdu for now on mwl when running in 11n mode to prevent massive ↵Erik Fonnesbeck2010-03-071-0/+5
| | | | packet loss under certain conditions.
* Ensure string is cleared out if neededScott Ullrich2010-03-071-0/+2
|
* Only include wpa_passphrase= line if a string has been entered. Ticket #404Scott Ullrich2010-03-071-1/+3
|
OpenPOWER on IntegriCloud