qwell: branch aadk r815 - /branches/aadk/scripts/networking.sh
asterisk-gui-commits at lists.digium.com
asterisk-gui-commits at lists.digium.com
Fri Apr 27 15:46:52 MST 2007
Author: qwell
Date: Fri Apr 27 17:46:51 2007
New Revision: 815
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=815
Log:
We don't need this extra route command on the LAN side.
Remove it (and the variable that goes along with it)
Modified:
branches/aadk/scripts/networking.sh
Modified: branches/aadk/scripts/networking.sh
URL: http://svn.digium.com/view/asterisk-gui/branches/aadk/scripts/networking.sh?view=diff&rev=815&r1=814&r2=815
==============================================================================
--- branches/aadk/scripts/networking.sh (original)
+++ branches/aadk/scripts/networking.sh Fri Apr 27 17:46:51 2007
@@ -30,7 +30,6 @@
SSHACCESS=no
DHCP_WAN=on
DHCP_LAN=on
- GATEWAY_LAN=192.168.69.0
SUBNET_LAN=255.255.255.0
START_RANGE_LAN=192.168.69.51
END_RANGE_LAN=192.168.69.150
@@ -85,7 +84,6 @@
# Setup the LAN interface(s).
echo ${IP_LAN} ${HOSTNAME} > /etc/hosts
ifconfig ${LAN_INTERFACE} ${IP_LAN} netmask ${SUBNET_LAN}
-route -n add ${GATEWAY_LAN} ${LAN_INTERFACE} # Add our default gateway for the LAN interface
iptables -F
dnsmasq &
# XXX This will pretty much only work for a /24 XXX
More information about the asterisk-gui-commits
mailing list