Commit Graph

55 Commits

Author SHA1 Message Date
Darren Embry
c1361a9f8b feature #2413 Allow IPv6 interface configuration from the menu 2012-05-17 20:17:48 -04:00
Darren Embry
416e1530bd normalize indentation 2012-05-17 19:17:01 -04:00
Ermal
aab5f04c47 Correct behaviour of switching from console from any ppp type device to other type. This has been broken since new ppp code. 2011-09-12 11:46:29 +00:00
Scott Ullrich
a53992b78d Simplify message that wraps off screen 2011-06-19 15:01:50 -04:00
lgcosta
7a18dfa4ed Fixes #1444. Implements the same fix that issue ermal made in #1522 to the console menu 2011-05-23 11:56:32 -03:00
Ermal
9b2e42c9fa When setting the ip from the console also enable the interface otherwise the HTTP_REFERER checks will not let you use the GUI. 2011-01-28 16:03:42 +00:00
Scott Ullrich
c9fa825423 Show disabled interfaces as well 2010-08-09 21:19:32 -04:00
Scott Ullrich
20252ff529 Make sure <dhcpd><wan> exists before blindly unsetting. 2010-03-10 18:57:18 -05:00
Chris Buechler
a64b5d3f92 if reverted to HTTP, restart lighty 2010-02-27 15:24:35 -05:00
Scott Ullrich
5f2d078e7d Decouple filter.inc from functions.inc. There is no need to process filter functions most of the time. Include filter.inc where it is needed 2009-11-21 19:10:37 -05:00
Scott Ullrich
1dcba27ccb Really restart DHCPD server after changes 2009-08-12 14:00:25 -04:00
Chris Buechler
af25d41585 move killall dhcpd above section that exits if no DHCP servers are enabled, and configure dhcpd if it's disabled by option #2 at the console.
Ticket #1867 (cvstrac)
2009-03-10 02:17:24 -04:00
Scott Ullrich
e3a13b0068 Add services_dhcp_server_enable which allows the DHCP server to be turned
off easily.
2008-10-29 03:07:11 +00:00
Scott Ullrich
e8dba7460f Reload interface being worked on, not blindly lan 2008-10-27 22:51:03 +00:00
Ermal Luçi
69e5a8be8d Rename interfaces_wan_configure to interface_configure now that it is used for all assigned interface configuration. 2008-09-09 11:08:02 +00:00
Ermal Luçi
4476d44751 Merge lan configuration to the interfaces_wan.php page wich does the configuration of all
other assigned interfaces.
2008-09-07 19:34:18 +00:00
Bill Marquette
12294e724d we don't care if rm can't find old dhcpd database files 2008-09-07 01:18:59 +00:00
Bill Marquette
ac6ddeffe1 fix debug code that never worked and make it disabled by default 2008-09-07 01:17:54 +00:00
Bill Marquette
b980f9e485 Semicolons after if's apparently parse...but it's not terribly helpful 2008-09-07 01:15:31 +00:00
Scott Ullrich
7993688e8b Check to see if key exists before unsetting 2008-09-07 01:06:39 +00:00
Scott Ullrich
a4c597209a Check to see if a interface has a dhcp key before trying to unset
if the interface has a dhcp server enabled.
2008-09-07 01:00:20 +00:00
Ermal Luçi
79b322f020 Correctly set interface to dhcp in wan case. 2008-07-08 18:07:55 +00:00
Chris Buechler
db747fb17f clean up text a bit, still some issues remaining (like "http://DHCP", my logic is apparently flawed) 2008-07-07 22:35:46 +00:00
Ermal Luçi
774c23c1de Remove unneeded code. 2008-07-07 22:02:58 +00:00
Scott Ullrich
424b758b99 Fix interface ip assignment. Originally commited by Ermal 2008-07-07 21:36:34 +00:00
Ermal Luçi
bba3a775d4 Missed interface improvements commit. 2008-07-02 18:11:35 +00:00
Chris Buechler
c71276f79f fix typo
Ticket #1761
2008-06-23 22:02:01 +00:00
Seth Mos
3538050462 Show Port of the webui if it is set 2008-06-13 12:31:18 +00:00
Chris Buechler
9f0280d96d Fix prompting for DHCP server setup 2008-03-12 01:43:03 +00:00
Chris Buechler
be824897de clarify text 2008-03-02 06:11:55 +00:00
Chris Buechler
61d6fbf1af show interface in uppercase (lan -> LAN, etc.) 2008-03-02 06:09:00 +00:00
Chris Buechler
5daa88a6d8 Fix typo blowing up setlanip 2008-03-02 04:56:45 +00:00
Scott Ullrich
e1454e4243 * Seperate prompt asking about DHCP server out to its own function.
* When configuring the lan IP, if the lan interface exist, correctly
  prompt if the admin would like to enable DHCP server.
