How to setup your IT Infrastructure for Work From Home

How to setup your IT Infrastructure for Work From Home in low cost with open source secure industry standard technologies.

Here I am going to talk about talk about small and medium size offices and companies who are not able to invest big amount to upgrade or migrate there IT infrastructure  for there workers to work from home in the COVID pandemic .

There are few things mostly you are using in the office as IT infrastructure as end user. if that IT infrastructure is available at your home then mostly people can work from home easily.

I am taking a small office example scenario with 30 employees which  you require to work from home.

Simple small office network diagram .

Continue reading How to setup your IT Infrastructure for Work From Home

How to enable call forwarding from SIP extension Softphone or Analog Phone

How to enable call forwarding from SIP extension Softphone or Analog Phone if you are using Asterisk PBX or Issabel PBX .

From the Softphone or Analog Phone

Dial *72 with number where you want to forward the call for example I want to forward my all calls on

my mobile no 83199999 then i will dial  *7283199999      make sure you are able to dial outside from your phone . and add prefix which you dial for outside calls.

To Disable Call Forwarding

Dial *73

Windows server 2012 Hyper-v virtual machine getting shutdown after a while

Windows server 2012 Hyper-v virtual machine getting shutdown after a while.

this may be on of the reason code 0x80000000 if you check the event viewer  with event id 1074 .

Description:
The process C:\Windows\system32\wlms\wlms.exe (<Computer Name>) has initiated the shutdown of computer <Computer Name> on behalf of user NT AUTHORITY\SYSTEM for the following reason: Other (Planned)
Reason Code: 0x80000000
Shutdown Type: shutdown
Comment: The license period for this installation of Windows has expired. The operating system is shutting down.

As the event states: The license period for this installation of Windows has expired.

To reset the evaluation period, Click Start, and then click Command Prompt > type  slmgrvbs –rearm, and then press ENTER.

 

 

Windows 2012 shutdown issue

Windows 2012 shutdown issue.

Event logs for shutdown or reboot of windows 2012 servers.

Event ID 41 The system has rebooted without cleanly shutting down first. This error could be caused if the system stopped responding, crashed, or lost power unexpectedly.
Event ID 1074 Logged when an app (ex: Windows Update) causes the system to restart, or when a user initiates a restart or shutdown.
Event ID 6006 Logged as a clean shutdown. It gives the message “The Event log service was stopped”.
Event ID 6008 Logged as a dirty shutdown. It gives the message “The previous system shutdown at time on date was unexpected”.

Continue reading Windows 2012 shutdown issue

How to record linux ssh terminal output and replay it for all users

How to record linux ssh terminal output and replay it for all users

we can get it done using script command .you can save all the session from all users login in to your server and there activity. this will help you to troubleshoot the issues .

1-  edit the profile file ( /etc/profile )and insert the below code.

……………………………………………………
if [ "x$SESSION_RECORD" = "x" ]
then
timestamp=$(date +%d-%m-%Y-%T)
session_log=/var/log/session/session.$USER.$$.$timestamp
SESSION_RECORD=started
export SESSION_RECORD
script -t -f -q 2>${session_log}.timing $session_log
exit
fi
……………………………………………………
2- create a directory to record session

Continue reading How to record linux ssh terminal output and replay it for all users