« Raspbian Commandes » : différence entre les versions

Aucun résumé des modifications
Ligne 46 : Ligne 46 :
=== Redémarrer unbound ===
=== Redémarrer unbound ===
  <span style="color: red;font-weight:bold;">sudo service unbound restart</font>
  <span style="color: red;font-weight:bold;">sudo service unbound restart</font>
=== dhcpcd ===
<code>sudo service dhcpcd status</code>
<pre>
/etc/dhcpcd.conf
</pre>
<pre>
static value
            Configures a static value.  If you set ip_address then dhcpcd will not attempt to obtain a lease and will just use the value for the address with an infinite lease time.  If you
            set ip6_address, dhcpcd will continue auto-configuration as normal.
            Here is an example which configures two static address, overriding the default IPv4 broadcast address, an IPv4 router, DNS and disables IPv6 auto-configuration.  You could also
            use the inform6 command here if you wished to obtain more information via DHCPv6.  For IPv4, you should use the inform ipaddress option instead of setting a static address.
                  interface eth0
                  noipv6rs
                  static ip_address=192.168.0.10/24
                  static broadcast_address=192.168.0.63
                  static ip6_address=fd51:42f8:caae:d92e::ff/64
                  static routers=192.168.0.1
                  static domain_name_servers=192.168.0.1 fd51:42f8:caae:d92e::1
            Here is an example for PPP which gives the destination a default route.  It uses the special destination keyword to insert the destination address into the value.
                  interface ppp0
                  static ip_address=
                  destination routers
</pre>


=== Lighttpd ===
=== Lighttpd ===