2008-02-25 05:09:32 +00:00
Chris Buechler
8e2a7e8a28 Do not allow enabling of DHCP server on dynamic IP interfaces (fixed in HEAD in last commit)
added a couple TODO items to fix later

Single interface support
Appliance Project
2008-02-22 09:24:35 +00:00
Chris Buechler
d01ccca841 Fix numerous issues introduced with single interface support. Still some issues to be resolved here.
Single interface support
Appliance Project
2008-02-22 09:07:18 +00:00
Scott Ullrich
ba1eb884ae Remove extra } 2008-02-18 05:51:10 +00:00
Scott Ullrich
d1c46aef76 Reload filter after changes. 2008-02-16 07:09:15 +00:00
Scott Ullrich
2c38210627 * Show interface in upper case to conform to all other areas.
* Add a couple of carriage returns
2008-02-16 07:06:59 +00:00
Scott Ullrich
534334ba9b Make set wan/lan/optX script usable. 2008-02-16 02:26:15 +00:00
Scott Ullrich
5b6cc0c48c List LAN interface if it is available. 2008-02-16 02:19:02 +00:00
Scott Ullrich
3faf822da1 Correct MISC errors found by Scott Dale. 2008-02-16 02:16:37 +00:00
Scott Ullrich
f2366cc0ad Remove dhcpd.leases and reload daemon after LAN interface removal. 2008-02-09 04:43:52 +00:00
Scott Ullrich
5bf11e3605 When deleting the LAN interface, automatically unset the following
configuration areas:

	* Interfaces -> LAN
	* DHCPD -> LAN
	* Traffic Shaper
	* EZ Shaper settings
	* Firewall -> NAT

NOTE: when adding back an interface if LAN does not exist, it is added
back before OPTX so that these constaints can be upheld.
2008-02-09 04:21:12 +00:00
Scott Ullrich
68ad6d2238 * If the LAN interface exists, do not allow DHCP server on WAN.
* If the LAN interface does not exist, do not allow DHCP server on LAN.
2008-02-09 02:04:04 +00:00
Scott Ullrich
01d72b37a8 * Allow HTTPS/HTTP revert and anti-lockout rule on WAN 2008-02-09 01:10:28 +00:00
Scott Ullrich
8dee794bb0 Allow any interface to be configured from the console menu. 2008-02-09 00:58:18 +00:00
Bill Marquette
78e63d6497 Ticket #1464, only allow y* or n* 2007-10-19 19:17:59 +00:00
Bill Marquette
709cc6e0f2 global s/[wW]ebGUI/webConfigurator/ - brought up via ticket #1427 2007-10-17 00:25:25 +00:00
Scott Ullrich
942ed037d0 Close STDIN ($fp) handle before returning back to shell. Major doh's. 2007-06-02 21:50:33 +00:00
Scott Ullrich
ca2e329a46 point out that a browser is a "web browser" for the technically challanged 2005-07-12 05:00:52 +00:00