Difference between revisions of "Installing Kubuntu 18.04"

From Applied Optics Wiki
Jump to: navigation, search
Line 25: Line 25:
 
         renderer: networkd
 
         renderer: networkd
 
         ethernets:
 
         ethernets:
                   enp*s*:
+
                   enp*s*1:
 
                         dhcp4: no
 
                         dhcp4: no
 
                         addresses: [128.243.74.xx/24]
 
                         addresses: [128.243.74.xx/24]
Line 32: Line 32:
 
                                     addresses: [128.243.40.11,128.243.40.12,128.243.21.19]
 
                                     addresses: [128.243.40.11,128.243.40.12,128.243.21.19]
  
                   enp*s*:
+
                   enp*s*2:
 
                       addresses: [192.168.74.12/24]</pre>
 
                       addresses: [192.168.74.12/24]</pre>
And <code>sudo netplan apply</code>. Use space instead of tab for each line, and has to be the exactly position, or <code>sudo netplan apply</code> would return error.
+
where enp*s*1 for internet and enp*s*2 for a local network. And run <code>sudo netplan apply</code>. Use space instead of tab for each line, and has to be the exactly position, or <code>sudo netplan apply</code> would return error.

Revision as of 14:56, 10 May 2019

Few changes to 18.04

  • Network order has been somewhat fixed, you can use the network manager to set IP address/gateway/etc
  • SDDM is now an issue (formally KDM) - it loads before ubuntu has a chance to get NIS users. Additionally, it logs out users after a couple of minutes of use - can't figure why (possible graphics issue? not being able to immediately do something with users passwd/profile?). It is definitely not a power saving problem.
    • Fix for this is to use lightdm

sudo apt-get install lightdm-gtk-greeter lightdm

  • IS had changed some gateway settings, here's the new set of addresses to use for interfaces;
auto enp*s*
iface enp*s* inet static
address 128.243.74.***
netmask 255.255.255.0
gateway 128.243.74.254
dns-nameservers 128.243.40.11 128.243.40.12 128.243.21.19
  • To get a local (lab) network working (with devices that can set their own IP and point to 192.168.74.1 as the gateway), add this to interfaces;
auto enp*s*
iface enp*s* inet static
address 192.168.74.1
netmask 255.255.255.0
  • Restart networking using sudo systemctl restart networking
  • In some cases network doesn't work with this setting, use netplan instead: make sure /etc/netplan/01-network-manager-all.yaml is like this:
network:
        version: 2
        renderer: networkd
        ethernets:
                  enp*s*1:
                        dhcp4: no
                        addresses: [128.243.74.xx/24]
                        gateway4: 128.243.74.254
                        nameservers:
                                    addresses: [128.243.40.11,128.243.40.12,128.243.21.19]

                  enp*s*2:
                      addresses: [192.168.74.12/24]

where enp*s*1 for internet and enp*s*2 for a local network. And run sudo netplan apply. Use space instead of tab for each line, and has to be the exactly position, or sudo netplan apply would return error.