| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
Conflicts:
etc/inc/upgrade_config.inc
|
| |
| |
| |
| | |
reset file was not getting added properly. Ticket #583.
|
| | |
|
| |
| |
| |
| | |
code that relies on space to be a separator.
|
| |
| |
| |
| | |
consumers of it.
|
| | |
|
| |
| |
| |
| | |
for mlppp links for now.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| | |
This reverts commit 62e74b4261b4044f523ade7c3b45e4484bbd2f8d.
Conflicts:
usr/local/www/diag_logs_slbd.php
|
| |
| |
| |
| | |
needs work.
|
| |
| |
| |
| | |
PPPoE, and PPtP links.
|
| |
| |
| |
| |
| |
| | |
tested yet.
It makes the proper mpd config files for PPPoE and MultiLink PPPoE.
|
| |
| |
| |
| |
| |
| | |
update affected files.
Also, add upgrade_config function 062_to_063.
|
|\ \
| |/ |
|
| | |
|
| |
| |
| |
| | |
parent to other interfaces, as vlans.
|
| |
| |
| |
| | |
pessimizes more than helps.
|
|/
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*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.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
WPA is disabled or even both can end up running when switching between AP and station modes.
|
| |
|
| |
|
|
|
|
| |
configurations. This way there is no more special handling for ppp around.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
about the regulatory settings.
|
|
|
|
| |
code for applying the settings.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
packet loss under certain conditions.
|
| |
|
| |
|