# /etc/rc.d/rc.inet1.conf
#
# This file contains the configuration settings for network interfaces.
# If USE_DHCP[interface] is set to "yes", this overrides any other settings.
# If you don't have an interface, leave the settings null ("").
# You can configure network interfaces other than eth0,eth1... by setting
# IFNAME[interface] to the interface's name. If IFNAME[interface] is unset
# or empty, it is assumed you're configuring eth[interface].
# Several other parameters are available, the end of this file contains a
# comprehensive set of examples.
# =============================================================================
MAXNICS=10
# Config information for "kabel" = eth1:
USE_DHCP[1]="yes"
DHCP_IPADDR[1]="192.168.1.4"
DHCP_KEEPRESOLV[1]="yes"
DHCP_KEEPNTP[1]="yes"
DHCP_KEEPGW[1]="yes"
# Default gateway IP address:
GATEWAY="192.168.1.1"
# Change this to "yes" for debugging output to stdout. Unfortunately,
# /sbin/hotplug seems to disable stdout so you'll only see debugging output
# when rc.inet1 is called directly.
DEBUG_ETH_UP="no"
## Min egen fil för trådlöst, jag har eth0.
##
IFNAME[0]="eth0"
#IPADDR[0]=""
NETMASK[0]="255.255.255.0"
USE_DHCP[0]="yes"
DHCP_HOSTNAME[0]="haze"
DHCP_KEEPRESOLV[0]="yes"
DHCP_KEEPNTP[0]="yes"
DHCP_KEEPGW[0]="yes"
DHCP_IPADDR[0]="192.168.1.3"
#SCRIPT[0]="/etc/rc.d/ifcfg/ifmetric.sh"
WLAN_ESSID[0]=haze
WLAN_MODE[0]=Managed
WLAN_RATE[0]="54M auto"
WLAN_CHANNEL[0]="11"
WLAN_KEY[0]="hakannilsson"
WLAN_IWPRIV[0]="AuthMode=WPAPSK EncrypType=TKIP WPAPSK=hakannilsson"
WLAN_WPA[0]="wpa_supplicant"
WLAN_WPADRIVER[0]="wext"
WLAN_WPAWAIT[0]=30
## Some additional network parameters that you can use are explained below.
## Taking the configuration for wlan0 as an example:
#IFNAME[0]="wlan0" # Use a different interface name instead of
# the default 'eth4'
#HWADDR[0]="00:01:23:45:67:89" # Overrule the card's hardware MAC address
#MTU[0]="" # The default MTU is 1500, but you might need
# 1360 when you use NAT'ed IPSec traffic.
#DHCP_TIMEOUT[0]=15 # The default timeout for the DHCP client to
# wait for server resonse is 60 seconds, but
# you might want a shorter wait.
#DHCP_KEEPRESOLV[0]="yes" # If you dont want /etc/resolv.conf overwritten
#DHCP_KEEPNTP[0]="yes" # If you don't want ntp.conf overwritten
#DHCP_KEEPGW[0]="yes" # If you don't want the DHCP server to change
# your default gateway
#DHCP_IPADDR[0]="" # Request a specific IP address from the DHCP
# server
#WLAN_ESSID[0]=DARKSTAR # An example of how you can override _any_
# parameter defined in rc.wireless.conf, by
# prepending 'WLAN_' to the parameter's name.
# Useful with multiple wireless interfaces.
#WLAN_IWPRIV[0]="AuthMode=WPAPSK EncrypType=TKIP WPAPSK=thekey"
# Some drivers require a private ioctl to be
# set through the iwpriv command. If more than
# one is required, you can place them in the
# IWPRIV parameter (space-separated, see the
# example).
#WLAN_WPA[0]="wpa_supplicant" # Run wpa_supplicant for WPA support
#WLAN_WPADRIVER[0]="ndiswrapper"# Tell wpa_supplicant to specifically use the
# ndiswrapper driver
#WLAN_WPAWAIT[0]=30 # In case it takes long for the WPA association
# to finish, you can increase the wait time
# (defaults to 10 seconds)
#SCRIPT[0]="/etc/rc.d/ifcfg/ifmetric.sh"
# use a custom interface configuration script
# (example scripts are in the ifcfg directory)