slitaz-boot-scripts view 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 source
1 # /etc/network.conf: SliTaz system wide networking configuration.
2 # Config file used by: /etc/init.d/network.sh
3 #
5 # Set default interface.
6 INTERFACE="eth0"
8 # Dynamic IP address.
9 # Enable/disable DHCP client at boot time.
10 DHCP="yes"
12 # Static IP address.
13 # Enable/disable static IP at boot time.
14 STATIC="no"
16 # Set IP address, and netmask for a static IP.
17 IP="192.168.0.6"
18 NETMASK="255.255.255.0"
20 # Set route gateway for a static IP.
21 GATEWAY="192.168.0.1"
23 # Set DNS server. for a static IP.
24 DNS_SERVER="192.168.0.1"