Difference between revisions of "Installing Kubuntu 18.04"

From Applied Optics Wiki
Jump to: navigation, search
 
(3 intermediate revisions by 2 users not shown)
Line 27: Line 27:
 
                   enp*s*1:
 
                   enp*s*1:
 
                         dhcp4: no
 
                         dhcp4: no
                         addresses: [128.243.74.xx/24]
+
                         addresses: [128.243.74.***/24]
 
                         gateway4: 128.243.74.254
 
                         gateway4: 128.243.74.254
 
                         nameservers:
 
                         nameservers:
Line 33: Line 33:
  
 
                   enp*s*2:
 
                   enp*s*2:
                       addresses: [192.168.74.xx/24]</pre>
+
                       addresses: [192.168.74.***/24]</pre>
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.
+
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 at the exact position, or <code>sudo netplan apply</code> would return error.
 
* Make sure you do <code>sudo apt-get install tcsh openssh-client openssh-server</code> before asking help from the software fairy!
 
* Make sure you do <code>sudo apt-get install tcsh openssh-client openssh-server</code> before asking help from the software fairy!
 +
 +
* If you can not see your home directory, do
 +
<pre> systemctl add-wants multi-user.target rpcbind.service</pre>
 +
which simply mean rpcbind must start first.

Latest revision as of 10:18, 30 August 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.***/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.***/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 at the exact position, or sudo netplan apply would return error.

  • Make sure you do sudo apt-get install tcsh openssh-client openssh-server before asking help from the software fairy!
  • If you can not see your home directory, do
 systemctl add-wants multi-user.target rpcbind.service

which simply mean rpcbind must start first.