Changes

From SME Server
Jump to navigationJump to search
674 bytes added ,  11:30, 12 December 2024
no edit summary
Line 1,202: Line 1,202:     
* if needed reconfigure network using nm
 
* if needed reconfigure network using nm
 +
I set the network details in the setup screen but the device was not up on boot.
 +
 +
My main device was ens18 - YMMV
 +
cd /etc/sysconfig/network-scripts/ifcfg-ens18
 +
Set these:
 +
nmcli con mod ens18 connection.autoconnect yes # start on boot
 +
nmcli connection modify ens18 ipv4.routes "0.0.0.0/0 62.210.0.1" # My default route
 +
nmcli con mod ens18 ipv4.ignore-auto-dns yes # Use static DNS
 +
nmcli con mod ens18 ipv4.dns '8.8.8.8,8.8.4.4' # I found opendns was blocked on my server
 +
nmcli con mod ens18 ipv6.method ignore # Forget Ipv6 for now
 +
nmcli con up ens18
 +
Check:
 +
cat /etc/sysconfig/network-scripts/ifcfg-ens18
 +
 +
cat /etc/resolv.conf
 +
Or reboot.
    
* Disable SELinux
 
* Disable SELinux
Line 1,210: Line 1,226:     
* disable cockpit notice  
 
* disable cockpit notice  
  rm -f /etc/motd.d/cockpit
+
rm -f /etc/issue.d/cockpit.issue /etc/motd.d/cockpit
 +
 
 
* Install epel repo
 
* Install epel repo
 
  dnf install epel-release
 
  dnf install epel-release

Navigation menu