Tag Archives: ubuntu

Connect Bose QC35 to Ubuntu 16.04

1 /etc/bluetooth/main.conf

# Restricts all controllers to the specified transport. Default value
# is “dual”, i.e. both BR/EDR and LE enabled (when supported by the HW).
# Possible values: “dual”, “bredr”, “le”
ControllerMode = bredr

Restart bluethooth service afterwards: sudo /etc/init.d/bluetooth restart

After the pairing you may put the config back to “dual”.  Only pairing seems to be affected.

2 Headphones to pair mode

Slide button 2s or use their app (assuming already paired with your phone).

3 Settings -> Bluetooth -> +

Click on PIN options and select Fixed PIN Do not pair.

4 Connect again in side bar

5 Sound setting to High Fidelity

Install Nvidia GTX 2080 driver on Ubuntu 16.04

  1. sudo vim /etc/default/grub # to change "quiet splash" to "quiet nosplash"
  2. sudo update-grub
  3. reboot
  4. (Press ESC)
  5. Select ubuntu recovery mode, enable networking, then root terminal.
  6. sudo add-apt-repository ppa:graphics-drivers (if you haven't already)
  7. sudo apt purge nvidia* (if you tried installing already)
  8. sudo apt install nvidia-418 (nvidia-430 doesn't work with lightdm yet)
  9. You may need to sudo systemctl stop lightdm
  10. nvidia-smi (check your version is correct)

Dual Networks Profiles Ubuntu 18.04

The setup

I have 2 network adapters, a 10G and a 1G network. In order to connect to both networks, you must have two profiles.

Two profiles: 10G and 1G profile, across 2 adapters.

If you have a single profile, then changing settings for one network adapter will also affect the other. In Ubuntu's Network UI, this is non-obvious.

Once setup correctly, you can verify by being able to ping both networks.

jsun@computer ~ [1]> ping 192.168.1.200
PING 192.168.1.200 (192.168.1.200) 56(84) bytes of data.
64 bytes from 192.168.1.200: icmp_seq=1 ttl=128 time=0.338 ms
64 bytes from 192.168.1.200: icmp_seq=2 ttl=128 time=0.172 ms
^C
--- 192.168.1.200 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1028ms
rtt min/avg/max/mdev = 0.172/0.255/0.338/0.083 ms

jsun@computer ~> ping 10.10.50.1
PING 10.10.50.1 (10.10.50.1) 56(84) bytes of data.
64 bytes from 10.10.50.1: icmp_seq=1 ttl=64 time=0.585 ms
64 bytes from 10.10.50.1: icmp_seq=2 ttl=64 time=0.226 ms
^C
--- 10.10.50.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1022ms
rtt min/avg/max/mdev = 0.226/0.405/0.585/0.180 ms