首页 » Archive by category 'OS'

树莓派 Raspbian 家长控制

lesca | RaspberryPi, Tutorials | 2017-10-17
功能说明 该脚本能够监控指定网络设备,如网络电视、机顶盒等,访问树莓派,不限服务(包括SMB, NFS等)。典型场景是机顶盒访问树莓派文件共享服务。 该脚本使网络设备只能在一段时间内,默认1小时,访问树莓派,之后冷却1小时,以防止过度访问。 该脚本需要经过需改,才可以部署到OpenWRT等依赖ash的网络设备中。 准备工作 改下面两个文件: 一是将... [阅读全文]

Windows 10 1709 那些值得注意的变化

lesca | Tutorials, Windows | 2017-10-16
Win10 1709的 Get-WindowsUpdateLog 不再需要联网获取符号库 https://blogs.technet.microsoft.com/mniehaus/2017/10/10/improved-windows-update-log-formatting-with-windows-10-1709/ Win10 1703默认全新安装时不含SMB v1服务器端和客户端: https://support.microsoft.com/en-us/help/4034314/smbv1-is-not-installed-by-default-in-windows-10-r... [阅读全文]

screenrc configuration example

lesca | CentOS, Tutorials | 2017-08-10
This is an example of .screenrc configuration file. Just for your reference. .screenrc # Bind F11 and F12 (NOT F1 and F2) to previous and next screen window bindkey -k F1 prev bindkey -k F2 next startup_message off # Screens screen -t Init screen -t Work screen -t OpenWRT ssh -i /root/key 192.168.1.1 select 0 ... [阅读全文]

Mount VHD at Windows startup with PowerShell

lesca | Troubleshoot, Tutorials, Windows | 2017-05-29
Create a scheduled task Command: %SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe Parameter: -ExecutionPolicy ByPass -file "C:\VHD\mountVHD.ps1" Powershell Script to mount VHD Method1: Mount-DiskImage (Recommended) This is the recommended command to mound VHD as it does not rely on the Hyper-V role. Mount-DiskIma... [阅读全文]

The trust relationship between this workstation and the primary domain failed

lesca | Windows | 2017-05-23
Introduction You might have encountered this error message many times: “The trust relationship between this workstation and the primary domain failed”. The general solution is dis-joining and re-joining the domain. Any other ways without doing so? The answer is yes. Error message The trust relationship between thi... [阅读全文]

WDS PXE issue: PXE-E16: No offer received

lesca | Windows | 2016-12-25
WDS PXE issue: PXE-E16: No offer received
Issue Description: The problem server installed the follwing roles: WDS DHCP WSUS RRAS (Route and Remote Access Service) The WDS service is configured with Active Directory integrated, everything seems configured correctly. But a Hyper-V Gen2 VM client is not possible to boot with PXE. Message is "DHCP failed". If you redir... [阅读全文]

Test Peer to Peer Connection Speed with iperf3

lesca | CentOS, Tutorials, Windows | 2015-04-08
Hi! I am writing to explain how to test your network connection between your client (Windows or Linux) and another client (say, a remote server). The tool is iperf version 3. You can find some useful explanations and examples on this French site: https://iperf.fr/ But the version stays at 2 which does not have some amazing ne... [阅读全文]
ė 6Comments Off on Test Peer to Peer Connection Speed with iperf3 0,

FreeRadius3 of CentOS7: [sql] = notfound

lesca | CentOS, Troubleshoot | 2015-03-04
Problem (0) sql : expand: "%{User-Name}" -> 'demo' (0) sql : SQL-User-Name set to 'demo' rlm_sql (sql): Reserved connection (4) (0) sql : expand: "SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id" -> 'SELECT id, username, attribute, value, op FROM radchec... [阅读全文]
ė 6Comments Off on FreeRadius3 of CentOS7: [sql] = notfound 0,

加速WEB访问:使用DNSmasq与squid代理并过滤广告

lesca | CentOS, Tutorials | 2015-02-07
简介 DNSmasq是一个小巧且方便地用于配置DNS和DHCP的工具,适用于小型网络,提供了DNS功能和可选择的DHCP功能。通过其DNS缓存的功能,可以大大提高公共网络中的域名解析速度,从而提升网站访问速度。 squid代理服务提供了WEB页面缓存的功能,也可以帮助用户加速网站的访问,还能进行必要的行为管控(如禁止访问某些网站、过滤网页中的某些内容等)。本... [阅读全文]
ė 6Comments Off on 加速WEB访问:使用DNSmasq与squid代理并过滤广告 0, , ,

CentOS 7 安装wordpress 权限问题

lesca | CentOS | 2014-12-23
CentOS 7 安装wordpress 权限问题
如果你的wordpress安装目录是wordpress,则通过默认向导配置会出现权限不足的情况: Sorry, but I can’t write the wp-config.php file. You can create the wp-config.php manually and paste the following text into it. 或者 抱歉,但是向导在您的文件系统中没有足够的权限写入wp-config.php文件。 这时候,首先考虑wordpress文件夹的所属... [阅读全文]
Ɣ回顶部