From 73d125b250b0e1741f8f7298226107566b33de61 Mon Sep 17 00:00:00 2001 From: ficus Date: Tue, 25 Sep 2012 19:01:13 +0200 Subject: dhcp settings for lan and wifi --- torouterui/templates/lan.html | 5 ++++- torouterui/templates/lib.html | 13 +++++++++++-- torouterui/templates/wifi.html | 2 +- 3 files changed, 16 insertions(+), 4 deletions(-) (limited to 'torouterui/templates') diff --git a/torouterui/templates/lan.html b/torouterui/templates/lan.html index 09bcf0a..9b260bf 100644 --- a/torouterui/templates/lan.html +++ b/torouterui/templates/lan.html @@ -14,11 +14,14 @@ Address Configuration {{ lib.forminput(form, formerr, 'ipv4addr', 'IPv4 Address', '0.0.0.0') }} {{ lib.forminput(form, formerr, 'ipv4netmask', 'Netmask', '255.255.0.0') }} -{{ lib.forminput(form, formerr, 'ipv4gateway', 'Gateway IP Address', '0.0.0.0') }} DHCP Configuration +Make sure that the assigned addresses all fall within the netmask range +specified above! + {{ lib.forminput(form, formerr, 'dhcpbase', 'DHCP Range Base', '192.168.1.100') }} {{ lib.forminput(form, formerr, 'dhcptop', 'DHCP Range Top', '192.168.1.200') }} +{{ lib.forminput(form, formerr, 'dhcpnetmask', 'DHCP Netmask', '255.255.255.0') }} {{ lib.forminput(form, formerr, 'dhcptime', 'Lease Time', '12h') }}
diff --git a/torouterui/templates/lib.html b/torouterui/templates/lib.html index 6ac5e12..03a671f 100644 --- a/torouterui/templates/lib.html +++ b/torouterui/templates/lib.html @@ -39,8 +39,17 @@ Network hardware not detected at all! SSID {{ ifstatus.ssid }} - Frequency - {{ ifstatus.freq }} + SSID Broadcast? + {{ ifstatus.ssid_broadcast }} + + Channel + {{ ifstatus.channel }} + + TX Power + {{ ifstatus.tx_power }} + + Auth Mode + {{ ifstatus.auth_mode }} Signal Strength {{ ifstatus.signal_dbm }} diff --git a/torouterui/templates/wifi.html b/torouterui/templates/wifi.html index 3e41788..c8f17f0 100644 --- a/torouterui/templates/wifi.html +++ b/torouterui/templates/wifi.html @@ -20,11 +20,11 @@ Network Address {{ lib.forminput(form, formerr, 'ipv4addr', 'IPv4 Address', '0.0.0.0') }} {{ lib.forminput(form, formerr, 'ipv4netmask', 'Netmask', '255.255.0.0') }} -{{ lib.forminput(form, formerr, 'ipv4gateway', 'Gateway IP Address', '0.0.0.0') }} DHCP Server {{ lib.forminput(form, formerr, 'dhcpbase', 'DHCP Range Base', '192.168.1.100') }} {{ lib.forminput(form, formerr, 'dhcptop', 'DHCP Range Top', '192.168.1.200') }} +{{ lib.forminput(form, formerr, 'dhcpnetmask', 'DHCP Range Top', '255.255.255.0') }} {{ lib.forminput(form, formerr, 'dhcptime', 'Lease Time', '12h') }}
-- cgit v1.2.3