点滴记忆


  • Home

  • About

  • Tags

  • Categories

  • Archives

Enable MacbookAir Screen Brightness Control In Windows 10

Posted on 2020-06-26 | In MacOS

Enable Screen Brightness Control In Windows 10 (MacbookAir A1369)

After install Windows 10 and upgrage to 1803 or newer version, the F2/F3 key did not work anymore, and BootCamp can not work under new Windows 10. Here is the solution, just import below Reg into Windows 10 system:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Class\{4d36e968-e325-11ce-bfc1-08002be10318}\0000]
"EnableBrightnessControl"=dword:00000001

Install and reboot, F2/F3 should work.

Samba Join Windows 2016 AD as Domain Member (update)

Posted on 2020-03-01 | In Samba

Samba (Ubuntu 18.04) Join Windows 2016 AD as Domain Member

SAMBA.org has an easy understandabl wiki on wiki.samba.org:

[update]This URL as well:
https://wiki.samba.org/index.php/Setting_up_Samba_as_a_Domain_Member

Clean Previous Installation and config

If you have install and config before, better do below step for a clean setup to avoid mess:
a. Verify no any Samba related processes are running:

#ps ax | egrep "samba|smbd|nmbd|winbindd"

Shutdown those process if listed.

b. Backup smb.conf if needed, to list the path to the file, enter:

#smbd -b | grep "CONFIGFILE"

c. Remove all Samba database files, such as *.tdb and *.ldb. To list the folders containing Samba databases:

#smbd -b | egrep "LOCKDIR|STATEDIR|CACHEDIR|PRIVATE_DIR"
Software need installed
apt install samba krb5-config krb5-user winbind libpam-winbind libnss-winbind cifs-utils smbclient
Read more »

Asterisk on OpenWRT

Posted on 2020-02-09 | In Asterisk

Asterisk on OpenWRT

2020春节因为新型肺炎的疫情,在家要呆😳近20天,于是把一直想折腾的VoIP on OpenWRT完成。参考了配置EPON家庭网关接入中国电信电话交换IP网络及其另外一篇博文,但一些设置没法同样实现。

1. 准备工作

1.1 网络拓扑

光纤是电信的,光猫是ZTE的F450G,桥接到X86的OpenWRT(ver:19.07.1)拨号上网,同时设置VLAN接入电信IPTV。F450G的一个LAN口接软路由的WAN(物理eth0)口,F450G的LAN保留192.168.1.1,电信的模拟电话仍然接在F450G的电话口上;软路由的LAN使用192.168.10.x网段,物理eth0上建立一个新的连接DSL,ip地址是192.168.1.5:
网络拓扑

Read more »

ZFS Snapshot Remote Backup Using SSH with Non-root

Posted on 2017-10-08 | In ZFS

ZFS远程SSH非root用户备份

zfs could backup its dataset/filesystem by using command:

# zfs send tank/data@snap1 | zfs recv spool/ds01

You can also backup to another computer on the LAN/WAN with ssh encryption:

Read more »

Remote Manage Hyper-V Server

Posted on 2017-06-05 | In Hyper-V

Remote Hyper-V Server Management

When Windows 2016 Hyper-V server installed, most of firewall rules are set to off, which means you can not open File & Printer Share to the network etc, here are the tip to enable it.

Read more »

MySQL On ZFS On Ubuntu

Posted on 2017-06-02 | In ZFS

MySQL on ZFS on Ubuntu

For Ubuntu 16.04, ZFS was support natively, simply:

sudo apt install zfs

为了安装Typecho,需要安装MySQL和Apache (Nginx对Typecho的url支持有些问题,网上有教程,太复杂,直接Apache)。希望MySQL的数据库安装在ZFS上,由于InnoDB和ZFS缺省的Block Size不一样,可能有性能的问题(其实对个人网站影响可以忽略不计,生命贵在折腾),于是有以下的总结(参考www.antanst.com) :

Read more »

Ubuntu BCM94352HBM Driver

Posted on 2017-01-28

Ubuntu下BCM94352HBM的驱动安装

老的笔记本换了一块Asus BCM94352HMB的网卡,发现Ubuntu下不认,爬了一圈后,发现以下方法最简单:

Read more »
KOMELOO

KOMELOO

7 posts
5 categories
18 tags
GitHub
© 2017 — 2020 KOMELOO
Powered by Hexo
|
Theme — NexT.Mist v5.1.4