Author Archives: Sean

Fix “the app required specific feature not available on the device” and install fitness on iPad

First of all, Not all devices support Fitness app, please check apple doc for more information.

And I’m using Ipad Air 2 which in on the support list, but when try to install Fitness app, I still got error “the app required specific feature not available on the device”.

After investigation, I found out that to install Fitness App on iPad, you need to meet below requirements:

  1.  You have an apple watch paired with an iPhone.
  2.  Home app is installed on both iPhone and iPad. If you removed them like me, install them back. And then open the Home app.
  3. If different apple IDs are used on your iPhone and iPad, (for example, the iPad is for my daughter so it’s using my daughter’s apple ID). go to Home App and add both IDs into the same home. Then reboot both iPhone and iPad

Then you should be able to install Fitness App on iPad now.

 

NBN Unifi USG 3P PPPOE settings

I just switched my NBN from Telstra to Spintel.

Telstra is using DHCP while Spintel is using PPPOE. But when I configure the usrename and password for my WAN, USG can’t connect to internet.

Spent lots of time to troubleshot this issue, and then I notice that there is a log on USG

Oct 29 14:49:25 USG pppd[8094]: pppd 2.4.4 started by root, uid 0
Oct 29 14:49:25 USG pppd[8094]: Failed to create PPPoE socket: Protocol not supported
Oct 29 14:49:37 USG xl2tpd[8208]: setsockopt recvref[30]: Protocol not available

Then I realize it’s a driver issue. Looks like USG won’t load PPPOE driver without a restart. So if you are using DHCP in the past, after you change to PPPOE, you need to restart your USG.

After restart USG, all good.

Windows shown as “No internet” when it can access internet

Windows is running DNS and HTTP test against www.msftconnecttest.com  to check if it has internet connection or not. So if your internet can’t access this website, for example, in China, sometimes this domain is hijacking by GFW, then windows will show as no internet connect.

A quick fix is to disable Active Probe via modify registry.

Change below value from 1 to 0 to disable Active Probe

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NlaSvc\Parameters\Internet 的 EnableActiveProbing 

Upgrade to Windows 10 20H1 (2004) BSOD

Today when I tried to upgrade my windows 10 1909 to windows 10 20H1, I got multiple BSOD.
Based on the information on the BSOD screen, the BSOD were caused by some drivers (aksdf.sys, hardlock.sys, aksfridge.sys)

bsod 1

bsod 2)

After investigation, looks like all these drivers were Sentinel Data Filter Device Driver/Aladdin HASP Data Filter Device Driver, Which provided by Safenet.
I have no idea how these driver got installed into my computer, and I can’t remove them from control panel.

The fix is to download the Sentinel HASP/LDK Windows GUI Run-time Sentinel HASP/LDK Windows GUI Run-time from thalesgroup website

Install, then uninstall it, reboot.

After reboot, I can upgrade to windows 10 20H1 successfully.

Install certificate for Unifi Controller

1. Request certificate. I saved my certificate as unifi2020.crt and unifi2020.key
2. Replace certificate on unifi controller

openssl pkcs12 -export -inkey unifi2020.key -in unifi2020.crt -out unifi.p12 -name unifi  -password pass:temppass
keytool -importkeystore -deststorepass aircontrolenterprise -destkeypass aircontrolenterprise -destkeystore /var/lib/unifi/keystore -srckeystore unifi.p12 -srcstoretype PKCS12 -srcstorepass temppass -alias unifi -noprompt

3. Restart unifi

/etc/init.d/unifi restart