summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status_interfaces.php
Commit message (Collapse)AuthorAgeFilesLines
* Nuke  Scott Ullrich2010-01-271-1/+1
|
* These patches give you a display of the uptime of the active PPP linkScott Ullrich2009-12-291-0/+7
| | | | | | | | | | | | | | on the "Status-> Interfaces" page, and also logging on /conf (to survive reboot) of uptimes of each session after it is closed. In addition, the status_interfaces.php page displays the cumulative uptime total so users can manage their links that are on pay by the minute arrangements. Shortcomings: partial minutes are just added as cumulative seconds where most providers probably charge you for a minute after you're 1 second into that minute. I may fix this later. Submitted-by: Gabriel B
* Latest PPP changes from 'BG'. Reformat this royal mess of formatting while ↵sullrich2009-12-051-230/+249
| | | | I am here.
* Adding patch from "G B":sullrich2009-12-041-0/+14
| | | | | | | | | | | | | | | | | First, I update the get_real_interface function so that it returns just the serial port for the ppp device (instead of ppp_<serial_port>) when the ppp link is not up. This makes the function more useful because now you can call the "interface_ppp_configure" function and pass in the the result of "get_real_interface($wan)" for example. I also changed the method that the "get_real_interface" function uses to get the tunnel interface name when the ppp link is up. I found that when my 3G modem was in a low signal area, the ppp link would come up partially, and not receive an IP address. If this occurred the web GUI would report that my WAN interface was "pflog0" because the method of chopping up the "ps aux" and "ifconfig" system calls didn't account for the tunnel being partially up (ppp running, but no connectivity.) The userland ppp program puts two files into /var/run when it is running. One is /var/run/<serial_device>.if which contains the interface name that the serial device is attached to, and the other is /var/run/tunX.pid which is the process id for the ppp instance using "tunX." These two files are more simple and reliable methods of controlling and figuring out what's going on with the ppp link. Second, I added a function to interfaces.inc called "interface_ppp_bring_down" which figures out the pid using the /var/run/tunX.pid file and sends a kill -QUIT signal to the ppp process. Third, I modified interfaces_ppp_configure and interface_ppp_configure functions so that 1. The ppp interface is not brought up automatically when you save the configuration because this presents problems for defining ppp.conf entries for diagnostic purposes. 2. You can call interface_ppp_configure from other functions (like interface_configure($interface)) and not have to write the ppp.conf file to the disk when you just want to bring the link up. Fourth, I added "interface_ppp_configure($realif)" to the function definition of "interface_configure" and "interface_ppp_bring_down" to the function definition of "interface_bring_down". These allow good integration into the existing code for bringing interfaces down and up from the status_interfaces.php page. Finally, I modified the status_interfaces.php file so that you get a button to "connect" and "disconnect" the ppp wan link.
* Show the RSSI, BSSID and the wireless connection rateSeth Mos2009-11-261-0/+18
|
* Add pfSense_BUILDER_BINARIES: and pfSense_MODULE:. Adjust Copyright to ↵Scott Ullrich2009-09-141-1/+3
| | | | include 2009 on files that I have asserted (C) on
* Correctly show actions such as Connect/Disconnect on Status Interfaces page.Ermal Luçi2009-02-281-3/+2
|
* Use correct new vars for countersSeth Mos2008-12-161-1/+10
|
* Nuke wrapping noticeScott Ullrich2008-12-151-2/+1
|
* * Use 64 bit counters from PF for interfafe statsScott Ullrich2008-12-151-3/+15
| | | | * Add block packets / traffic count, too
* * Fix the actions on these page. Now renew/release/connect/disconnect work ↵Ermal Luçi2008-11-301-29/+35
| | | | | | propperly. * Make the page redirect to itself instead of index.php since we might not have permission on the later.
* Refactor some code so frontend does not need to know about details that ↵Ermal Luçi2008-10-191-17/+5
| | | | | | might change during development.
* Catch up with function renaming.Ermal Luçi2008-09-101-6/+6
|
* Turn off interrupts/second until we can upgrade the parsing code to useScott Ullrich2008-08-281-1/+2
| | | | | | | a regex and stop showing bogus information such as: Interrupts/Second: hifn0 total 41258 rate
* Rewrite the pfsense privilege system with the following goals in mind ...Matthew Grooms2008-08-011-0/+8
| | | | | | | | 1) Redefine page privileges to not use static urls 2) Accurate generation of privilege definitions from source 3) Merging the user and group privileges into a single set 4) Allow any privilege to be added to users or groups w/ inheritance 5) Cleaning up the related WebUI pages
* * Merge multiple PPPoE/PPTP interfaces from RELENG_1_MULTI_ANYTHINGErmal Luçi2008-07-141-6/+6
| | | | | | | * Much improved rule generation speed * Many bug fixing in general of the interface handling NOTE: this is the other half of changes
* Continue interface improvementsErmal Luçi2008-06-211-4/+1
|
* Display proper gateway on status page.Seth Mos2008-06-201-1/+3
|
* remove annoying and potentially problematic forced page refresh.Chris Buechler2007-12-171-2/+0
| | | | Ticket #1545
* Switch over to array style page titles. Obtained-from: m0n0wallScott Ullrich2007-11-161-2/+1
|
* Move interface info function for global useScott Dale2007-04-241-191/+0
|
* If we cannot deterimine interrupts a second for an interface, do not recycle ↵Scott Ullrich2007-04-101-0/+3
| | | | last known values.
* Only show interrupts a second if we can obtain the information for that ↵Scott Ullrich2007-03-211-6/+11
| | | | interface
* deal with uhci edge caseScott Ullrich2007-03-211-0/+4
|
* If vmstat is present then display interrupt total and rate. Recent ↵Scott Ullrich2007-03-211-0/+16
| | | | snapshots already contain vmstat.
* Kill debugging textScott Ullrich2006-09-041-1/+0
|
* Backout last commit, we need some better parsing gooScott Ullrich2006-09-031-1/+2
|
* Correctly match the interface to the stateScott Ullrich2006-09-031-1/+1
|
* Add bridge statusScott Ullrich2006-09-031-1/+28
|
* Report gateway for an interface for optional interfaces if neededScott Ullrich2006-09-031-4/+10
|
* Include the real interface name in status out in ()Scott Ullrich2006-04-071-1/+3
|
* MFCScott Ullrich2006-04-031-1/+1
| | | | s/PHP_SELF/SCRIPT_NAME/ - PHP_SELF == "" for some reason with lighty
* Add support for wireless status (media)Scott Ullrich2006-03-091-8/+10
| | | | Ticket #863
* Correct warnings and errors found eclipseScott Ullrich2006-01-151-2/+4
|
* MFC 6956Scott Ullrich2005-10-181-2/+1
| | | | close html tag (use span also)
* Move In/out counters message to end. <p> in betweenScott Ullrich2005-10-041-2/+3
|
* merge of 4a2307663574844423b70c8193ffcfae2153e83fBill Marquette2005-09-231-12/+12
| | | | | | | | | | | and 6749b0913f26fcda7e1809e160df59f3e7fc7157 ------------------- (#545) Allow optional interfaces to be "released" and "renewed" ------------------- We can now take down the right interface still working on bringing it back online correctly
* Fix spurious < in a <br>Seth Mos2005-09-201-1/+1
|
* Add note that i/o byte counters will wrap at 32 bit (4GB)Espen Johansen2005-09-201-1/+2
|
* Add missing IdScott Ullrich2005-08-271-0/+1
|
* More fixes from databeestjeScott Ullrich2005-08-241-5/+7
|
* Use $ifdescrScott Ullrich2005-08-181-2/+1
|
* * Add is_dhcp_running()Scott Ullrich2005-08-121-2/+2
| | | | * Modify status_interfaces.php to use is_dhcp_running()
* Fixup Renew/ReleaseScott Ullrich2005-08-121-8/+10
|
* Minor commentScott Ullrich2005-08-121-0/+1
|
* Add code from databeestje to finish off Renew/ReleaseScott Ullrich2005-08-121-0/+10
|
* Allow multi interface Renew/ReleaseScott Ullrich2005-08-121-1/+4
|
* Change to <meta http-equiv="refresh" content="120;url=<?php print ↵Scott Ullrich2005-08-101-1/+1
| | | | | | $_SERVER['PHP_SELF']; ?>"> Suggested-by: databeestje
* Correct status_interfaces.php location for meta refresh.Scott Ullrich2005-08-101-1/+1
| | | | Yet-another-bug-found-by: databeestje
* Refresh page every 2 minutes. Handy for debugging ethernet errors which I ↵Scott Ullrich2005-08-041-0/+3
| | | | am doing just this second.
OpenPOWER on IntegriCloud