Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
blocks:server:advanced_server_configuration:advanced_network_configuration [2019-10-25 14:30]
mattias
blocks:server:advanced_server_configuration:advanced_network_configuration [2019-10-25 15:27] (current)
admin Note on interface name variability
Line 10: Line 10:
  
 <code> ls /etc/netplan/ </code> <code> ls /etc/netplan/ </code>
- 
 To edit a file: To edit a file:
- 
 <code> sudo nano /etc/netplan/[yourfile.yaml]</code> <code> sudo nano /etc/netplan/[yourfile.yaml]</code>
  
Line 26: Line 24:
       dhcp4: true       dhcp4: true
             </code>             </code>
-             +                    
-             + :!: The name //enp3s0// shown above may vary with your hardware. See available network interfaces on your computer using the //ifconfig// command line program. 
- :!: Please have a look at more advanced examles from the [[https://netplan.io/examples|Netplan website.]]+ 
 +Please have a look at more advanced examles from the [[https://netplan.io/examples|Netplan website.]]
            
  
 To apply a new setting with automatic rollback: To apply a new setting with automatic rollback:
 +
 +<code> sudo netplan try </code>
            
-     <code> sudo netplan try </code>+To apply a new setting: 
 + 
 +<code> sudo netplan apply </code>
            
-     To apply a new setting: +To get some debug information: 
-      + 
-     <code> sudo netplan apply </code> + <code> sudo netplan --debug try </code>
-      +
-     To get some debug information: +
-      +
-       <code> sudo netplan --debug try </code>+