Sunday, November 19, 2017

Enable Wifi on Ubuntu Machine

Issue: The wifi is not working on Ubuntu machine. The network options shows
'Wifi  Disabled'

Solution:
1. Make sure your hardware wifi switch is enabled. Usually from keyboard you should be able to switch it on using Wifi symbol key (or with combination of function key and wifi key)

2. To verify if the wifi is blocked by hard or soft switches, you can by running th below command from terminal

Command:
user@machine:~$ rfkill list all
 Output:
0: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no
1: brcmwl-0: Wireless LAN
    Soft blocked: no
    Hard blocked: no

The output shows if soft or hard switches are blocking. If all of them shows no as shown above, that indicates that all look good. If not then see which one shows yes and use the below command.
Command:
user@machine:~$ sudo rfkill unblock all
Enter password and this will unblock the soft switch

If option 'hard blocked' in the output shows yes, that means the machine wifi hardware is disabled and you can enable it as described in point 1 above.





Wednesday, June 21, 2017

Citrix Receiver (.ica) does not launch

Issue: The Citrix Receiver file (lunch.ica) does nothing after clicking on it

Solution:
1. Go to default programs with the path: Control Panel\All Control Panel Items\Default Programs
2.      Click on “Associate a file type or protocol with a program” as depicted below:


3.  Locate .ica file in the loaded extensions, select it, and click on ‘Change program’ option as depicted below:

4.  Click ‘Look up for the program in pc’ and when the browse popup is open provide the path for wfcrun32.exe

Note: Usually if the Citrix was installed in C drive then the path of the program will be like below:
C:\Program Files (x86)\Citrix\ICA Client\wfcrun32.exe

5.   With the association of the above exe for .ica files, the citrix receiver should open the file properly now.

Friday, June 2, 2017

Files\Java\jdk1.8.0_131) was unexpected at this time.

The possible issue could be related to the JAVA_HOME environment variable value. If the value is referring to a path like below you will most likely get this kind of error.
Ex:
C:\Program Files\Java\jdk1.8.0_131

Solution (that worked for me): 

1. Change the JDK path as provided below:
     C:\Program~1\Java\jdk1.8.0_131

Note for Windows users on 64-bit systems
Progra~1 = 'Program Files'Progra~2 = 'Program Files(x86)'

Please refer the below link knowing more about setting the JAVA_HOME.
Site Link:  Set JAVA_HOME

Friday, February 3, 2017

CSS3114: @font-face failed OpenType embedding permission check. Permission must be Installable (Google Fonts Offline)

Error: CSS3114: @font-face failed OpenType embedding permission check. Permission must be Installable

Solution: Add mimemap to web.config file under <system.webServer> section


Script:
<staticcontent>
      <remove fileextension=".woff"/>
      <mimemap fileextension=".woff" mimetype="application/octet-stream"/>
</staticcontent>


Creating Self Signed Certificate with MAKECERT.EXE - ( HTTPS SHA256)

1. Find MakeCert.Exe in your machine, the path depends on the OS. If you have VisualStudio, open the Visual Studio Command Prompt and run the below scripts.

Script:
#1. Root Cert
makecert -r -n "CN=IPMRootCert" -pe -sv IPMRootCert.pvk -a sha1 -len 2048 -b 01/01/2014 -e 01/21/2050 -cy authority IPMRootCert.cer
pvk2pfx.exe -pvk IPMRootCert.pvk -spc IPMRootCert.cer -pfxIPMRootCert.pfx

#2. Project Cert
makecert.exe -iv IPMRootCert.pvk -ic IPMRootCert.cer -n "CN=cissipm.ed.gov" -pe -sv cissipm.ed.gov.pvk -a sha1 -len 2048 -b 01/21/2010 -e 01/21/2050 -sky exchange cissipm.ed.gov.cer -eku 1.3.6.1.5.5.7.3.1
pvk2pfx.exe -pvk cissipm.ed.gov.pvk -spc cissipm.ed.gov.cer -pfx cissipm.ed.gov.pfx


2. Script 1 above, creates the Root Certificate (three certs .pfx, .pvk, .cer). For Windows OS, import .pfx (To Personal) and .cer (To Trusted Root Folder) certificates using Cert Manager

3. Script 2 above, creates the project or application Certificate (three certs .pfx, .pvk, .cer). For Windows OS, import .pfx (To Personal) and .cer (To Trusted Root Folder) certificates using Cert Manager



Access to XMLHttpRequest at 'from origin has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https. .net core angular

Issue: The angular application was getting error from API that the origin has been blocked by CORS policy. Solution: Make sure that the...