Bài đăng

Đang hiển thị bài đăng từ Tháng 9, 2022

Linux mount file iso cd

Nếu trên máy ảo, bạn set iso file vào cdroom rồi nhưng trong OS guest không tự mount, thì ta có thể gõ lệnh sudo mount -t iso9660 /dev/cdrom /mnt/cdrom/

Alias cần thiết cho git

 File: ~/.gitconfig [alias] co = checkout ci = commit st = status br = branch hist = log --graph --pretty=format:'%C(red bold)%h%Creset %C(bold yellow)[%an]%Creset -%C(bold cyan)%d%Creset %s %C(bold green)(%cr)%Creset' --topo-order

Lỗi VPN tun device not found

Hình ảnh
  Wed May 15 09:54:57 2013 Socket Buffers: R=[212992->131072] S=[212992->131072] Wed May 15 09:54:57 2013 ERROR: Cannot open TUN/TAP dev /dev/net/tun: No such device (errno=19) Wed May 15 09:54:57 2013 Exiting due to fatal error > demaio:  I had the same problem with OpenVPN 2.3.1 AFAIK but because of a kernel update with pacman -Syu I had to reboot and the error was gone, but I am using systemd, so I don't know if this is related to the problem in your non-systemd setup. > Torxed:  Yepp, rebooting fixed the issue. kernel was updated by another tech and a reboot was all it took. modinfo tun shows all i needed to see to be happy and safe and openvpn runs  Giải pháp là chỉ cần reboot. Ref: https://bbs.archlinux.org/viewtopic.php?id=163377

EndeavourOS kêu beep rất to khi tắt máy

 Nếu bị tình trạng mỗi lần shutdown hoặc restart, máy tính đều phát beep rất to. Bạn hãy gõ lệnh sau. It's work! su -c 'modprobe -r pcspkr && echo "blacklist pcspkr" >> /etc/modprobe.d/50-blacklist.conf'