slitaz-boot-scripts diff etc/network.conf @ rev 8
Add network init script and config file
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Nov 30 12:34:07 2007 +0100 (2007-11-30) |
parents | |
children | 42c76146fbcd |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/etc/network.conf Fri Nov 30 12:34:07 2007 +0100 1.3 @@ -0,0 +1,25 @@ 1.4 +# /etc/network.conf: SliTaz system wide networking configuration. 1.5 +# Config file used by: /etc/init.d/network.sh 1.6 +# 1.7 + 1.8 +# Set default interface. 1.9 +INTERFACE="eth0" 1.10 + 1.11 +# Dynamic IP address. 1.12 +# Enable/disable DHCP client at boot time. 1.13 +DHCP="yes" 1.14 + 1.15 +# Static IP address. 1.16 +# Enable/disable static IP at boot time. 1.17 +STATIC="no" 1.18 + 1.19 +# Set IP address, and netmask for a static IP. 1.20 +IP="192.168.0.6" 1.21 +NETMASK="255.255.255.0" 1.22 + 1.23 +# Set route gateway for a static IP. 1.24 +GATEWAY="192.168.0.1" 1.25 + 1.26 +# Set DNS server. for a static IP. 1.27 +DNS_SERVER="192.168.0.1" 1.28 +