quinta-feira, 4 de abril de 2019

UBUNTU - copy connection profiles to another computer




As mentioned by others, Wi-Fi connection files in system-connections directory have the interface MAC address included. This need to match your current setup hence the procedure is:


copy all files from old machine to new machine from/to directory:
/etc/NetworkManager/system-connections


sudo cp -Ri /etc/NetworkManager/system-connections /media/bruno/Elements/bruno-ubuntuPC/system-connections/ 


Now on the new PC:


change MAC address entry in each file from old MAC to new MAC. As root:

cd /etc/NetworkManager/system-connections

sudo sed -i -e 's///' *


Just in case, restart network manager:systemctl restart NetworkManager


service network-manager restart








In the end:




change permissions:


sudo chmod 0600 *
sudo chown root:root *

quarta-feira, 3 de abril de 2019

Fan working non-stop on Ubuntu 18.04 DELL 5480

Fan working non-stop on Ubuntu 18.04 DELL 5480



Ubuntu 18.04 Bionic Beaver
Laptop: Dell 5480
CPU: Intel® Core™ i5


My solution steps (fans immediately shut off on last step):


Download .zip file (or git clone) to disable BIOS fan control for Dell laptops. 





Then, as root:

  • cd Downloads
  • unzip -t dell-bios-fan-control-master.zip (test zipfile; everything looked fine, so unzip files...)
  • unzip dell-bios-fan-control-master.zip
  • cd dell-bios-fan-control-master/
  • more Makefile (look what it's going to do; looks fine, so compile with...)
  • make



Compiled fine, so:
./dell-bios-fan-control 0 (turn off dell bios fan control)
BIOS CONTROL DISABLED


Fan was still idling around 2500rpm. Hmmm.. recalled post indicating uninstall then reinstall i8kutils with the same /etc/i8kutils.conf config file.


Uninstalled and reinstalled i8kutils with:
  • apt-get remove i8kutils
  • apt-get install i8kutils


Fan immediately stopped upon reinstalling i8kutils.


Looks like it's working. Fan turns on properly when cpu temp hits 55C then turns off quickly because fan came on at the high setting.


Will continue to monitor temperature and fan states with 'sensors' to ensure all is working as configured in /etc/i8kutils.conf







check the steps in :

https://askubuntu.com/questions/1029007/fan-working-non-stop-on-ubuntu-18-04