Ticket #876. Actually the event to send is interface newip $ip rather interface configure! also use the fact that now we have a /tmp/$if_defaultgw rather than relying in route get default which might block.
Reload dns and interface properly on dynamic types.
Ticket #876. Add the ip to the respective files on ppp linkup event so the code of dynamic gateways finds them. Also reorganize/simplify/optimize the apinger config generation code. Do not use that 127.0.0.x hack anymore and avoid loops as much as possible.
Use the new events mechanisms to dispatch events.
Delete previous route if present.
Switch to the right values for openvpn 2.1 according to the documentation.
Pass the new argumesnts to pfctl -b and correct variable name as reported on Ticket #8.
On ppp type interfaces down event signal for resolv.conf to be generated to have the latest dns servers. Ticket #838.
Merge branch 'master' of http://gitweb.pfsense.org/pfsense/mainline into mlppp
Binaries should not be in the git repo
Binaries should be in the git repo
Conflicts: etc/inc/upgrade_config.inc
Add scpecific scripts for when ovpn goes up and down so we get neccessary values for used in varius areas of pfSense. TODO is find out how to get DNS info form openvpn.
Make script files for getting ppp connection uptime executable.
Ticket #8. Delete states after link fails down.
Revert changes as requested by Ermal
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....
more changes to mpd.script to make debugging easier.
Added some more information to error messages for easier debugging.
Don't need the rm -f statement when using > redirect to overwrite thefile, and add the "then" to the if statements
Fix mistakes (now using "call" instead of "goto") and add check to SIM PIN setting routineso we don't have to set the pin every time if it's already set.
Be safer use the remote-ip address for adding route.
Explicitly set the exit status of the script to not make mpd fail.
Use full patch to command and fix route add command parameter is -iface and not -if.
Tell that the interface is down.
Fixed error in command to send the PIN to the SIM card. Missing double quotes.
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...
Actually its dns2 for the second entry.
Resolve problems with dns server setup when allow override is set. Also add static routes for all nameservers to be friendly with multiwan.
Add a few more commands for the lazy
Add tab completion
Automatically source common items so that config is in the eval() context
Actually it needs an ip!
Add the state killing for now on VPN's pppoe/pptp/l2tp when the link goes down. For the others some more thought is needed.
Fix a lock leaking on CP.
Generate the {interface}up status file.
Output welcome banner after globals.inc is required
Turn off debugging text
Use product_name
Kill old ntpd process if it is around
Sync
Add script that will keep trying to set the date time (for bootup) thatwill run in the background to help speedup boot times.
Adding custom grub-install
Fix issue reported on ticket #1825.
Break out item that can be its own function
Actually apply fixes to the correct files.
I always remember having done this long ago?!
Require_once instead of require.
Show playback commands avaiable
Add a script to assist in removing all packages and or the packageconfiguration file from the command line.
Add other needed files so everything works as expected.
Add apinger binary for gateway monitoring
Lower threshold to 86. Noticed a scenario where slbd was chewing uproughtly 91% of the cpu.
Do not reset every hour. Wait until the process goes out of control.
Really kill off slbd
Ticket #1533
Remove extra C/R
Detect playback file not found when passed as argument. Example: pfSsh.php replay cvssync RELENG_1
Allow arguments to be passed to cvssync so you can do:
pfSsh.php playback cvssync RELENG_1
Allow arguments to be passed to the pfSense php shell.
Bring us one step closer to being able to port cvs_sync.sh to pfSsh by adding multiline support. For example
Do not forget ; on php lines.
Collect the help file into one variable and then pipe through more()
Add recording related commands
Really cleanup c/r usage.
Add showrecordings command which will show available sessions for playback
Teach pfSense's php shell how to record and playback a set of commands.
For instance you could automate a series of reptitive developer commands. For example:
pfSense shell: record restartftppfSense shell: = killall ftp-proxypfSense shell: system_start_ftp_helpers();...
Add carriage return after outputting help screen
Remove debugging echo
Add pipe_cmd() function
Missed a c/r
If readline is not included in PHP then fall back to normal boring text input methods.
Add second argument of more allowing control of when press Return is displayed
add more($text) function. With this function it will ask the person to press return after 24 rows of output. Good for stuff like this:
$temp = print_r($config, true);more($temp);
Add libreadline support for command histories.
Requested-by: CMB
Set $pkg_interface='console'; in php shell.
Reset SLBD every 5 hours to avoid 100% cpu utilization
Ticket #1316
Move help / common usage scenarios to the "help" command.
Show how to output the wireless options such as channels, modes, etc.
Clarify DHCP server comment
Show the reboot command as well for php pfSense shell
Sponsored-by: Bluegrass.net
Minor text updates
Show common commands in the php pfsense shell such as:
These commands come in handy when configuring a 1 port ethernet wrap with 2 wireless cards.
Add multiline support for multi-line mini programs/scripts.
Show that exit is a valid command
Escape $ so that it does not try to print out the variable
Add a pfSense interactive php shell for developers.