Advertisement
gyo

rc.inet1.conf

gyo
Jul 22nd, 2011
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.58 KB | None | 0 0
  1. # /etc/rc.d/rc.inet1.conf
  2. #
  3. # This file contains the configuration settings for network interfaces.
  4. # If USE_DHCP[interface] is set to "yes", this overrides any other settings.
  5. # If you don't have an interface, leave the settings null ("").
  6.  
  7. # You can configure network interfaces other than eth0,eth1... by setting
  8. # IFNAME[interface] to the interface's name. If IFNAME[interface] is unset
  9. # or empty, it is assumed you're configuring eth<interface>.
  10.  
  11. # Several other parameters are available, the end of this file contains a
  12. # comprehensive set of examples.
  13.  
  14. # =============================================================================
  15.  
  16. # Config information for eth0:
  17. IPADDR[0]=""
  18. NETMASK[0]=""
  19. USE_DHCP[0]="yes"
  20. DHCP_HOSTNAME[0]=""
  21.  
  22. # Config information for eth1:
  23. IPADDR[1]=""
  24. NETMASK[1]=""
  25. USE_DHCP[1]=""
  26. DHCP_HOSTNAME[1]=""
  27.  
  28. # Config information for eth2:
  29. IPADDR[2]=""
  30. NETMASK[2]=""
  31. USE_DHCP[2]=""
  32. DHCP_HOSTNAME[2]=""
  33.  
  34. # Config information for eth3:
  35. IPADDR[3]=""
  36. NETMASK[3]=""
  37. USE_DHCP[3]=""
  38. DHCP_HOSTNAME[3]=""
  39.  
  40. # Default gateway IP address:
  41. GATEWAY=""
  42.  
  43. # Change this to "yes" for debugging output to stdout. Unfortunately,
  44. # /sbin/hotplug seems to disable stdout so you'll only see debugging output
  45. # when rc.inet1 is called directly.
  46. DEBUG_ETH_UP="no"
  47.  
  48. ## Example config information for wlan0. Uncomment the lines you need and fill
  49. ## in your info. (You may not need all of these for your wireless network)
  50. #IFNAME[4]="wlan0"
  51. #IPADDR[4]=""
  52. #NETMASK[4]=""
  53. #USE_DHCP[4]="yes"
  54. #DHCP_HOSTNAME[4]="icculus-wireless"
  55. #DHCP_KEEPRESOLV[4]="yes"
  56. #DHCP_KEEPNTP[4]="yes"
  57. #DHCP_KEEPGW[4]="yes"
  58. #DHCP_IPADDR[4]=""
  59. #WLAN_ESSID[4]=BARRIER05
  60. #WLAN_MODE[4]=Managed
  61. ##WLAN_RATE[4]="54M auto"
  62. ##WLAN_CHANNEL[4]="auto"
  63. ##WLAN_KEY[4]="D5AD1F04ACF048EC2D0B1C80C7"
  64. ##WLAN_IWPRIV[4]="set AuthMode=WPAPSK | set EncrypType=TKIP | set WPAPSK=96389dc66eaf7e6efd5b5523ae43c7925ff4df2f8b7099495192d44a774fda16"
  65. #WLAN_WPA[4]="wpa_supplicant"
  66. #WLAN_WPADRIVER[4]="ndiswrapper"
  67.  
  68. ## Some examples of additional network parameters that you can use.
  69. ## Config information for wlan0:
  70. #IFNAME[4]="wlan0" # Use a different interface name nstead of
  71. # the default 'eth4'
  72. #HWADDR[4]="00:01:23:45:67:89" # Overrule the card's hardware MAC address
  73. #MTU[4]="" # The default MTU is 1500, but you might need
  74. # 1360 when you use NAT'ed IPSec traffic.
  75. #DHCP_KEEPRESOLV[4]="yes" # If you dont want /etc/resolv.conf overwritten
  76. #DHCP_KEEPNTP[4]="yes" # If you don't want ntp.conf overwritten
  77. #DHCP_KEEPGW[4]="yes" # If you don't want the DHCP server to change
  78. # your default gateway
  79. #DHCP_IPADDR[4]="" # Request a specific IP address from the DHCP
  80. # server
  81. #WLAN_ESSID[4]=DARKSTAR # Here, you can override _any_ parameter
  82. # defined in rc.wireless.conf, by prepending
  83. # 'WLAN_' to the parameter's name. Useful for
  84. # those with multiple wireless interfaces.
  85. #WLAN_IWPRIV[4]="set AuthMode=WPAPSK | set EncrypType=TKIP | set WPAPSK=thekey"
  86. # Some drivers require a private ioctl to be
  87. # set through the iwpriv command. If more than
  88. # one is required, you can place them in the
  89. # IWPRIV parameter (separated with the pipe (|)
  90. # character, see the example).
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement