summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status_interfaces.php
Commit message (Collapse)AuthorAgeFilesLines
* Code spacingPhil Davis2015-06-151-3/+3
| | | | | | | and other random stuff I noticed. I think this finishes messing with code style. The codebase should match the developer style guide closely enough that 99.9% of changes will not feel the need to also massage the formatting.
* Code style WWW StatusPhil Davis2015-05-151-107/+232
|
* Fix lineup of copyright linesPhil Davis2015-01-011-1/+1
| | | | | and module names and other bits of formatting and typos in header comment sections.
* Welcome 2015Renato Botelho2014-12-311-1/+1
|
* Show Mtu on status interfaces.Ermal LUÇI2014-11-251-1/+8
|
* Change copyright statement to reflect realityJim Thompson2014-11-101-1/+1
|
* modify copyright statement to reflect realityJim Thompson2014-11-101-0/+1
|
* Fix a typo on array index, related to ticket #3963Renato Botelho2014-10-291-1/+1
|
* Remove some redundancy and simplify changes made on last commitRenato Botelho2014-08-301-53/+25
|
* Replace GET by POST, it fixes #3833Renato Botelho2014-08-291-58/+76
|
* xhtml Complianceayvis2014-03-141-4/+4
| | | replaced <br>, <br/> and </br> with <br />
* Display pfSense interface name on status interfacesPhil Davis2013-08-141-1/+1
| | | | | | Sometimes it is a bit difficult to work out which interface descriptive name is which pfSense internal interface name (wan, lan, opt1, opt2...). It is useful to know for: a) hardware that has wan, lan, opt1... pre-printed on the case (some Alix cases for example), making it easier for less-trained remote office staff to work out which cable corresponds to which interface in pfSense. b) looking in config.xml or other techo places where the internal pfSense name is stored/referenced - knowing that straight from a status GUI display saves having to first find the descriptive name in the config, then the pfSense internal name. What do you think? Is this a worthwhile place to display this data?
* Tidy up widget XHTMLColin Fleming2013-03-051-27/+29
| | | | | | | | | Close BR tag Close INPUT tag Depcrated ampersand in HREF Added ALT to img tag Added close body tag Added close htm tag
* Include shaper.inc here to have all the function dependency work.Ermal2012-11-011-0/+1
|
* Activate new shortcuts/status in the rest of the areas that are currently setup.jim-p2012-08-101-0/+1
|
* require filter.inc so filter_configure is definedPhil Davis2012-08-021-0/+1
| | | | | The "renew" button on a DHCP connection ends up calling function interface_dhcpv6_configure() in interfaces.inc, which in turn calls filter_configure() (in filter.inc) but gives the error: Fatal error: Call to undefined function filter_configure() in /etc/inc/interfaces.inc on line 3350 See forum post: http://forum.pfsense.org/index.php/topic,52046.0.html
* Add more functions and expand the 3G status interfaces screen.smos2012-05-231-3/+31
| | | | List the SIM state, service, speeds and mode
* Add the 3G mode display, really needs a function that translates these into ↵smos2012-05-231-0/+7
| | | | | | | sane display numbers for strength and mode. The mode is actually a combination of LED color 4 = blue(idle), 5 = cyan(connected), and submode 7 = HSDPA I need to find some proper documentation, really.
* Add 3G statistics for Huawei modems, split the Cellular stats out to per ↵smos2012-05-211-0/+21
| | | | interface instead of global.
* Add section for the dhcp6link statussmos2012-04-041-0/+18
|
* Show lagg protocol and member interfaces on Status > Interfaces. Implements ↵jim-p2012-02-281-0/+16
| | | | #2242
* Show the interface Link Local addresses on the status_interfaces.phpsmos2012-01-151-2/+9
|
* Merge remote branch 'upstream/master'jim-p2011-06-081-1/+1
|\
| * Show the MAC on the page rather than just a hover, too many times it needs ↵Chris Buechler2011-06-041-1/+1
| | | | | | | | to be copied/pasted or quickly viewed, and the vendor isn't nearly as useful as the actual MAC.
* | Merge branch 'master' into smos-ipv6Bill Marquette2011-05-141-1/+8
|\ \ | |/ | | | | | | Conflicts: etc/inc/pfsense-utils.inc
| * MAC prefix to vendor resolution at Status->Interfaces, Status->DHCP leases, ↵Evgeny2011-05-141-1/+8
| | | | | | | | Diagnostics->ARP table
* | Merge remote branch 'upstream/master'Seth Mos2011-03-241-0/+15
|\ \ | |/ | | | | | | | | Conflicts: etc/inc/rrd.inc usr/local/www/interfaces.php
| * Add missing "Connect/Disconnect" button to GUI for L2TP client connections.gnhb2011-03-221-0/+15
| |
* | splay the IPv6 information on status interfaces.Seth Mos2010-10-231-3/+27
|/
* Corrections gettext implementation on status_interfaces.phpCarlos Eduardo Ramos2010-07-231-8/+8
|
* Corrections gettext calls on status_interfaces.phpRafael Lucas2010-07-231-32/+32
|
* Add missing semicolon.gnhb2010-06-161-1/+1
|
* Modify pfsense-utils and status_interfaces.php so Uptime is shown for all ↵gnhb2010-06-161-4/+4
| | | | PPPx type links.
* Make display of interface name and uptime work again on status_interfaces.phpgnhb2010-06-061-3/+1
|
* Changes to make PPP work again. mpd5 fails to establish a ppp link withoutgnhb2010-03-291-3/+3
| | | | | | | | | | | | | | *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.
* I have PPP with mpd5 working really well now, including setting the APN and APNgnhb2010-03-261-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Nuke &nbsp;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
OpenPOWER on IntegriCloud