2023年8月29日 星期二

Change the hard disk controller mode (IDE, AHCI or RAID)

SATA Mode 一定要 AHCI in 5a88

 https://us.informatiweb.net/tutorials/it/bios/change-the-hard-disk-controller-mode.html


Secure Boot control →「已關閉」


可開機裝置控制 →「僅限傳統韌體」

2023年8月25日 星期五

在win10下 網路芳鄰無法進入

 

adapted from

https://learn.microsoft.com/zh-tw/windows-server/storage/file-server/troubleshoot/detect-enable-and-disable-smbv1-v2-v3?tabs=server

以下均在powersheel下操作

SMBv1

detect
Get-SmbServerConfiguration | Select EnableSMB1Protocol

禁用
Set-SmbServerConfiguration -EnableSMB1Protocol $false

active
Set-SmbServerConfiguration -EnableSMB1Protocol $true


SMB v2/v3

detect
Get-SmbServerConfiguration | Select EnableSMB2Protocol

禁用
Set-SmbServerConfiguration -EnableSMB2Protocol $false

active
Set-SmbServerConfiguration -EnableSMB2Protocol $true

2023年8月5日 星期六

install mpeg-4 aac And h.264 redocoder in ubuntu2204

sudo apt-get install ubuntu-restricted-extras

==>press 確定

      press  yes

reference from https://www.geeksforgeeks.org/how-to-install-the-mpeg-4-aac-decoder-and-the-h-264-decoder-in-ubuntu/

在kali內 insatll metasploit

 reference from  https://www.jianshu.com/p/021b1399434c

1.==>  sudo apt-get remove metasploit-framework



2.在 /etc/apt/sources.list 加上兩段 

deb http://http.kali.org/kali kali-rolling main contrib non-free

deb-src http://http.kali.org/kali kali-rolling main contrib non-free


3.  sudo apt-get update

4. sudo apt-get install metasploit-framework

5. msfconsole

2023年8月4日 星期五

ubuntu2204 增加倉頡輸入法

 reference from 

https://ivonblog.com/posts/ubuntu-fcitx5/

mtd devicemust be supplied 及 dev/nvme01p2: clean


 1.mtd devicemust be supplied 

   reference from https://wealthquint.com/fix-mtd-device-must-be-supplied-device-name-is-empty-59352/#google_vignette

      1)While booting your PC, press and hold SHIFT( ESC).

      2)advanced options for ubuntu recovery mode

      3)chose network

      4)chose root

          then type

         apt-get update

         apt-get upgrade

        apt-get dist-upgrade

        root


2.dev/nvme01p2: clean

    reference from 

    https://wealthquint.com/fix-mtd-device-must-be-supplied-device-name-is-empty-59352/#google_vignette

    https://stackoverflow.com/questions/68124511/booting-error-dev-sda2-clean-files-blocks

    ubuntu-drivers devices

    ubuntu 22.04LTS with nvidia rtx 3060 not working( (NVidia Geforce RTX 3060, Ubuntu 22.04, Asus Tuf)

     ubuntu-drivers devices


   

     apt-get install nvidia-driver-535