Actually it needs choparp_ prepended.
Fixes #632. When bringing down a vip of proxyarp use the new pidfile introduced. Also teach about interface argument to proxyarp function so it can start only a instance of an interface.
Fixes #667. Do not bring down mpd5 if the interface is configured for dial on-demand.
Fix comments to work better.
Merge branch 'master' of rcs.pfsense.org:pfsense/mainline
Comment out log suppression. No front end control implemented yet.
Fix typo. Ticket #632
Ticket #88. Add checks to disable txcsum when needed for wirless interfaces so it does not break bridging when teh interface itself is reconfigured.
Simplify/optimize code for carp [re]configuration. This is possibly related to Ticket #601. Also this speedups vip creation on large number of interfaces.
Fixes #632. Use the correct function to handle vip destory.
Remove extra code that isn't needed any more in interfaces.inc.
creating pppoe reset file is now handled directly in interfaces_ppps_configure function.
Fix empty data shown in interfaces_ppps when dislaying modem interfaces.
Also, clean up interfaces_ppps_configure. For PPtP/L2tP if Local IP field isleft empty, try to get the IP from the physical interface if it has one. If notjust log error and abort.
Actually seems this option is deprectated. Thanks-to: gnhb
Place bundle options at the bunlde code section.
Fixup code.
With no * mpd will suppress some of the logs, but still doesn't seem quite right.
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.
Remove old interface_pppoe_configure and interface_pptp_configure functions.
Fix some things in interfaces.inc, attempt to suppress mpd log verbosity.
Fix also localip handling in interfaces.php
Catch up with latest ppp configuration type in convert_real_interface_to_friendly_interface. Fix some logic on interface_ppps_configure to support for assigned interfaces to be used as members.
Do not log useless log and do the check earlier as a microoptimization.
Clean up pptp a bit and modify text description in interfaces_ppps_edit
Fix up for new ptpid scheme and new iface naming scheme.
Fix missing "or" ||.
Fix up for new ptpid scheme and iface name scheme.
Make pppoe reset work again with new <if> naming scheme.
Previous commit also moved pppoe reset functions to interfaces.incso 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>...
Change ptpid to use sequential number. This makes Ermal happy. :)
Also add <if> section to <ppps><ppp> which is ppp type + ptpid.`
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 remainspppoe-reset-type which is not that much of a bug but needs to be...
Give more time for getting dhcp address and DNS lookup.
Merge branch 'master' of http://gitweb.pfsense.org/pfsense/mainline into mlppp
Conflicts: etc/inc/interfaces.inc etc/inc/pfsense-utils.inc
Fix up little things.
Initial support for DCHP+PPtP/L2tP. DHCP + PPPoE is supported too.
Must create an OPTx interface and set to DHCP for DHCP+PPPoE.
Add some missing code to convert_real_interface_to_friendly_interface_name. There is no need to go through all the interfaces just to find out if an interface has a gateway or not and is the same for finding the real interface name of a friendly interface. Also while here do not rely on stristr for finding if an interface exists rather do a proper matching on interface name otherwise wrong results might come up.
Set default values to what we've had in the past.
`
Use the functions from the pfSense module to configure interfaces on interfaces.inc.
When an interface spoofs its mac address change the mac address of all vlans having it as parent. Remove such code from the vlan configuration phase since this is way the mac change will always get propagated and its faster.
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 associatedfields in this page. Fixed now. Also, add a little PPP section to interfaces.php fileto point users in the right place to create the configuration.
Conflicts: etc/inc/pfsense-utils.inc usr/local/www/interfaces.php
Add client l2tp support. Not complete yet.
Remove all "defaultgw" settings from PPPs config page.
Just use existing defaultgw configuration settings from System:Gateways settings.
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 fromsingle line if conditionals, and more . . .
On gre/gif case when the interface is saved do a reconfigure of the underlying interface itself. This helps when an interface is enabled/disabled as reported on http://forum.pfsense.org/index.php/topic,25329.0.html.
pfSense_get_interface_stats no longer gives the up/down status of the interface, so use pfSense_get_interface_addresses instead.
Conflicts: etc/inc/upgrade_config.inc
Bandwidth, MTU, MRU settings working.
Fix up final bits of PPPoE Periodic reset and disable setting of bandwidths for mlppp links for now.
Rework check for PPPoE reset setting, it wasn't matching at bootup so the reset file was not getting added properly. Ticket #583.
Fix an edge error in getting the carp interfaces reported by Effone.
Do not prepend empty lines to the first member this might trigger errors on code that relies on space to be a separator.
PPPoE Periodic Reset via cron working.
Clean up of last revert commit. Revert requested by CMB. (Bring back PPP tab in diag_logs).
All client side connection of PPPoE, PPP, and PPtP will be logged under the PPP tabfor easy separation of normal system messages from mpd's verbose connection logging,...
Revert "Remove PPP tab these all go to the system log now."
This reverts commit 62e74b4261b4044f523ade7c3b45e4484bbd2f8d.
Conflicts:
usr/local/www/diag_logs_slbd.php
Working on PPPoE periodic reset. Writing out pppoe_restart_XXX file still needs work.
Fix link_ip_to_carp_interface. This unbreak at least Carp on CP and other consumers of it.
Code configured to use new interfaces_ppps_configure function for PPP, PPPoE, and PPtP links.
New code working with PPP connections, and probably PPPoE/PPtP but I haven't 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 update affected files.
Also, add upgrade_config function 062_to_063.
Display some extra information about the available wireless channels.
Fix up code to make ppp work again with new interface naming structure.
New interface naming for all PPP (point to point) links is that interfacesin the ppps config section will be numbered from 0 to n and the numberwill be appended to the link type (ppp, pppoe, pptp) to create the interface...
Ticket #471. Bring up the removed/unassigned interface correctly if it is parent to other interfaces, as vlans.
Ticket #540. Do not require VJ compression with todays link speeds it pessimizes more than helps.
Make PPP redial when the connection is dropped. Also, fix PPP uptime display.
Implement reporting and logging of historical PPP uptime with data persistent through reboot.
Also, change the way uptime is captured. The mpd console is no longer used toget PPP uptime data, which will prevent spamming of PPP logs with console access messages....
Rework interface_bring_down function a bit. Remove un-needed unlink calls to 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...
Changes to make PPP work again. mpd5 fails to establish a ppp link withoutsome username and password, so defaults are set if user enters nothing.Removed interface_ppp_configure call from interfaces_ppp_edit.php. It wasuseless there with the new structure, and it caused all PPP links to attempt...
Fix a few small bugs in new PPP code, and one type in pfsense-utils.inc
Remove bougs (.
Propperly choose interface name from correct variable.
Ticket #447. Allow multiple innstances to be run.
Kill hostapd and wpa_supplicant when bringing the interface down.
Always kill both hostapd and wpa_supplicant, or they may stay running when WPA is disabled or even both can end up running when switching between AP and station modes.
Fix killing mpd process for ppp.
Close console and web services for mpd.
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.
Remove nonsense.
Trivial change in position of counter.
I have PPP with mpd5 working really well now, including setting the APN and APNNumber, and the SIM PIN and wait time for the SIM to settle after the PIN isentered.
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...
Prevent upgrade/spurious errors from happening.
Add code for applying wireless regulatory configuration and some extra notes about the regulatory settings.
Add configuration options for wireless regulatory settings. Still needs code for applying the settings.
We need mpd5.
Remove whitespce and do less concat operations.
Disable incoming pppoe requests.
Use pgrep/pkill to save a bit of cpu.
Correctly configure the default route addition when interfaces are 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.
Enable mpd5 for pppoe/pptp client connections. It brings improvements with it.
Make sure the channel list for a mode does not get cleared if it already exists.
Fixes for 11g Turbo and 11a Turbo modes.
Disable ampdu for now on mwl when running in 11n mode to prevent massive packet loss under certain conditions.
Ensure string is cleared out if needed
Only include wpa_passphrase= line if a string has been entered. Ticket #404
Add 802.11n-only option. Hide options specific to 802.11g or 802.11n when those modes aren't available.
The mode must be specified in a separate command before ifconfig will allow the mode and channel to be changed.
Add support for 802.11n in get_wireless_modes and the channels list.
Fix distance setting for ath and add it to the wireless settings that are synced and listed as shared.
Ticket #259. Retrun only the first pid from the list that might be found. This should fix not killed dhclient processes.
Unly try to reload carps after bootup is complete.