From smjt2000, 2 Years ago, written in Plain Text.
Embed
  1.  ls -l /etc/init.d/
  2.  
  3. total 224
  4. -rwxr-xr-x 1 root root  1236 Dec 22 03:24 agetty
  5. lrwxrwxrwx 1 root root    18 Dec 22 03:24 agetty.tty1 -> /etc/init.d/agetty
  6. lrwxrwxrwx 1 root root    18 Dec 22 03:24 agetty.tty2 -> /etc/init.d/agetty
  7. lrwxrwxrwx 1 root root    18 Dec 22 03:24 agetty.tty3 -> /etc/init.d/agetty
  8. lrwxrwxrwx 1 root root    18 Dec 22 03:24 agetty.tty4 -> /etc/init.d/agetty
  9. lrwxrwxrwx 1 root root    18 Dec 22 03:24 agetty.tty5 -> /etc/init.d/agetty
  10. lrwxrwxrwx 1 root root    18 Dec 22 03:24 agetty.tty6 -> /etc/init.d/agetty
  11. -rwxr-xr-x 1 root root  2186 May  6  2021 alsasound
  12. -rwxr-xr-x 1 root root   809 Dec 22 03:24 binfmt
  13. -rwxr-xr-x 1 root root   317 May  6  2021 bluetoothd
  14. -rwxr-xr-x 1 root root  6006 Dec 22 03:24 bootmisc
  15. -rwxr-xr-x 1 root root  3687 Dec 22 03:24 cgroups
  16. -rwxr-xr-x 1 root root   261 May  6  2021 connmand
  17. -rwxr-xr-x 1 root root  1842 Dec 22 03:24 consolefont
  18. -rwxr-xr-x 1 root root   923 Apr 18  2021 dbus
  19. -rwxr-xr-x 1 root root  3667 Dec 22 03:24 devfs
  20. -rwxr-xr-x 1 root root   750 Dec 22 03:24 dmesg
  21. -rwxr-xr-x 1 root root   244 Jul  4  2021 elogind
  22. -rwxr-xr-x 1 root root  3168 Dec 22 03:24 fsck
  23. lrwxrwxrwx 1 root root    31 Dec 22 03:24 functions.sh -> /usr/lib/openrc/sh/functions.sh
  24. -rwxr-xr-x 1 root root  1166 Dec 22 03:24 hostname
  25. -rwxr-xr-x 1 root root  3310 Dec 22 03:24 hwclock
  26. -rwxr-xr-x 1 root root  1987 Dec 22 03:24 keymaps
  27. -rwxr-xr-x 1 root root   801 Dec 22 03:24 killprocs
  28. -rwxr-xr-x 1 root root   510 Dec 22 03:24 kmod-static-nodes
  29. -rwxr-xr-x 1 root root  2755 Dec 22 03:24 local
  30. -rwxr-xr-x 1 root root  3666 Dec 22 03:24 localmount
  31. -rwxr-xr-x 1 root root  1016 Dec 22 03:24 loopback
  32. -rwxr-xr-x 1 root root  2978 Dec 22 03:24 modules
  33. -rwxr-xr-x 1 root root  1570 Dec 22 03:24 mount-ro
  34. -rwxr-xr-x 1 root root  1734 Dec 22 03:24 mtab
  35. lrwxrwxrwx 1 root root    18 Jan 30 18:06 net.eth0 -> /etc/init.d/net.lo
  36. -rwxr-xr-x 1 root root 19872 May  6  2021 net.lo
  37. -rwxr-xr-x 1 root root  2074 Dec 22 03:24 netmount
  38. -rwxr-xr-x 1 root root  2281 Dec 22 03:24 net-online
  39. lrwxrwxrwx 1 root root    18 Jan 30 18:06 net.wlan0 -> /etc/init.d/net.lo
  40. -rwxr-xr-x 1 root root  2138 May 14  2021 NetworkManager
  41. -rwxr-xr-x 1 root root  1156 Dec 22 03:24 numlock
  42. -rwxr-xr-x 1 root root   260 Dec 22 03:24 opensysusers
  43. -rwxr-xr-x 1 root root   385 Dec 22 03:24 opentmpfiles-dev
  44. -rwxr-xr-x 1 root root   356 Dec 22 03:24 opentmpfiles-setup
  45. -rwxr-xr-x 1 root root   946 Dec 22 03:24 osclock
  46. -rwxr-xr-x 1 root root  1265 Dec 22 03:24 procfs
  47. -rwxr-xr-x 1 root root  1423 Dec 22 03:24 root
  48. -rwxr-xr-x 1 root root  1113 Dec 22 03:24 runsvdir
  49. -rwxr-xr-x 1 root root  1123 Dec 22 03:24 s6-svscan
  50. -rwxr-xr-x 1 root root  1902 Dec 22 03:24 savecache
  51. -rwxr-xr-x 1 root root   868 Dec 22 03:24 save-keymaps
  52. -rwxr-xr-x 1 root root   990 Dec 22 03:24 save-termencoding
  53. -rwxr-xr-x 1 root root   307 Jan  4 20:43 sddm
  54. -rwxr-xr-x 1 root root  1040 Dec 22 03:24 swap
  55. -rwxr-xr-x 1 root root   966 Dec 22 03:24 swclock
  56. -rwxr-xr-x 1 root root  1339 Dec 22 03:24 sysctl
  57. -rwxr-xr-x 1 root root  3304 Dec 22 03:24 sysfs
  58. -rwxr-xr-x 1 root root  1460 Dec 22 03:24 termencoding
  59. -rwxr-xr-x 1 root root  2124 Dec 22 03:24 udev
  60. -rwxr-xr-x 1 root root   375 Dec 22 03:24 udev-settle
  61. -rwxr-xr-x 1 root root  2613 Dec 22 03:24 udev-trigger
  62. -rwxr-xr-x 1 root root  1386 Dec 22 03:24 urandom
  63. -rwxr-xr-x 1 root root  1251 May  6  2021 wpa_supplicant
  64.  
  65.  
  66. *****************************************************************************************************************************
  67. *****************************************************************************************************************************
  68.  
  69.  
  70. /etc/conf.d/net
  71.  
  72.  
  73. # QUICK-START
  74. #
  75. # The quickest start is if you want to use DHCP.
  76. # In that case, everything should work out of the box, no configuration
  77. # necessary, though the startup script will warn you that you haven't
  78. # specified anything.
  79.  
  80. # WARNING :- some examples have a mixture of IPv4 (ie 192.168.0.1) and IPv6
  81. # (ie 4321:0:1:2:3:4:567:89ab) internet addresses. They only work if you have
  82. # the relevant kernel option enabled. So if you don't have an IPv6 enabled
  83. # kernel then remove the IPv6 address from your config.
  84.  
  85. # If you want to use a static address or use DHCP explicitly, jump
  86. # down to the section labeled INTERFACE HANDLERS.
  87. #
  88. # If you want to do anything more fancy, you should take the time to
  89. # read through the rest of this file.
  90.  
  91.  
  92. ###############################################################################
  93. # MODULES
  94. #
  95. # We now support modular networking scripts which means we can easily
  96. # add support for new interface types and modules while keeping
  97. # compatibility with existing ones.
  98. #
  99. # Modules load by default if the package they need is installed.  If
  100. # you specify a module here that doesn't have its package installed
  101. # then you get an error stating which package you need to install.
  102. # Ideally, you only use the modules setting when you have two or more
  103. # packages installed that supply the same service.
  104. #
  105. # In other words, you probably should DO NOTHING HERE...
  106.  
  107. # Prefer ifconfig over iproute2
  108. #modules="!iproute2"
  109.  
  110. # You can also specify other modules for an interface
  111. # In this case we prefer udhcpc over dhcpcd
  112. #modules_eth0="udhcpc"
  113.  
  114. # You can also specify which modules not to use - for example you may be
  115. # using a supplicant or linux-wlan-ng to control wireless configuration but
  116. # you still want to configure network settings per SSID associated with.
  117. #
  118. # A common case here may be using hostapd or other external configuration of
  119. # the wireless hardware at layer 2, but leaving netifrc to configure the layer
  120. # 3 networking
  121. #
  122. # Best practice for this situation is to disable ALL netifrc wireless modules:
  123. #modules="!wireless"
  124. #
  125. # This supersedes older cases where each module was disabled seperately:
  126. # If new modules are introduced that provide wireless support, they may be used
  127. # automatically otherwise, causing situations like
  128. # https://bugs.gentoo.org/717226
  129. # Do not use a line like this anymore:
  130. #modules="!iwconfig !wpa_supplicant !iw !iwd"
  131.  
  132.  
  133. ##############################################################################
  134. # INTERFACE HANDLERS
  135. #
  136. # We provide two interface handlers presently: ifconfig and iproute2.
  137. # You need one of these to do any kind of network configuration.
  138. # For ifconfig support, emerge sys-apps/net-tools
  139. # For iproute2 support, emerge sys-apps/iproute2
  140.  
  141. # If you don't specify an interface then we prefer iproute2 if it's installed
  142. # To prefer ifconfig over iproute2
  143. #modules="!iproute2"
  144.  
  145. # For a static configuration, use something like this
  146. # (They all do exactly the same thing btw)
  147. #config_eth0="192.168.0.2/24"
  148. #config_eth0="192.168.0.2 netmask 255.255.255.0"
  149.  
  150. # If you need more than one address, you can use something like this
  151. # NOTE: ifconfig creates an aliased device for each extra IPv4 address
  152. #       (eth0:1, eth0:2, etc)
  153. #       iproute2 does not do this as there is no need to
  154. # WARNING: You cannot mix multiple addresses on a line with other parameters!
  155. #config_eth0="192.168.0.2/24 192.168.0.3/24 192.168.0.4/24"
  156. # However, that only works with CIDR addresses, so you can't use netmask.
  157.  
  158. # You can also use IPv6 addresses
  159. # (you should always specify a prefix length with IPv6 here)
  160. #config_eth0="192.168.0.2/24 4321:0:1:2:3:4:567:89ab/64 4321:0:1:2:3:4:567:89ac/64"
  161.  
  162. # If you wish to keep existing addresses + routing and the interface is up,
  163. # you can specify a noop (no operation). If the interface is down or there
  164. # are no addresses assigned, then we move onto the next step (default dhcp)
  165. # This is useful when configuring your interface with a kernel command line
  166. # or similar
  167. #config_eth0="noop 192.168.0.2/24"
  168.  
  169. # If you don't want ANY address (only useful when calling for advanced stuff)
  170. #config_eth0="null"
  171.  
  172. # If you need to pass parameters to go with an address, you can do so on the
  173. # same line as the address. You should split multiple addresses with newlines.
  174. # WARNING: You cannot mix multiple addresses on a line with other parameters!
  175. #config_eth0="192.168.0.2/24 scope host"
  176. #config_eth0="4321:0:1:2:3:4:567:89ab/64 nodad home preferred_lft 0"
  177. #config_eth0="192.168.0.2/24 scope host
  178. #4321:0:1:2:3:4:567:89ab/64 nodad home preferred_lft 0"
  179.  
  180. # Here's how to do routing if you need it
  181. # We add an IPv4 default route, IPv4 subnet route and an IPv6 unicast route
  182. #routes_eth0="default via 192.168.0.1
  183. #10.0.0.0/8 via 192.168.0.1
  184. #::/0"
  185.  
  186. # If a specified module fails (like dhcp - see below), you can specify a
  187. # fallback like so
  188. #fallback_eth0="192.168.0.2/24"
  189. #fallback_routes_eth0="default via 192.168.0.1"
  190.  
  191. # NOTE: fallback entry must match the entry location in config_eth0
  192. # As such you can only have one fallback route.
  193. # Also, if you do not set a fallback_routes entry for an interface, the
  194. # routes entry will be used if that is set.
  195.  
  196. # Some users may need to alter the MTU - here's how
  197. #mtu_eth0="1500"
  198. # Same for TX Queue Length
  199. #txqueuelen_eth0="1000"
  200.  
  201. # Each module described below can set a default base metric, lower is
  202. # preferred over higher. This is so we can prefer a wired route over a
  203. # wireless route automatically. You can override this by setting
  204. #metric_eth0="100"
  205. # or on a global basis
  206. #metric="100"
  207. # The only downside of the global setting is that you have to ensure that
  208. # there are no conflicting routes yourself. For users with large routing
  209. # tables you may have to set a global metric as the due to a simple read of
  210. # the routing table taking over a minute at a time.
  211.  
  212. # Sometimes you may want to wait for a particular interface to show up
  213. # when starting its service.
  214. # For example if a net.foo service is in the "default" runlevel so it
  215. # provides (or co-provides) the "net" service and it takes a while for the
  216. # "foo" interface to initialize and show up in the system during a boot this
  217. # will race with starting of net.foo service by the service manager - if the
  218. # interface hasn't shown up yet the service won't be able start (and so
  219. # will services that depend on it).
  220. # This setting specifies how long we wait for an interface to show up
  221. # in this case (in seconds).
  222. # The current default is 0 - we need an interface to be already present
  223. # in the system when its service is started.
  224. #presence_timeout=0
  225. # This setting can be also adjusted on a per-interface basis:
  226. #presence_timeout_eth0=10
  227.  
  228. # Most drivers that report carrier status function correctly, but some do not
  229. # One of these faulty drivers is for the Intel e1000 network card, but only
  230. # at boot time. To get around this you may alter the carrier_timeout value for
  231. # the interface. 0 is disable and any other number of seconds is how
  232. # long we wait for carrier. The current default is disabled.
  233. #carrier_timeout_eth0=0
  234.  
  235. # IPv6 addresses usually must complete a duplicate address detection process
  236. # before they can be bound to by daemons; they are held in a 'tentative' state
  237. # until this completes.  Setting the 'nodad' flag (see config_eth0 above) is
  238. # one way to avoid this tentative state, otherwise the service will wait
  239. # dad_timeout seconds (defaults to 10) for tentative state to clear on all IPv6
  240. # addresses set on the interface. As usual, dad_timeout can be adjusted on a
  241. # per-interface basis. If your interface takes a long time to establish
  242. # carrier, you may wish to use a higher value.
  243. # Set to 0 to disable the wait entirely.
  244. #dad_timeout_eth0=10
  245.  
  246. # You may wish to disable the interface being brought down when stopping.
  247. # This is only of use for WakeOnLan.
  248. #ifdown_eth0="NO"
  249.  
  250. ##############################################################################
  251. # OPTIONAL MODULES
  252. #-----------------------------------------------------------------------------
  253. # IPROUTE2 INTERFACE TYPES
  254. # The type_$iface variable maps to the link type parameter in iproute2.
  255. # If you need to use additional interface types, you should try to use that
  256. # parameter. Supported interface types are listed below. Please note that some
  257. # interface types may mandate a specific naming scheme.
  258. #
  259. # Dummy network interface:
  260. #type_dummy0=dummy
  261. #
  262. # HSR: High-availability Seamless Redundancy
  263. #type_hsr0=hsr
  264. #hsr_slave1_hsr0=eth0
  265. #hsr_slave2_hsr0=eth1
  266. #hsr_supervision_hsr0=99 # Byte value
  267.  
  268. #-----------------------------------------------------------------------------
  269. # WIRELESS (802.11 support)
  270. # Wireless can be provided by iw, iwconfig or wpa_supplicant
  271. # wpa_supplicant is preferred, use the modules directive to prefer iw or iwconfig.
  272. #modules="iw" # Most modern drivers
  273. #modules="iwconfig" # Older WEXT only drivers, i.e. ipw2x00
  274. #
  275. # iw
  276. # emerge net-wireless/iw
  277. #
  278. # iwconfig
  279. # emerge net-wireless/wireless-tools
  280. ###############################################
  281. # HINTS
  282. #
  283. # Most users will just need to set the following options
  284. # key_SSID1="s:yourkeyhere enc open" # s: means a text key
  285. # key_SSID2="aaaa-bbbb-cccc-dd"      # no s: means a hex key
  286. # preferred_aps="'SSID 1' 'SSID 2'"
  287. #
  288. # Clear? Good. Now configure your wireless network below
  289.  
  290. ###############################################
  291. # SETTINGS
  292. # Hard code an SSID to an interface - leave this unset if you wish the driver
  293. # to scan for available Access Points
  294. # Set to "any" to connect to any SSID - the driver picks an Access Point
  295. # This needs to be done when the driver doesn't support scanning
  296. # This may work for drivers that don't support scanning but you need automatic
  297. # AP association
  298. # I would only set this as a last resort really - use the preferred_aps
  299. # setting at the bottom of this file
  300.  
  301. # However, using ad-hoc (without scanning for APs) and master mode
  302. # do require the SSID to be set - do this here
  303. #essid_eth0="any"
  304.  
  305. # Set the mode of the interface (managed, ad-hoc, master, mesh or auto)
  306. # The default is auto
  307. # If it's ad-hoc or master you also may need to specify the channel below
  308. #mode_eth0="auto"
  309.  
  310. # If managed mode fails, drop to ad-hoc mode with the below SSID?
  311. #adhoc_essid_eth0="WLAN"
  312.  
  313. # Some drivers/hardware don't scan all that well. We have no control over this
  314. # but we can say how many scans we want to do to try and get a better sweep of
  315. # the area. The default is 1.
  316. #scans_eth0="1"
  317.  
  318. #Channel can be set (1-14), but defaults to 3 if not set.
  319. #
  320. # The below is taken verbatim from the BSD wavelan documentation found at
  321. # http://www.netbsd.org/Documentation/network/wavelan.html
  322. # There are 14 channels possible; We are told that channels 1-11 are legal for
  323. # North America, channels 1-13 for most of Europe, channels 10-13 for France,
  324. # and only channel 14 for Japan. If in doubt, please refer to the documentation
  325. # that came with your card or access point. Make sure that the channel you
  326. # select is the same channel your access point (or the other card in an ad-hoc
  327. # network) is on. The default for cards sold in North America and most of Europe
  328. # is 3; the default for cards sold in France is 11, and the default for cards
  329. # sold in Japan is 14.
  330. #channel_eth0="3"
  331.  
  332. # Setup any other config commands. This is basically the iwconfig argument
  333. # without the iwconfig $iface.
  334. #iwconfig_eth0=""
  335.  
  336. # Set private driver ioctls. This is basically the iwpriv argument without
  337. # the iwpriv $iface. If you use the rt2500 driver (not the rt2x00 one) then
  338. # you can set WPA here, below is an example.
  339. #iwpriv_eth0=""
  340. #iwpriv_SSID="set AuthMode=WPAPSK
  341. #set EncrypType=TKIP
  342. #set WPAPSK=yourpasskey"
  343. #NOTE: Even though you can use WPA like so, you may have to set a WEP key
  344. #if your driver claims the AP is encrypted. The WEP key itself will not be
  345. #used though.
  346.  
  347. # Seconds to wait before scanning
  348. # Some drivers need to wait until they have finished "loading"
  349. # before they can scan - otherwise they error and claim that they cannot scan
  350. # or resource is unavailable. The default is to wait zero seconds
  351. #sleep_scan_eth0="1"
  352.  
  353. # Seconds to wait until associated. The default is to wait 10 seconds.
  354. # 0 means wait indefinitely. WARNING: this can cause an infinite delay when
  355. # booting.
  356. #associate_timeout_eth0="5"
  357.  
  358. # By default a successful association in Managed mode sets the MAC
  359. # address of the AP connected to. However, some drivers (namely
  360. # the ipw2100) don't set an invalid MAC address when association
  361. # fails - so we need to check on link quality which some drivers
  362. # don't report properly either.
  363. # So if you have connection problems try flipping this setting
  364. # Valid options are MAC, quality and all - defaults to MAC
  365. #associate_test_eth0="MAC"
  366.  
  367. # Some driver/card combinations need to scan in Ad-Hoc mode
  368. # After scanning, the mode is reset to the one defined above
  369. #scan_mode_eth0="Ad-Hoc"
  370.  
  371. # Below you can define private ioctls to run before and after scanning
  372. # Format is the same as the iwpriv_eth0 above
  373. # This is needed for the HostAP drivers
  374. #iwpriv_scan_pre_eth0="'host_roaming 2'"
  375. #iwpriv_scan_post_eth0="'host_roaming 0'"
  376.  
  377. # Define a WEP key per SSID or MAC address (of the AP, not your card)
  378. # The encryption type (open or restricted) must match the
  379. # encryption type on the Access Point
  380. # You can't use "any" for an SSID here
  381. #key_SSID="1234-1234-1234-1234-1234-1234-56"
  382. # or you can use strings. Passphrase IS NOT supported
  383. # To use a string, prefix it with s:
  384. # Note - this example also sets the encryption method to open
  385. # which is regarded as more secure than restricted
  386. #key_SSID="s:foobar enc open"
  387. #key_SSID="s:foobar enc restricted"
  388.  
  389. # If you have whitespace in your key, here's how to set it and use other
  390. # commands like using open encryption.
  391. #key_SSID="s:'foo bar' enc open"
  392.  
  393. # WEP key for the AP with MAC address 001122334455
  394. #mac_key_001122334455="s:foobar"
  395.  
  396. # Here are some more examples of keys as some users find others work
  397. # and some don't where they should all do the same thing
  398. #key_SSID="open s:foobar"
  399. #key_SSID="open 1234-5678-9012"
  400. #key_SSID="s:foobar enc open"
  401. #key_SSID="1234-5678-9012 enc open"
  402.  
  403. # You may want to set multiple keys - here's an example
  404. # It sets 4 keys on the card and instructs to use key 2 by default
  405. #key_SSID="[1] s:passkey1 key [2] s:passkey2 key [3] s:passkey3 key [4] s:passkey4 key [2]"
  406.  
  407. # You can also override the interface settings found in /etc/conf.d/net
  408. # per SSID - which is very handy if you use different networks a lot
  409. #config_SSID="dhcp"
  410. #dhcpcd_SSID="-t 5"
  411. #routes_SSID=
  412. #fallback_SSID=
  413.  
  414. # Setting name/domain server causes /etc/resolv.conf to be overwritten
  415. # Note that if DHCP is used, and you want this to take precedence then
  416. # please put -R in your dhcpcd options
  417. #dns_servers_SSID="192.168.0.1 192.168.0.2"
  418. #dns_domain_SSID="some.domain"
  419. #dns_search_SSID="search.this.domain search.that.domain"
  420. # Please check the man page for resolv.conf for more information
  421. # as domain and search (searchdomains) are mutually exclusive and
  422. # searchdomains takes precedence
  423.  
  424. # You can also set any of the /etc/conf.d/net variables per MAC address
  425. # incase you use Access Points with the same SSID but need different
  426. # networking configs. Below is an example - of course you use the same
  427. # method with other variables
  428. #config_001122334455="dhcp"
  429. #dhcpcd_001122334455="-t 10"
  430. #dns_servers_001122334455="192.168.0.1 192.168.0.2"
  431.  
  432. # Map a MAC address to an SSID
  433. # This is used when the Access Point is not broadcasting its SSID
  434. # WARNING: This will override the SSID being broadcast due to some
  435. # Access Points sending an SSID even when they have been configured
  436. # not to!
  437. # Change 001122334455 to the MAC address and SSID to the SSID
  438. # it should map to
  439. #mac_essid_001122334455="SSID"
  440.  
  441. # This lists the preferred SSIDs to connect to in order
  442. # SSID's can contain any characters here as they must match the broadcast
  443. # SSID exactly.
  444. # Surround each SSID with the " character and separate them with a space
  445. # If the first SSID isn't found then it moves onto the next
  446. # If this isn't defined then it connects to the first one found
  447. #preferred_aps="SSID1 SSID2"
  448.  
  449. # You can also define a preferred_aps list per interface
  450. #preferred_aps_eth0="SSID3 SSID4"
  451.  
  452. # You can also say whether we only connect to preferred APs or not
  453. # Values are "any", "preferredonly", "forcepreferred", "forcepreferredonly" and "forceany"
  454. # "any" means it will connect to visible APs in the preferred list and then any
  455. # other available AP
  456. # "preferredonly" means it will only connect to visible APs in the preferred list
  457. # "forcepreferred" means it will forcibly connect to APs in order if it does not find
  458. # them in a scan
  459. # "forcepreferredonly" means it forcibly connects to the APs in order and does not bother
  460. # to scan
  461. # "forceany" does the same as forcepreferred + connects to any other available AP
  462. # Default is "any"
  463. #associate_order="any"
  464. #associate_order_eth0="any"
  465.  
  466. # You can define blacklisted Access Points in the same way
  467. #blacklist_aps="SSID1 SSID2"
  468. #blacklist_aps_eth0="SSID3 SSID4"
  469.  
  470. # If you have more than one wireless card, you can say if you want
  471. # to allow each card to associate with the same Access Point or not
  472. # Values are "yes" and "no"
  473. # Default is "yes"
  474. #unique_ap="yes"
  475. #unique_ap_eth0="yes"
  476.  
  477. # IMPORTANT: preferred_only, blacklisted_aps and unique_ap only work when
  478. # essid_eth0 is not set and your card is capable of scanning
  479.  
  480. # NOTE: preferred_aps  list ignores blacklisted_aps - so if you have
  481. # the same SSID in both, well, you're a bit silly :p
  482.  
  483. # 802.11s mesh support
  484. # Requires CONFIG_MAC80211_MESH in kernel and hardware support
  485. #mode_wlan0="mesh"
  486. #mesh_wlan0="MyMeshNetworkID"
  487.  
  488.  
  489. ############################################################
  490. # wpa_supplicant
  491. # emerge net-wireless/wpa_supplicant
  492. # Wireless options are held in /etc/wpa_supplicant/wpa_supplicant.conf
  493. # Consult the wpa_supplicant.conf.example that is installed in
  494. # /usr/share/doc/wpa_supplicant
  495. # To configure wpa_supplicant
  496. #wpa_supplicant_ath0="-Dmadwifi" # For Atheros based cards
  497. # Consult wpa_supplicant for more drivers - the default is -Dwext which should
  498. # work for most cards.
  499.  
  500. # By default we don't wait for wpa_supplicant to associate and authenticate.
  501. # If you need to change this behaviour then you don't know how our scripts work
  502. # and setting this value could cause strange things to happen.
  503. # If you would like it to wait, you can specify how long in seconds.
  504. #associate_timeout_eth0=60
  505. # A value of 0 means wait forever.
  506.  
  507. # You can also override any settings found here per SSID - which is very
  508. # handy if you use different networks a lot. See below for using the SSID
  509. # in our variables
  510. #config_SSID="dhcp"
  511. # See the System module below for setting dns/nis/ntp per SSID
  512.  
  513. # You can also override any settings found here per MAC address of the AP
  514. # in case you use Access Points with the same SSID but need different
  515. # networking configs. Below is an example - of course you use the same
  516. # method with other variables
  517. #mac_config_001122334455="dhcp"
  518. #mac_dns_servers_001122334455="192.168.0.1 192.168.0.2"
  519.  
  520. # When an interface has been associated with an Access Point, a global
  521. # variable called SSID is set to the Access Point's SSID for use in the
  522. # pre/post user functions below (although it's not available in preup as you
  523. # won't have associated then)
  524.  
  525. # If wpa_supplicant has been compiled with dbus support, it is necessary to
  526. # make the corresponding interface depend on the dbus daemon:
  527. #rc_net_wlan0_need="dbus"
  528.  
  529. # If you're using anything else to configure wireless on your interface AND
  530. # you have installed wpa_supplicant, you need to disable wpa_supplicant.
  531. # Please see the note about hostapd in the MODULES section.
  532. #modules="!wireless"
  533.  
  534. ##############################################################################
  535. # WIRELESS SSID IN VARIABLES
  536. ##############################################################################
  537. # Remember to change SSID to your SSID.
  538. # Say that your SSID is My NET - the line
  539. #      #key_SSID="s:passkey"
  540. # becomes
  541. #      #key_My_NET="s:passkey"
  542. # Notice that the space has changed to an underscore - do the same with all
  543. # characters not in a-z A-Z (English alphabet) 0-9. This only applies to
  544. # variables and not values.
  545. #
  546. # Any SSID's in values like essid_eth0="My NET" may need to be escaped
  547. # This means placing the character \ before the character
  548. # \" need to be escaped for example
  549. # So if your SSID is
  550. #      My "\ NET
  551. # it becomes
  552. #      My \"\\ NET
  553. # for example
  554. #      #essid_eth0="My\"\\NET"
  555. #
  556. # So using the above we can use
  557. #      #dns_domain_My____NET="My\"\\NET"
  558. # which is an invalid dns domain, but shows the how to use the variable
  559. # structure
  560. #########################################################
  561.  
  562.  
  563. #-----------------------------------------------------------------------------
  564. # DHCP
  565. # DHCP can be provided by dhclient, dhcpcd, pump or udhcpc.
  566. #
  567. # dhclient: emerge net-misc/dhcp
  568. # dhcpcd:   emerge net-misc/dhcpcd
  569. # pump:     emerge net-misc/pump
  570. # udhcpc:   emerge sys-apps/busybox
  571.  
  572. # If you have more than one DHCP client installed, you need to specify which
  573. # one to use - otherwise we default to dhcpcd if available.
  574. #modules="dhclient" # to select dhclient over dhcpcd
  575. #
  576. # Notes:
  577. # - All clients send the current hostname to the DHCP server by default
  578. # - dhcpcd does not daemonize when the lease time is infinite
  579. # - udhcp-0.9.3-r3 and earlier do not support getting NTP servers
  580. # - pump does not support getting NIS servers
  581. # - DHCP tends to erase any existing device information - so add
  582. #   static addresses after dhcp if you need them
  583. # - dhclient and udhcpc can set other resolv.conf options such as "option"
  584. #   and "sortlist"- see the System module for more details
  585.  
  586. # Regardless of which DHCP client you prefer, you configure them the
  587. # same way using one of following depending on which interface modules
  588. # you're using.
  589. config_eth0="dhcp"
  590.  
  591. # For passing custom options to dhcpcd use something like the following.  This
  592. # example reduces the timeout for retrieving an address from 60 seconds (the
  593. # default) to 10 seconds.
  594. #dhcpcd_eth0="-t 10"
  595.  
  596. # dhclient, udhcpc and pump don't have many runtime options
  597. # You can pass options to them in a similar manner to dhcpcd though
  598. #dhclient_eth0="..."
  599. #udhcpc_eth0="..."
  600. #pump_eth0="..."
  601.  
  602. # GENERIC DHCP OPTIONS
  603. # Set generic DHCP options like so
  604. #dhcp_eth0="release nodns nontp nonis nogateway nosendhost"
  605.  
  606. # This tells the dhcp client to release its lease when it stops, not to
  607. # overwrite dns, ntp and nis settings, not to set a default route and not to
  608. # send the current hostname to the dhcp server and when it starts.
  609. # You can use any combination of the above options - the default is not to
  610. # use any of them.
  611.  
  612. #-----------------------------------------------------------------------------
  613. # DHCPv6
  614. # DHCPv6 can be provided by dhclient
  615. #
  616. # dhclient: emerge net-misc/dhcp
  617. #
  618. # If you have more than one DHCP client installed, you should probably
  619. # explicitly use 'dhclient' to use dhclient for both DHCP and DHCPv6,
  620. # otherwise the default DHCP client will be used.  dhcpcd has some stateless
  621. # IPv6 autoconfiguration support which may clash with DHCPv6.
  622. #modules="dhclient" # to select dhclient over dhcpcd
  623.  
  624. # Regardless of which DHCP client you prefer, you configure them the
  625. # same way using one of following depending on which interface modules
  626. # you're using.
  627. #config_eth0="dhcpv6"
  628.  
  629. # You can also use both DHCP and DHCPv6 on a dual-stack network:
  630. #config_eth0="dhcp
  631. #dhcpv6"
  632.  
  633. # To pass runtime arguments to dhclient for DHCPv6, you do it similarly to
  634. # setting runtime arguments for DHCP.  Note that you can set options for
  635. # DHCPv6 separately or in addition the dhclient arguments for DHCP.
  636. #dhclientv6_eth0="..." # options for DHCPv6 only
  637. #dhclient_eth0='..."   # options for DHCP (also for DHCPv6 when no
  638. #                      # dhclientv6_eth0 is defined)
  639.  
  640. # GENERIC DHCPv6 OPTIONS
  641. # Set generic DHCPv6 options just as with generic DHCP options.
  642. #dhcpv6_eth0="release nodns nontp nonis nogateway nosendhost"
  643.  
  644. # If no generic DHCPv6 options are set, the default is to fall back to the
  645. # DHCP generic options.
  646.  
  647. #-----------------------------------------------------------------------------
  648. # For APIPA support, emerge net-misc/iputils or net-analyzer/arping
  649.  
  650. # APIPA is a module that tries to find a free address in the range
  651. # 169.254.0.0-169.254.255.255 by arping a random address in that range on the
  652. # interface. If no reply is found then we assign that address to the interface
  653.  
  654. # This is only useful for LANs where there is no DHCP server and you don't
  655. # connect directly to the internet.
  656. #config_eth0="dhcp"
  657. #fallback_eth0="apipa"
  658.  
  659. #-----------------------------------------------------------------------------
  660. # ARPING Gateway configuration
  661. # and
  662. # Automatic Private IP Addressing (APIPA)
  663. # For arpingnet / apipa support, emerge net-misc/iputils or net-analyzer/arping
  664. #
  665. # This is a module that tries to find a gateway IP. If it exists then we use
  666. # that gateways configuration for our own. For the configuration variables
  667. # simply ensure that each octet is zero padded and the dots are removed.
  668. # Below is an example.
  669. #
  670. #gateways_eth0="192.168.0.1 10.0.0.1"
  671. #config_192168000001="192.168.0.2/24"
  672. #routes_192168000001="default via 192.168.0.1"
  673. #dns_servers_192168000001="192.168.0.1"
  674. #config_010000000001="10.0.0.254/8"
  675. #routes_010000000001="default via 10.0.0.1"
  676. #dns_servers_010000000001="10.0.0.1"
  677.  
  678. # We can also specify a specific MAC address for each gateway if different
  679. # networks have the same gateway.
  680. #gateways_eth0="192.168.0.1,00:11:22:AA:BB:CC 10.0.0.1,33:44:55:DD:EE:FF"
  681. #config_192168000001_001122AABBCC="192.168.0.2/24"
  682. #routes_192168000001_001122AABBCC="default via 192.168.0.1"
  683. #dns_servers_192168000001_001122AABBCC="192.168.0.1"
  684. #config_010000000001_334455DDEEFF="10.0.0.254/8"
  685. #routes_010000000001_334455DDEEFF="default via 10.0.0.1"
  686. #dns_servers_010000000001_334455DDEEFF="10.0.0.1"
  687.  
  688. # If you need to spoof the source address, you can add that as third parameter
  689. # like so
  690. #gateways_eth0="192.168.0.1,00:11:22:AA:BB:CC,192.168.0.50"
  691. #or
  692. #gateways_eth0="192.168.0.1,,192.168.0.50"
  693. # This requires arping to be installed though
  694.  
  695. # If we don't find any gateways (or there are none configured) then we try and
  696. # use APIPA to find a free address in the range 169.254.0.0-169.254.255.255
  697. # by arping a random address in that range on the interface. If no reply is
  698. # found then we assign that address to the interface.
  699.  
  700. # This is only useful for LANs where there is no DHCP server.
  701. #config_eth0="arping"
  702.  
  703. # or if no DHCP server can be found
  704. #config_eth0="dhcp"
  705. #fallback_eth0="arping"
  706.  
  707. # NOTE: We default to sleeping for 1 second the first time we attempt an
  708. # arping to give the interface time to settle on the LAN. This appears to
  709. # be a good default for most instances, but if not you can alter it here.
  710. #arping_sleep=5
  711. #arping_sleep_lan=7
  712.  
  713. # NOTE: We default to waiting 3 seconds to get an arping response. You can
  714. # change the default wait like so.
  715. #arping_wait=3
  716. #arping_wait_lan=2
  717.  
  718. #-----------------------------------------------------------------------------
  719. # VLAN (802.1q support)
  720. # For VLAN support, emerge sys-apps/iproute2
  721. # The old vconfig based VLAN support is no longer available.
  722.  
  723. # Specify the VLAN numbers for the interface like so
  724. # Please ensure your VLAN IDs are NOT zero-padded
  725. #vlans_eth0="1 2"
  726.  
  727. # You may not want to assign an IP the the physical interface, but we still
  728. # need it up.
  729. #config_eth0="null"
  730.  
  731. # You can also configure the VLAN - see for ip man page for more details
  732. # To change the vlan interface name. If not set, the standard "iface.vlanid"
  733. # will be used. This is the replacement for the old 'vconfig set_name_type'
  734. # functionality. If you previously relied on the DEV_PLUS_VID or
  735. # DEV_PLUS_VID_NO_PAD options to have different VLANs with same ID value, on
  736. # different interfaces, please note that you need to use both the interface and
  737. # vlan number in the numbering. This applies for all of the options: name,
  738. # txqueuelen, mac, broadcast, mtu, ingress, egress, flags
  739. #vlan1_name="vlan1"
  740. #eth0_vlan2_name="eth0.2"
  741. #eth1_vlan2_name="eth1.2"
  742.  
  743. # The following shows the old set_name_type setting and what new option to set:
  744. # Using eth9 & VLAN VID 26 as an example.
  745. # VLAN_PLUS_VID         vlan26_name="vlan0026"
  746. # VLAN_PLUS_VID_NO_PAD  vlan26_name="vlan26"
  747. # DEV_PLUS_VID          eth9_vlan26_name="eth9.0026"
  748. # DEV_PLUS_VID_NO_PAD   eth9_vlan26_name="eth9.26"
  749.  
  750. # Set the vlan flags
  751. #vlan1_flags="reorder_hdr off gvrp on loose_binding on"
  752. #eth0_vlan1_flags="reorder_hdr off gvrp on loose_binding on"
  753.  
  754. # Configure in/egress maps
  755. #vlan1_ingress="2:6 3:5"
  756. #eth0_vlan1_egress="1:2"
  757.  
  758. #config_vlan1="172.16.2.1/24"
  759. #config_vlan2="172.16.3.1/24"
  760. #config_eth0_1="172.16.4.1/24"
  761. #config_eth1_1="172.16.5.1/24"
  762.  
  763. # NOTE: Vlans can be configured with a . in their interface names
  764. # When configuring vlans with this name type, you need to replace . with a _
  765. #config_eth0.1="dhcp" - does not work
  766. #config_eth0_1="dhcp" - does work
  767.  
  768. # NOTE: Vlans are controlled by their physical interface and not per vlan
  769. # This means you do not need to create init scripts in /etc/init.d for each
  770. # vlan, you must need to create one for the physical interface.
  771. # If you wish to control the configuration of each vlan through a separate
  772. # script then you need to do this.
  773. #vlan_start_eth0="no"
  774.  
  775. # If you do the above then you may want to depend on eth0 like so
  776. # rc_net_vlan1_need="net.eth0"
  777. # NOTE: depend functions only work in /etc/conf.d/net
  778. # and not in profile configs such as /etc/conf.d/net.foo
  779.  
  780. # Also, you might want to make eth0 not provide net in this case so that
  781. # dependent services will start when the vlan is active instead of the
  782. # physical interface.
  783. # rc_net_eth0_provide="!net"
  784.  
  785. # MAC-VLAN support
  786. # The following configuration can be used to create a new interface 'macvlan0'
  787. # linked to 'eth0'
  788. #macvlan_macvlan0="eth0"
  789.  
  790. # MAC-VLAN mode (private, vepa, bridge, passtru)
  791. #mode_macvlan0="private"
  792.  
  793. # MAC-VLAN type (macvlan, macvtap)
  794. #type_macvlan0="macvtap"
  795.  
  796. # IP address, MAC address, ... are configured as a normal interface
  797. #config_macvlan0="192.168.20.20/24"
  798. #mac_macvlan0="00:50:06:20:20:20"
  799.  
  800. #-----------------------------------------------------------------------------
  801. # Bonding
  802. # For link bonding/trunking on 2.4 kernels, or kernels without sysfs
  803. # emerge net-misc/ifenslave
  804.  
  805. # To bond interfaces together
  806. #slaves_bond0="eth0 eth1 eth2"
  807. #config_bond0="null" # You may not want to assign an IP the the bond
  808.  
  809. # Please note, that you should generally NOT try to change the MAC addresses of
  810. # a bond interface yourself. If you do so, the kernel and your network switches
  811. # may not work quite right. It is permissible to set the MAC addresses of bond
  812. # slaves BEFORE the bond comes up, but not after the bond is up (it will change
  813. # MAC addresses of the slaves on it's own).
  814.  
  815. # You can also configure the parameters of the bond here, which must be done
  816. # via sysfs on 2.6 kernels or newer. The description of all the options can be
  817. # found in the kernel: /usr/src/linux-*/Documentation/networking/bonding.txt
  818. # You will probably want the 'mode' option at the least. Please beware that
  819. # some options are mutually exclusive, eg miimon & arp_*; again, see the kernel
  820. # documentation for more info.
  821. # Some possible parameters: mode fail_over_mac arp_validate arp_interval
  822. # arp_ip_target downdelay updelay lacp_rate ad_select xmit_hash_policy
  823. # num_grat_arp num_unsol_na miimon primary primary_reselect use_carrier
  824. # active_slave queue_id all_slaves_active resend_igmp min_links
  825. #mode_bond0="round-robin"
  826. #miimon_bond0="100"
  827. #arp_ip_target_bond0="+26.0.0.0"
  828.  
  829. # If any of the slaves require extra configuration - for example wireless or
  830. # ppp devices - we need to depend function on the bonded interfaces
  831. #rc_net_bond0_need="net.eth0 net.eth1"
  832.  
  833. # Bonding subsume support (prevents crashes for root-on-NFS)
  834. #  - Only tested in the default bonding mode ('active-backup') with
  835. # IPv4
  836. #  - Only subsumes basic interface characteristics (IP, netmask) and
  837. #    excludes additional routes, interface properties such as MTU,
  838. #    interface-associated netfilter rules, etc.
  839. # In the example below, the (usually kernel-autoconfigured)
  840. # 'eth0' interface is a member of bond0, which subsumes the
  841. # existing interface configuration without upsetting NFS.
  842. #slaves_bond0="eth0 eth1"
  843. #subsume_bond0="eth0"
  844.  
  845. #-----------------------------------------------------------------------------
  846. # Classical IP over ATM
  847. # For CLIP support emerge net-dialup/linux-atm
  848.  
  849. # Ensure that you have /etc/atmsigd.conf setup correctly
  850. # Now setup each clip interface like so
  851. #clip_atm0="peer_ip [if.]vpi.vci [opts],"
  852. #  where "peer_ip" is the IP address of a PVC peer (in case of an ATM connection
  853. #  with your ISP, your only peer is usually the ISP gateway closest to you),
  854. #  "if" is the number of the ATM interface which will carry the PVC, "vpi.vci"
  855. #  is the ATM VC address, and "opts" may optionally specify VC parameters like
  856. #  qos, pcr, and the like (see "atmarp -s" for further reference). Please also
  857. #  note quoting: it is meant to distinguish the VCs you want to create. You may,
  858. #  in example, create an atm0 interface to more peers, like this:
  859. #clip_atm0="1.1.1.254,0.8.35 1.1.1.253,1.8.35"
  860.  
  861. #  By default, the PVC will use the LLC/SNAP encapsulation. If you rather need a
  862. #  null encapsulation (aka "VC mode"), please add the keyword "null" to opts.
  863.  
  864.  
  865. #-----------------------------------------------------------------------------
  866. # PPP
  867. # For PPP support, emerge net-dialup/ppp
  868. # PPP is used for most dialup connections, including ADSL.
  869. # The older ADSL module is documented below, but you are encouraged to try
  870. # this module first.
  871. #
  872. # You need to create the PPP net script yourself. Make it like so
  873. #ln -s net.lo /etc/init.d/net.ppp0
  874. #
  875. # Each PPP interface requires an interface to use as a "Link"
  876. #link_ppp0="/dev/ttyS0"         # Most PPP links will use a serial port
  877. #link_ppp0="eth0"               # PPPoE requires an ethernet interface
  878. #link_ppp0="[itf.]vpi.vci"        # PPPoA requires the ATM VC's address
  879. #link_ppp0="/dev/null"            # ISDN links should have this
  880. #link_ppp0="pty 'your_link_command'"    # PPP links over ssh, rsh, etc
  881. #
  882. # Here you should specify what pppd plugins you want to use
  883. # Available plugins are: pppoe, rp-pppoe, pppoa, capi, dhcpc, minconn, radius,
  884. #             radattr, radrealms and winbind
  885. #plugins_ppp0="pppoe"            # Required plugin for PPPoE with >=ppp-2.4.9
  886. #plugins_ppp0="rp-pppoe"        # Required plugin for PPPoE with <ppp-2.4.9
  887. #plugins_ppp0="pppoa vc-encaps"        # Required plugin for PPPoA with an option
  888. #plugins_ppp0="capi"            # Required plugin for ISDN
  889. #
  890. # PPP requires at least a username. You can optionally set a password here too
  891. # If you don't, then it will use the password specified in /etc/ppp/*-secrets
  892. # against the specified username
  893. #username_ppp0='user'
  894. #password_ppp0='password'
  895. # NOTE: You can set a blank password like so
  896. #password_ppp0=
  897. #
  898. # The PPP daemon has many options you can specify - although there are many
  899. # and may seem daunting, it is recommended that you read the pppd man page
  900. # before enabling any of them
  901. #pppd_ppp0="
  902. #    maxfail 0    # WARNING: It's not recommended you use this
  903. #            # if you don't specify maxfail then we assume 0
  904. #    updetach     # If not set, "/etc/init.d/net.ppp0 start" will return
  905. #            # immediately,  without waiting the link to come up
  906. #            # for the first time.
  907. #            # Do not use it for dial-on-demand links!
  908. #    debug     # Enables syslog debugging
  909. #    noauth    # Do not require the peer to authenticate itself
  910. #    defaultroute    # Make this PPP interface the default route
  911. #    usepeerdns        # Use the DNS settings provided by PPP
  912. #
  913. # On demand options
  914. #    demand        # Enable dial on demand
  915. #    idle 30        # Link goes down after 30 seconds of inactivity
  916. #    10.112.112.112:10.112.112.113    # Phony IP addresses
  917. #    ipcp-accept-remote    # Accept the peers idea of remote address
  918. #    ipcp-accept-local    # Accept the peers idea of local address
  919. #    holdoff 3     # Wait 3 seconds after link dies before re-starting
  920. #
  921. # Dead peer detection
  922. #    lcp-echo-interval 15    # Send a LCP echo every 15 seconds
  923. #    lcp-echo-failure 3    # Make peer dead after 3 consecutive
  924. #                # echo-requests
  925. #
  926. # Compression options - use these to completely disable compression
  927. #    noaccomp noccp nobsdcomp nodeflate nopcomp novj novjccomp
  928. #
  929. # Dial-up settings
  930. #    lock                # Lock serial port
  931. #    115200            # Set the serial port baud rate
  932. #    modem crtscts            # Enable hardware flow control
  933. #    192.168.0.1:192.168.0.2    # Local and remote IP addresses
  934. #"
  935. #
  936. # Dial-up PPP users need to specify at least one telephone number
  937. #phone_number_ppp0="12345689" # Maximum 2 phone numbers are supported
  938. # They will also need a chat script - here's a good one
  939. #chat_ppp0="
  940. #ABORT BUSY
  941. #ABORT ERROR
  942. #ABORT 'NO ANSWER'
  943. #ABORT 'NO CARRIER'
  944. #ABORT 'NO DIALTONE'
  945. #ABORT 'Invalid Login'
  946. #ABORT 'Login incorrect'
  947. #TIMEOUT 5
  948. #'' ATZ
  949. #OK AT # Put your modem initialization string here
  950. #OK 'ATDT\T'
  951. #TIMEOUT 60
  952. #CONNECT ''
  953. #TIMEOUT 5
  954. #~-- ''
  955. #"
  956.  
  957. # If the link require extra configuration - for example wireless or
  958. # RFC 268 bridge - we need to depend on the bridge so they get
  959. # configured correctly.
  960. #rc_net_ppp0_need="net.nas0"
  961.  
  962. #WARNING: if MTU of the PPP interface is less than 1500 and you use this
  963. #machine as a router, you should add the following rule to your firewall
  964. #
  965. #iptables -I FORWARD 1 -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu
  966.  
  967. #-----------------------------------------------------------------------------
  968. # ADSL
  969. # For ADSL support, emerge net-dialup/rp-pppoe
  970. # WARNING: This ADSL module is being deprecated in favour of the PPP module
  971. # above.
  972. # You should make the following settings and also put your
  973. # username/password information in /etc/ppp/pap-secrets
  974.  
  975. # Configure the interface to use ADSL
  976. #config_eth0="adsl"
  977.  
  978. # You probably won't need to edit /etc/ppp/pppoe.conf if you set this
  979. #adsl_user_eth0="my-adsl-username"
  980.  
  981. #-----------------------------------------------------------------------------
  982. # ISDN
  983. # For ISDN support, emerge net-dialup/isdn4k-utils
  984. # You should make the following settings and also put your
  985. # username/password information in /etc/ppp/pap-secrets
  986.  
  987. # Configure the interface to use ISDN
  988. #config_ippp0="dhcp"
  989. # It's important to specify dhcp if you need it!
  990. #config_ippp0="192.168.0.1/24"
  991. # Otherwise, you can use a static IP
  992.  
  993. # NOTE: The interface name must be either ippp or isdn followed by a number
  994.  
  995. # You may need this option to set the default route
  996. #ipppd_eth0="defaultroute"
  997.  
  998. #-----------------------------------------------------------------------------
  999. # MAC changer
  1000. # Warning: Do NOT use this on bonding interfaces! Bonding changes MACs itself.
  1001. #
  1002. # To set a specific MAC address
  1003. #mac_eth0="00:11:22:33:44:55"
  1004.  
  1005. # For changing MAC addresses using the below, emerge net-analyzer/macchanger
  1006. # - to randomize the last 3 bytes only
  1007. #mac_eth0="random-ending"
  1008. # - to randomize between the same physical type of connection (e.g. fibre,
  1009. # copper, wireless) , all vendors
  1010. #mac_eth0="random-samekind"
  1011. # - to randomize between any physical type of connection (e.g. fibre, copper,
  1012. # wireless) , all vendors
  1013. #mac_eth0="random-anykind"
  1014. # - full randomization - WARNING: some MAC addresses generated by this may NOT
  1015. # act as expected
  1016. #mac_eth0="random-full"
  1017. # custom - passes all parameters directly to net-analyzer/macchanger
  1018. #mac_eth0="some custom set of parameters"
  1019.  
  1020. # You can also set other options based on the MAC address of your network card
  1021. # Handy if you use different docking stations with laptops
  1022. #config_001122334455="dhcp"
  1023.  
  1024. #-----------------------------------------------------------------------------
  1025. # TUN/TAP
  1026. # For TUN/TAP support install iproute2, openvpn or usermode-utilities
  1027. #
  1028. # You must specify if we're a tun or tap device. Then you can give it any
  1029. # name you like - such as vpn
  1030. #tuntap_vpn="tun"
  1031. #config_vpn="192.168.0.1/24"
  1032.  
  1033. # Or stick wit the generic names - like tap0
  1034. #tuntap_tap0="tap"
  1035. #config_tap0="192.168.0.1/24"
  1036.  
  1037. # Use something like this to pass custom options to iproute2 during
  1038. # tunnel creation. This sets the user and group ownership of the node.
  1039. #iproute2_tun1="user foo group bar"
  1040. # For passing custom options to tunctl use something like the following.  This
  1041. # example sets the owner to adm
  1042. #tunctl_tun1="-u adm"
  1043. # OpenVPN-2.1_rc6 and newer allow --user and --group to set owner and group
  1044. # of the node as well
  1045. #openvpn_tun1="--user foo --group bar"
  1046.  
  1047. #-----------------------------------------------------------------------------
  1048. # Virtual interface device (veth)
  1049. # For veth support install iproute2
  1050. #
  1051. # The script uses "standard" ways of IP-address assignement in net.lo script. Network namespaces are not implemented here
  1052. # because net.lo currently knows nothing about network namespaces.
  1053. #
  1054. #   You must specify veth interface type to avoid interference with "normal" interfaces startup
  1055. #   The interface type must be set for both peers
  1056. #type_veth0="veth"
  1057. #   Here we declare peers for "ip link add" command
  1058. #veth_veth0_peer1="veth0"
  1059. #veth_veth0_peer2="veth1"
  1060. #config_veth0="192.168.0.1/24"
  1061. #
  1062. #   Prevents race
  1063. #rc_net_veth1_need="net.veth0"
  1064. #type_veth1="veth"
  1065. #   Both peers are created when the first one starts, we don't need to create the second peer
  1066. #   explicitly, we just configure it
  1067. #veth_veth1_create="no"
  1068. #config_veth1="192.168.2.1/24"
  1069. #
  1070.  
  1071.  
  1072. #-----------------------------------------------------------------------------
  1073. # Bridging (802.1d)
  1074. # Preferred: iproute2, emerge sys-apps/iproute2
  1075. # Legacy: brctl, emerge net-misc/bridge-utils
  1076. # # See https://wiki.gentoo.org/wiki/Network_bridge#OpenRC for further notes
  1077.  
  1078. # To add ports to bridge br0
  1079. #bridge_br0="eth0 eth1"
  1080. # or dynamically add them when the interface comes up
  1081. #bridge_add_eth0="br0"
  1082. #bridge_add_eth1="br0"
  1083.  
  1084. # NOTE: If you want to manually start an empty bridge, and then dynamically add
  1085. # ports to it you must set at least one of the following variables based on the
  1086. # interface name, so that we can pick it up from your configuration. Even an
  1087. # empty value variable is fine, but at least one of them must be set:
  1088. # bridge_force_IFVAR
  1089. # brctl_IFVAR
  1090.  
  1091. # You need to configure the ports to null values so dhcp does not get started
  1092. #config_eth0="null"
  1093. #config_eth1="null"
  1094.  
  1095. # Finally give the bridge an address - dhcp or a static IP, this is assigned to
  1096. # the bridge when the bridge is explicitly started.
  1097. #config_br0="dhcp" # may not work when adding ports dynamically
  1098. #config_br0="192.168.0.1/24"
  1099.  
  1100. # If any of the ports require extra configuration - for example wireless or
  1101. # ppp devices - we need to depend on them like so.
  1102. #rc_net_br0_need="net.eth0 net.eth1"
  1103.  
  1104. # Below is an example of configuring the bridge
  1105. # Consult "man brctl" for more details
  1106. # This method is deprecated in favour of the sysfs interface.
  1107. #brctl_br0="setfd 15
  1108. #sethello 2
  1109. #stp on"
  1110.  
  1111. # You can configure the bridge or bridge members via sysfs on 2.6 kernels
  1112. # or newer. See the kernel bridge documentation for a description of these
  1113. # options.
  1114. #bridge_stp_state_br0="0"
  1115. #bridge_forward_delay_br0="10"
  1116. #brport_hairpin_mode_eth0="1"
  1117.  
  1118. # It is important to include bridge_forward_delay_br0=0 and
  1119. # bridge_hello_time_br0=1000 in the /etc/conf.d/net file in order to bring the
  1120. # bridge interface up quickly. Other values will cause network packets to be
  1121. # dropped for the first 30 seconds after the bridge has become active. This, in
  1122. # turn, could prevent DHCP from working as intended.
  1123. #bridge_forward_delay_br0=0
  1124. #bridge_hello_time_br0=1000
  1125.  
  1126.  
  1127. #-----------------------------------------------------------------------------
  1128. # RFC 2684 Bridge Support
  1129. # For RFC 2684 bridge support emerge net-misc/br2684ctl
  1130.  
  1131. # Interface names have to be of the form nas0, nas1, nas2, etc.
  1132. # You have to specify a VPI and VCI for the interface like so
  1133. #br2684ctl_nas0="-a 0.38" # UK VPI and VCI
  1134.  
  1135. # You may want to configure the encapsulation method as well by adding the -e
  1136. # option to the command above (may need to be before the -a command)
  1137. # -e 0 # LLC (default)
  1138. # -e 1 # VC mux
  1139.  
  1140. # Then you can configure the interface as normal
  1141. #config_nas0="'192.168.0.1/24'"
  1142.  
  1143. #-----------------------------------------------------------------------------
  1144. # Tunneling
  1145. # WARNING: For tunneling it is highly recommended that you
  1146. # emerge sys-apps/iproute2
  1147. #
  1148. # For GRE tunnels
  1149. #iptunnel_vpn0="mode gre remote 207.170.82.1 key 0xffffffff ttl 255"
  1150.  
  1151. # For IPIP tunnels
  1152. #iptunnel_vpn0="mode ipip remote 207.170.82.2 ttl 255"
  1153.  
  1154. # For GRETAP tunnels (works only with sys-apps/iproute2)
  1155. #iplink_vpn0="type gretap remote 207.170.82.3 ttl 255"
  1156.  
  1157. # For VXLAN tunnels (works only with sys-apps/iproute2)
  1158. #iplink_vpn0="type vxlan id 1 group 207.170.82.4 local 207.170.82.100 dstport 4789 dev eth0"
  1159.  
  1160. # To configure the interface
  1161. #config_vpn0="192.168.0.2 pointopoint 192.168.1.2"    # ifconfig style
  1162. #config_vpn0="192.168.0.2 peer 192.168.1.1"        # iproute2 style
  1163.  
  1164. # 6to4 Tunnels allow IPv6 to work over IPv4 addresses, provided you
  1165. # have a non-private address configured on an interface.
  1166. # link_6to4="eth0"        # Interface to base its addresses on
  1167. # config_6to4="ip6to4"
  1168. # You may want to depend on eth0 like so
  1169. #rc_net_6to4_need="net.eth0"
  1170. # To ensure that eth0 is configured before 6to4. Of course, the tunnel could be
  1171. # any name and this also works for any configured interface.
  1172. # NOTE: If you're not using iproute2 then your 6to4 tunnel has to be called
  1173. # sit0 - otherwise use a different name like 6to4 in the example above.
  1174.  
  1175. # You can also specify a relay and suffix if you like.
  1176. # The default relay is 192.88.99.1 and the default suffix is :1
  1177. #relay_6to4="192.168.3.2"
  1178. #suffix_6to4=":ff"
  1179.  
  1180. # For L2TP (v3) link
  1181. # WARNING: sys-apps/iproute2 is required to use this module
  1182. # You may have to add "l2tp" to modules list
  1183. #
  1184. # A L2 link between need a session within a tunnel
  1185. # 1 session <=> 1 interface and 1 tunnel <=> n session(s)
  1186. # a tunnel can host several session (shared by several interfaces)
  1187. #
  1188. # Example to create 3 L2TPv3 links where (see man ip, iproute2 manual for more details):
  1189. # * l2tpeth0 and l2tpeth1 are tho sessions into a same (shared) tunnel (encap IP)
  1190. # * l2tpeth2 is a session into an separate tunnel (encap UDP)
  1191. #
  1192. #l2tptunnel_l2tpeth0="remote 1.2.3.4 local 1.2.4.3 encap ip tunnel_id 1 peer_tunnel_id 1"
  1193. #l2tpsession_l2tpeth0="tunnel_id 1 session_id 1 peer_session_id 1"
  1194. #config_l2tpeth="10.100.0.1/24"
  1195. #
  1196. #l2tptunnel_l2tpeth1="remote 1.2.3.4 local 1.2.4.3 encap ip tunnel_id 1 peer_tunnel_id 1"
  1197. #l2tpsession_l2tpeth1="tunnel_id 1 session_id 2 peer_session_id 2"
  1198. #config_l2tpeth1="10.100.1.1/24"
  1199. #
  1200. #l2tptunnel_l2tpeth2="remote 1.2.3.4 local 1.2.4.3 encap udp tunnel_id 2 peer_tunnel_id 2 udp_sport 5000 udp_dport 6000"
  1201. #l2tpsession_l2tpeth2="tunnel_id 2 session_id 1 peer_session_id 1"
  1202. #config_l2tpeth2="10.100.2.1/24"
  1203.  
  1204. #-----------------------------------------------------------------------------
  1205. # Advanced Routing
  1206. # WARNING: For advanced routing you MUST be using sys-apps/iproute2
  1207. #
  1208. # This provides a means to do multi-homing and more using the Routing Policy
  1209. # Database (RPDB).
  1210. #
  1211. # See the following links for background and more information.
  1212. # http://linux-ip.net/html/ch-routing.html
  1213. # http://linux-ip.net/html/ch-advanced-routing.html
  1214.  
  1215. # The rules listed will be added with 'ip rule add LINE' when the interface is
  1216. # being brought up. They will also be removed with 'ip rule delete LINE'.
  1217. # The rules added are also stored for later removal, so if you alter your rules
  1218. # directly before stopping, you should review your rules again after stopping.
  1219.  
  1220. # Note in earlier versions of openrc, this was provided as an example in
  1221. # postup/postdown, however that implementation suffered some bugs in corner
  1222. # cases, which are now fixed with this merger. If you used the previous
  1223. # example, you should only need to drop the relevent portions of your
  1224. # postup/postdown functions, and review the quoting in your rules_IFACE
  1225. # variables.
  1226.  
  1227. # Below is a trivial example for a dual-homed connection where there is an OOB
  1228. # management network. Only packets explicitly with an address from or to the
  1229. # OOB are sent via eth0. All others go via eth1 as the eth1 rules have a lower
  1230. # priority.
  1231.  
  1232. # If you want to use names for your tables, you should put lines into
  1233. # /etc/iproute2/rt_tables, an example follows:
  1234. # 2 oob
  1235. # 3 external
  1236. #
  1237. # IPv6 RPDB entries are to be found in the rules6_IFVAR variables:
  1238.  
  1239. #rules_eth0="
  1240. #from ZZZ.ZZZ.200.128/27 table oob priority 500
  1241. #to ZZZ.ZZZ.200.128/27 table oob priority 550"
  1242. #rules_eth1="
  1243. #from XXX.XXX.112.0/24 table external priority 400
  1244. #to XXX.XXX.112.0/24 table external priority 450"
  1245. #routes_eth0="
  1246. #ZZZ.ZZZ.200.128/27 dev eth0 table oob scope link
  1247. #default via ZZZ.ZZZ.200.129 table oob"
  1248. #routes_eth1="
  1249. #XXX.XXX.112.0/24 dev eth1 table external scope link
  1250. #default via XXX.XXX.112.1 dev eth1"
  1251.  
  1252. # IPv6 example:
  1253. #rules6_eth0="
  1254. #from 2001:0DB8:AAAA:BBBB::/64 table vpn priority 100
  1255. #to 2001:0DB8:AAAA:BBBB::/64 table vpn priority 150"
  1256.  
  1257. # On rare occasions you may want routing policy rules to be applied
  1258. # before routes are applied, rather than after.  This can be controlled
  1259. # via 'policy_rules_before_routes', which defaults to 'no'.  See
  1260. # https://bugs.gentoo.org/show_bug.cgi?id=446606 for a discussion.
  1261. #policy_rules_before_routes_eth0="yes"
  1262.  
  1263. #-----------------------------------------------------------------------------
  1264. # System
  1265. # For configuring system specifics such as domain, dns, ntp and nis servers
  1266. # It's rare that you would need todo this, but you can anyway.
  1267. # This is most benefit to wireless users who don't use DHCP so they can change
  1268. # their configs based on SSID.
  1269.  
  1270. # If you omit the _eth0 suffix, then it applies to all interfaces unless
  1271. # overridden by the interface suffix.
  1272. #dns_domain_eth0="your.domain"
  1273. #dns_servers_eth0="192.168.0.2 192.168.0.3"
  1274. #dns_search_eth0="this.domain that.domain"
  1275. #dns_options_eth0="timeout:1 rotate"
  1276. #dns_sortlist_eth0="130.155.160.0/255.255.240.0 130.155.0.0"
  1277. # See the man page for resolv.conf for details about the options and sortlist
  1278. # directives
  1279.  
  1280. #ntp_servers_eth0="192.168.0.2 192.168.0.3"
  1281.  
  1282. #nis_domain_eth0="domain"
  1283. #nis_servers_eth0="192.168.0.2 192.168.0.3"
  1284.  
  1285. # NOTE: Setting any of these will stamp on the files in question. So if you
  1286. # don't specify dns_servers but you do specify dns_domain then no nameservers
  1287. # will be listed in /etc/resolv.conf even if there were any there to start
  1288. # with.
  1289. # If this is an issue for you then maybe you should look into a resolv.conf
  1290. # manager like net-dns/openresolv to manage this file for you. All packages
  1291. # that baselayout supports use net-dns/openresolv if installed.
  1292.  
  1293. #-----------------------------------------------------------------------------
  1294. # Cable in/out detection
  1295. # Sometimes the cable is in, others it's out. Obviously you don't want to
  1296. # restart net.eth0 every time when you plug it in either.
  1297. #
  1298. # netplug is a package that detects this and requires no extra configuration
  1299. # on your part.
  1300. # emerge sys-apps/netplug
  1301. # or
  1302. # emerge sys-apps/ifplugd
  1303. # and you're done :)
  1304.  
  1305. # By default we don't wait for netplug/ifplugd to configure the interface.
  1306. # If you would like it to wait so that other services know that network is
  1307. # up then you can specify a timeout here. A value of 0 means wait forever,
  1308. # and a negative value means never wait.
  1309. #plug_timeout_eth0="10"
  1310. # If you want to set it for all interfaces:
  1311. #plug_timeout="10"
  1312.  
  1313. # If you don't want to use netplug on a specific interface but you have it
  1314. # installed, you can disable it for that interface via the modules statement
  1315. #modules_eth0="!netplugd"
  1316. # You can do the same for ifplugd
  1317. #
  1318. # You can disable them both with the generic plug
  1319. #modules_eth0="!plug"
  1320.  
  1321. # To use specific ifplugd options, fex specifying wireless mode
  1322. #ifplugd_eth0="--api-mode=wlan"
  1323. # man ifplugd for more options
  1324.  
  1325. #-----------------------------------------------------------------------------
  1326. # Interface hardware tuning & configuration via ethtool
  1327. # If you need to change explicit hardware settings on your network card prior
  1328. # to bringing the interface up, the following is available.
  1329. #
  1330. # For a full listing of settings, please consulting ethtool(8) and the output
  1331. # of "ethtool --help".
  1332. #
  1333. # Multiple entries (seperated by newlines) are supported in all of the
  1334. # variables as some settings cannot be changed at the same time.
  1335. #
  1336. # Valid variable name fragments: change pause coalesce ring offload
  1337. # change_eeprom identify nfc flash rxfh_indir ntuple
  1338.  
  1339. # Set Wake-On-Lan to listen for SecureOn MagicPacket(tm), the message level to
  1340. # notify us of WOL changes, and the SecureOn password to 'DE:AD:BE:EF:CA:FE'.
  1341. #ethtool_change_eth0="wol gs
  1342. #msglvl wol on
  1343. #sopass DE:AD:BE:EF:CA:FE"
  1344.  
  1345. # Disable pause auto-negotiation and explicitly enable RX and TX pause.
  1346. #ethtool_pause_eth0="autoneg off
  1347. #rx on tx on"
  1348.  
  1349. # Enasble adaptive RX and TX coalescing
  1350. #ethtool_coalesce_eth0="adaptive-rx on adaptive-tx on"
  1351.  
  1352. # Change ring buffer settings
  1353. #ethtool_ring_eth0=""
  1354.  
  1355. # Enable all offload settings
  1356. #ethtool_offload_eth0="rx on tx on sg on tso on ufo on gso on gro on lro on"
  1357.  
  1358. # Change specific bytes in the EEPROM
  1359. #ethtool_change_eeprom_eth0=""
  1360.  
  1361. # Run the identify sequence on the interface for 1 second (does not return until completion)
  1362. #ethtool_identify_eth0="1"
  1363.  
  1364. # Configure receive network flow classification
  1365. #ethtool_nfc_eth0="
  1366. #rx-flow-hash tcp4 f
  1367. #rx-flow-hash udp4 s"
  1368.  
  1369. # Flash firmware to all regions
  1370. #ethtool_flash_eth0="/some/path/firmware1 0"
  1371.  
  1372. # Flash firmware to region 1
  1373. #ethtool_flash_eth0="/some/path/firmware2 1"
  1374.  
  1375. # Set receive flow hash indirection table for even balancing between N receive queues
  1376. #ethtool_rxfh_indir_eth0="equal 4"
  1377.  
  1378. # Configure Rx ntuple filters and actions
  1379. #ethtool_ntuple_eth0=""
  1380.  
  1381. # Additionally, there is a special control variable, if you need to change the
  1382. # order of option processing. The default order is:
  1383. # flash change-eeprom change pause coalesce ring offload identify nfc rxfh-indir ntuple
  1384.  
  1385. # Set global order to default
  1386. #ethtool_order="flash change-eeprom change pause coalesce ring offload identify nfc rxfh-indir ntuple"
  1387.  
  1388. # Hypothetical network card that requires a change-eeprom toggle to enable flashing
  1389. #ethtool_order_eth0="change-eeprom flash change pause coalesce ring offload nfc rxfh-indir ntuple"
  1390.  
  1391. #-----------------------------------------------------------------------------
  1392. # Firewalld support
  1393. # If you are using the firewalld daemon to configure your firewall
  1394. # settings and you have specific zones you want to apply to your
  1395. # interfaces, you can do this here.
  1396. #firewalld_zone_eth0="myzone"
  1397.  
  1398. #-----------------------------------------------------------------------------
  1399. # Wireguard support
  1400. #
  1401. # Wireguard can be configured either by passing a config file
  1402. #wireguard_wg0="/path/to/file.conf"
  1403. #
  1404. # Wireguard can also be configured by passing explicit settings
  1405. #wireguard_wg0="private-key /path/to/whatever listen-port 1234 peer ABCDEF= endpoint 1.2.3.4:2468"
  1406.  
  1407. ##############################################################################
  1408. # ADVANCED CONFIGURATION
  1409. #
  1410. # Four functions can be defined which will be called surrounding the
  1411. # start/stop operations.  The functions are called with the interface
  1412. # name first so that one function can control multiple adapters. An extra two
  1413. # functions can be defined when an interface fails to start or stop.
  1414. #
  1415. # The return values for the preup and predown functions should be 0
  1416. # (success) to indicate that configuration or deconfiguration of the
  1417. # interface can continue.  If preup returns a non-zero value, then
  1418. # interface configuration will be aborted.  If predown returns a
  1419. # non-zero value, then the interface will not be allowed to continue
  1420. # deconfiguration.
  1421. #
  1422. # The return values for the postup, postdown, failup and faildown functions are
  1423. # ignored since there's nothing to do if they indicate failure.
  1424. #
  1425. # ${IFACE} is set to the interface being brought up/down
  1426. # ${IFVAR} is ${IFACE} converted to variable name bash allows
  1427. #
  1428. # For historical and compatibility reasons, preup is actually normally called
  1429. # in the following sequence: up ; preup ; up.
  1430. # The first up causes the kernel to initialize the device, so
  1431. # that it is available for use in the preup function.  However, for some
  1432. # hardware, e.g. CAN devices, some configuration is needed before trying to up
  1433. # the interface will actually work. For such hardware, the
  1434. # up_before_preup variables will allow skipping the first up call if set
  1435. # to yes.
  1436. #up_before_preup_IFVAR="NO"
  1437. #up_before_preup="NO"
  1438.  
  1439. #preup() {
  1440. #    # Test for link on the interface prior to bringing it up.  This
  1441. #    # only works on some network adapters and requires the
  1442. #    # sys-apps/net-tools package to be installed.
  1443. #    if mii-tool "${IFACE}" 2> /dev/null | grep -Fq 'no link'; then
  1444. #        ewarn "No link on ${IFACE}, aborting configuration"
  1445. #        return 1
  1446. #    fi
  1447. #
  1448. #    # Test for link on the interface prior to bringing it up.  This
  1449. #    # only works on some network adapters and requires the ethtool
  1450. #    # package to be installed.
  1451. #    if ethtool "${IFACE}" | grep -Fq 'Link detected: no'; then
  1452. #        ewarn "No link on ${IFACE}, aborting configuration"
  1453. #        return 1
  1454. #    fi
  1455. #
  1456. #    # Test to see if we're docked or not and configure like so
  1457. #    # config_docked="dhcp"
  1458. #    if grep -Fq "1" /sys/devices/platform/dock.0/docked; then
  1459. #       einfo "${IFACE} is docked - configuring"
  1460. #        _configure_variables "docked"
  1461. #    fi
  1462. #
  1463. #    # Remember to return 0 on success
  1464. #    return 0
  1465. #}
  1466.  
  1467. #predown() {
  1468. #    # The default in the script is to test for NFS root and disallow
  1469. #    # downing interfaces in that case.  Note that if you specify a
  1470. #    # predown() function you will override that logic.  Here it is, in
  1471. #    # case you still want it...
  1472. #    if is_net_fs /; then
  1473. #        eerror "root filesystem is network mounted -- can't stop ${IFACE}"
  1474. #        return 1
  1475. #    fi
  1476. #
  1477. #    # Remember to return 0 on success
  1478. #    return 0
  1479. #}
  1480.  
  1481. #postup() {
  1482. #    # This function could be used, for example, to register with a
  1483. #    # dynamic DNS service.  Another possibility would be to
  1484. #    # send/receive mail once the interface is brought up.
  1485. #}
  1486.  
  1487. #postdown() {
  1488. #    # Enable Wake-On-LAN for every interface except for lo
  1489. #    # Probably a good idea to set ifdown="no" in /etc/conf.d/net
  1490. #    # as well ;)
  1491. #    [ "${IFACE}" != "lo" ] && ethtool -s "${IFACE}" wol g
  1492. #    # Return 0 always
  1493. #    return 0
  1494. #}
  1495.  
  1496. #failup() {
  1497. #       # This function is mostly here for completeness... I haven't
  1498. #       # thought of anything nifty to do with it yet ;-)
  1499. #}
  1500.  
  1501. #faildown() {
  1502. #       # This function is mostly here for completeness... I haven't
  1503. #       # thought of anything nifty to do with it yet ;-)
  1504. #}
  1505.  
  1506. # You should note that we don't stop the network at system shutdown by default.
  1507. # If you really need this, then set keep_network=NO
  1508.  
  1509. config_wlan0="dhcp"
captcha