I am finally sick of using Network Manager on Ubuntu 18. It seems to make my Internet connection slower and I am constantly messing around trying to fix it. I used the command below to remove the Network Manager service.
4.4 Fri Aug 31 jason@Yog-Sothoth 0: $ sudo apt-get remove network-manager network-manager-gnome network-manager-pptp network-manager-pptp-gnome
Now I have setup my interfaces in /etc/network/interfaces manually with DHCP configured.
1 # interfaces(5) file used by ifup(8) and ifdown(8) 2 auto lo 3 iface lo inet loopback 4 auto enp0s25 5 iface enp0s25 inet dhcp 6
Now I run sudo ifup enp0s25
and the network interface comes right up. My Internet connection is way faster and it is more usable. This still allows my machine to get a dynamic IP address, but it is faster now. I am not sure why it is so bad, other people have had problems with this too: https://askubuntu.com/questions/1031144/extremely-slow-ethernet-connection-after-fresh-install-of-16-04. But this is one way to fix this issue. When I start up my machine now the network service is still running on boot, this starts my network interface, but there is no Network Manager. This means I have a nice fast Internet connection and DHCP works perfectly.
4.4 Mon Sep 03 jason@Yog-Sothoth 0: $ ps ax | grep network 1172 ? Ssl 0:00 /usr/bin/python3 /usr/bin/networkd-dispatcher --run-startup-triggers 4532 ? Sl 0:00 /usr/lib/gvfs/gvfsd-network --spawner :1.7 /org/gtk/gvfs/exec_spaw/1
So, this does work on Ubuntu 18. I have a nice fast connection and managing your connection can be done with Systemd and traditional services, just get rid of Network Manager.
This is my nice SSH banner that I have configured on my Linux system, this allows a user to read terms of use when logging into a remote system.
Last login: Fri Aug 31 10:25:45 on console deusexmachina:~ jason$ ssh jason@192.168.1.2 *************************************************************************** NOTICE TO USERS This computer system is the private property of its owner, whether individual, corporate or government. It is for authorized use only. Users (authorized or unauthorized) have no explicit or implicit expectation of privacy. Any or all uses of this system and all files on this system may be intercepted, monitored, recorded, copied, audited, inspected, and disclosed to your employer, to authorized site, government, and law enforcement personnel, as well as authorized officials of government agencies, both domestic and foreign. By using this system, the user consents to such interception, monitoring, recording, copying, auditing, inspection, and disclosure at the discretion of such personnel or officials. Unauthorized or improper use of this system may result in civil and criminal penalties and administrative or disciplinary action, as appropriate. By continuing to use this system you indicate your awareness of and consent to these terms and conditions of use. LOG OFF IMMEDIATELY if you do not agree to the conditions stated in this warning. **************************************************************************** jason@192.168.1.2's password: Welcome to Ubuntu 18.04.1 LTS (GNU/Linux 4.15.0-34-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage * Read about Ubuntu updates for L1 Terminal Fault Vulnerabilities (L1TF). - https://ubu.one/L1TF * Check out 6 great IDEs now available on Ubuntu. There may even be something worthwhile there for those crazy EMACS fans ;) - https://bit.ly/6-cool-IDEs * Canonical Livepatch is available for installation. - Reduce system reboots and improve kernel security. Activate at: https://ubuntu.com/livepatch 36 packages can be updated. 0 updates are security updates. Last login: Thu Aug 30 20:26:19 2018 |
Edit the /etc/ssh/sshd_config file and add this line.
Banner /etc/ssh/info |
Then enter the terms of use into that file, then the user will be greeted by the terms of use when logging into a system.