Ubuntu 18.04.2 Ethernet Bonding

This question is quite unique and different from other guides and documentations out there.

I don’t see any point in bonding two NICs that are connected to the same source because if the source goes down, then bond0 will be rendered useless.

What I’m doing is, I’m trying to bond two NICs with each one having a different source (ISP) so it’s obvious that each one of them will have a different IP address, different gateway etc.

My question is: following almost “every guide” on the internet shows that bond0 needs to be static and i need to set an IP address for it as well as a gateway. How on earth am I supposed to set a static IP address with a static gateway FOR TWO DIFFERENT SOURCEs?

Can someone please explain this?

let’s say NIC1 have: IP_ADDRESS=192.168.1.3 GATEWAY=192.168.1.1

NIC2 have: IP_ADDRESS=192.168.2.14 GATEWAY=192.168.2.1

BOND0 should be static based on what? What am I supposed to write in /etc/network/interfaces

Ubuntu Server 18.04.2 stuck on boot after install

So I just installed Ubuntu Server 18.04.2 on VirtualBox, and during the install reboot, it froze at:

[ OK ] Reached target Cloud-init target 

I gave it 1GB of memory, 1 core of CPU, and 500GB of storage because it is for a home server I am setting up.

Should I wait for it, shut it down the hard way, or do something else?

Thank you in advance.

Ubuntu 18.04.2 boot stuck on purple screen after updates

Summary of Issue
Last Friday, I installed updates to Ubuntu 18.04 with sudo apt-get update && sudo apt-get upgrade. Some of these updates required a restart. Upon restart, after GRUB, boot got stuck on a purple screen before the Ubuntu logo/login. I can’t access the terminal at this step through Ctrl + Alt + F7/T/F1/F2 methods. Recovery mode does not work, and gets stuck at Loading initial ramdisk...

Attempts to Resolve
As stated above, recovery mode did not work.

  1. Attempted to use Boot Repair, this ran successfully but did not resolve the problem. Output from this attempt here.

  2. Next, I backed up some files then attempted a fresh install of 18.04.2. This worked, but as soon as I grabbed the ~400 MB of updates for this clean install, I encountered the same problem as before. I tried using both the Software Updater, and terminal. I’ve got no idea what update is breaking, here’s a full log of updates run.

  3. Saw what may be a related issue here: Ubuntu freeze on boot purple screen. Seeing that this user seemed to have an issue with kernel updates, I excluded kernel updates from running and tried again, still the same result as before.

So at this point, I’m at a loss as to how to proceed. I’m hoping I can get some help on this thread. Otherwise, I may need to downgrade to 16.04 or upgrade to 19.04…

New computer with Ubuntu 18.04.2 LTS will not connect in a useful way to Samsung Galaxy S7

When I plug in the phone into the computer and answer the prompt on the phone to give permission for the computer to read the information on the phone, the files window opens, but it is constantly loading, with no files or folders every showing up.

An lsusb at the command line generates this output:

Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 0bda:0316 Realtek Semiconductor Corp.
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 06cb:009a Synaptics, Inc.
Bus 001 Device 003: ID 5986:2113 Acer, Inc
Bus 001 Device 016: ID 04e8:6860 Samsung Electronics Co., Ltd Galaxy (MTP)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Any ideas?

Edit: I just discovered that if you wait long enough (maybe an hour?) the files and folders finally show up. Surely this must indicate some abnormality in connection? Also when navigating into a folder on the phone to see the contents it seems the long wait begins again.

Ubuntu 18.04.2 – L2TP Vpn do noes not save the edited credentials

If you create a L2TP Client and edit the credentials, the new password is not saved, I made a short video demonstrating this.

I tried with an actual VPN and I always got an authentication error because the password was not saved, the only workaround that I found is to delete the connection and create it again.

Video demo: https://youtu.be/SMvoPZdPg50?t=12

Ubuntu 18.04.2 LTS support for Intel Core M Processor

I never installed a Ubuntu Desktop on Intel Core M processor before and not even on current laptop. I am trying out Ubuntu 18.04 LTS. I am facing non-smooth animations of app drawer and stuttering of UI. I came from windows 7 and laptop was working super fast with aero enabled.

System Details
Ubuntu 18.04.2 LTS
enter image description here

Wayland vs Xorg & Lightdm vs gdm3
I dig a little bit and found that there can be issues with wayland/xorg or lightdm/gdm3 configurations. I read in a thread that wayland doesnot support old driver hence, switching back to xorg would fix the issue.
Another article point out to use open source drivers in wayland configuration because vendor drivers does not support wayland as it is pre-mature right now.

System Monitor
In anther thread it was suggested to remove system monitor as It was causing stuttering. I checked my cpu usage and it was 100% for 1 core. So, I removed it.

Remove xorg/ubuntu-desktop – dist-upgrade – Re-install xorg/ubuntu-desktop
I tried fixes like as mentioned here:
1- remove xorg
2- dist-upgrade
3- install ubuntu-desktop

and disabled the wayland
1- disabled wayland in gdm3 custom.conf

Currently, I am running on xorg configuration and I am still feeling that experience is bit laggy. I am suspecting that it might be issue with Core M processor or I need to install the correct drivers.

I need community input on this as to have some pointers to move forward with experiments.

Ubuntu 18.04.2 LTS – Other side can’t hear from headset

When i plugin headset in the jack and open any audio/video, I’m able to hear the audio being played. While when i connect to skype, bluejeans and do audio testing, i am unable to hear my own voice. Unfortunately one of my interview was messed out due to this issue. Can you please help me and let me know if you need any other details?

I’ve tried multiple links here and here as well but that didn’t helped. Volume under settings – sound – input and output are full and not mute.

Ubuntu Server 18.04.2 LTS Raspberry Pi3b+ can’t boot/install

I’ve a Rasberry Pi 3b+ and want to run ‘Ubuntu Server 18.04.2 LTS’ on it. I downloaded the ‘ubuntu-18.04.2-live-server-amd64.iso’ and used Etcher to put that onto my microSD card.

I unmounted it than and tryed to start the Raspberry Pi after I inserted the card into the device.

The green LED has flashed a few times, but stopped after about 20 secounds. The Monitor didn’t show anything, and only the red LED shined.

Sorry for grammar mistakes, Google Translator helped me a littlebit. Thank you for fast answer

Jack