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

terça-feira, 28 de março de 2017

Reset SA Password for SQL Server Express 2008 R2


Things you need to have:


  • SQL Server Configuration Manager
  • Microsoft SQL Server Management Studio 2008
  • Administrator Login on the computer


1. Log on to the computer as an Administrator (or Any user with administrator privileges)

2. Open "SQL Server Configuration Manager"

3. Click "SQL Server Services" on the left pane

4. Stop "SQL Server" and "SQL Server Agent" instance on the right pane if it is running

5. Run the SQL Express in single-user mode by right clicking on "SQL Server" instance -> Properties.
5.1. Click Advanced Tab, and look for "Startup Parameters". Change the "Startup Parameters" so that the new value will be -m; (without the <>)
example:
from: -dc:\Program Files\Microsoft SQL.............(til end of string)
to: -m;-dc:\
Program Files\Microsoft SQL.............(til end of string)

6. Start the SQL Server

7. Open your MS SQL Server Management Studio and log on to the SQL server with "Windows Authentication" as the authentication mode. Since we have the SQL Server running on single user mode, and you are logged on to the computer with Administrator privileges, you will have a "sysadmin" access to the database.

8. Expand the "Security" node on MS SQL Server Management Studio on the left pane
8.1 Expand the "Logins" node
8.2 Double-click the 'sa' login

9. Change the password by entering a complex password if "Enforce password policy" is ticked, otherwise, just enter any password.

10. Make sure that "sa" Account is "enabled" by clicking on Status on the left pane. Set the radio box under "Login" to "Enabled"

11. Click "OK"

12. Back on the main window of MS SQL Server Management Studio, verify if SQL Server Authentication is used by right clicking on the top most node in the left pane (usually ".\SQLEXPRESS (SQL Server )") and choosing properties.
12.1 Click "Security" in the left pane and ensure that "SQL Server and Windows Authentication mode" is the one selected under "Server authentication"

13. Click "OK"

14. Disconnect from MS SQL Server Management Studio

15. Open "Sql Server Configuration Manager" again and stop the SQL Server instance.

16. Right-click on SQL Server instance and click on "Advanced" tab. Again look for "Startup Parameters" and remove the "-m;" that you added earlier.

17. Click "OK" and start the SQL Server Instance again

You should now be able to log on as "sa" using the new password that you have set in step 9.

quarta-feira, 15 de fevereiro de 2017

Windows 10 Active directory users and computers missing tabs

Credits to jletellier 

https://community.spiceworks.com/topic/1183656-missing-tabs-in-aduc-on-windows-10
 

I'm assuming you guys are running Windows 10 1511. I ran into this myself. Looks like you need to use an older version of the RSAT tool. The current tool offered by Microsoft is version 10.0.14393.347
The version that is working for me is 10.0.10585.0
They don't seem to be hosting it anywhere and it's the same KB#.
I've made it available on Google Drive
https://drive.google.com/file/d/0B-meMiJiVDGATkpyS3J0Q29yZ1U/view?usp=sharing

sexta-feira, 3 de fevereiro de 2017

error 0x80091007 - SCCM windows 10 image says no bootable image after setting up PC

using SCCM and a windows 10 image we get a failure message saying

"no bootable image"


It turns out to be:

Bios settings

1. change the disk type from legacy to uefi native ( for Windows 10 this is imperative)

2. check if the disk is pick up with a tick on boot devices

tick on PCIe/m.2 SSD boot

Working fine now!!

terça-feira, 27 de dezembro de 2016

boot from USB in Vmware Workstation

Finding to be difficult to boot from USB on a VM, so :

tricks:

download plop boot manager

added it to CD as an ISO ( VM settings)

stop VM noot with ESC key

boot VM and choose CD drive to Boot


after booted to plop, choose USB


http://www.howtogeek.com/97923/how-to-boot-a-vmware-virtual-machine-from-a-usb-drive/

sexta-feira, 23 de setembro de 2016

Problems with USB devices not connecting on VMware - Host Ubuntu 16.04


After installing VMware Horizon Client , VMware Workstation for somehow loses usb devices capability.

Only way that I arranged was to delete horizon and reisntall VMware WORstation 12

remove Horizon:

 sudo vmware-installer --uninstall-product vmware-horizon-client 4.0.1.3698616



1. uninstall Workstation
2.  then install it again


1.  sudo ./VMware-Workstation-Full-12.1.1-3770994.x86_64.bundle -u vmware-workstation


2. bruno@ubuntu-PC:~/Downloads$

sudo ./VMware-Workstation-Full-12.1.1-3770994.x86_64.bundle