Deployment

Word Press

Word Press

Lessons Learned

Novaschool.org Lessons Learned

Main Photo and tag line are updated under: Site Settings/Site Identity In Elementor

Recaptcha had to re-registered on google and updated on the new Word Press Site.

Elementor had to be re-installed, the publish button was not available.   The work around was to use the regular editor page to force publishing changes.

Gravity registration form did not create a user.  But settings looked OK.

image.png

Asterisk PBX

Asterisk PBX

sip.conf config file update

Instructional Video

Specification

image.png


Device Settings

image.png

 

SIP Configuration – general

The [general] section of sip.conf includes the following variables:

Asterisk PBX

Static IP address for asterix computer

 

IP4.ADDRESS[1]:                         192.168.1.226/24
IP4.GATEWAY:                            192.168.1.254
IP4.ROUTE[1]:                           dst = 192.168.1.0/24, nh = 0.0.0.0, mt >
IP4.ROUTE[2]:                           dst = 169.254.0.0/16, nh = 0.0.0.0, mt >
IP4.ROUTE[3]:                           dst = 0.0.0.0/0, nh = 192.168.1.254, mt>
IP4.DNS[1]:                             192.168.1.254
IP4.DOMAIN[1]:                          attlocal.net
IP6.ADDRESS[1]:                         2600:1700:474:c000:9b88:85f:2cd8:a037/64
IP6.ADDRESS[2]:                         2600:1700:474:c000:73be:3ec6:aef0:7123/>
IP6.ADDRESS[3]:                         2600:1700:474:c000:f303:c56b:ca15:5ddb/>
IP6.ADDRESS[4]:                         2600:1700:474:c000:6878:ba85:f244:ff5f/>
IP6.ADDRESS[5]:                         2600:1700:474:c000::1c/128
IP6.ADDRESS[6]:                         2600:1700:474:c000:ff1c:9a6a:784a:5ded/>
IP6.ADDRESS[7]:                         fe80::3dc7:2d58:9eb3:3a1c/64
IP6.GATEWAY:                            fe80::ae8f:a9ff:fe36:c132

ATT Internet

You can access your AT&T wireless gateway settings by typing 192.168.1.254 into your browser navigation bar. If you attempt to change a setting, you will be asked for your gateway's device access code. This code should be listed on the side or bottom(depending on how you have it orientated).

MAC Address

What is a MAC address (media access control address)?
A MAC address (media access control address) is a 12-digit hexadecimal number assigned to each device connected to the network. Primarily specified as a unique identifier during device manufacturing, the MAC address is often found on a device's network interface card (NIC). A MAC address is required when trying to locate a device or when performing diagnostics on a network device.

NAT

In the field of computer networking, NAT stands for Network Address Translation. In simplest terms, NAT allows many devices on a private network to share a single gateway to the internet. In turn, all of those devices will have the same public IP address—that of the gateway—and unique private IP addresses. These gateways are commonly found on wifi routers and some VPN services. For example, all of the devices connected to a NAT-enabled wifi router have different private IP addresses, but share the router’s public IP address.

FORUM ADVICE

For those that are not well versed in Linux, a step by step is as follows:

go to the local machine (computer running FreePBX/Asterisk)
login as: root
Password: (your password you used when you setup the software)
Type the next lines
cd /etc/sysconfig/network-scripts
sudo nano ifcfg-eth0
hit return
(use your arrow key to get where you need. Make sure NUMLOCK is on)
navigate to the line with BOOTPRONTO and go to the end of the line
Using backspace delete "dhcp"
Type in "none"
hit return
type the following lines;
NETMASK=255.255.255.0
IPADDR=192.168.1.3 (replace this with the IP address you want)
GATEWAY=192.168.1.1 (replace this with your router gateway address)
leave the rest as it is.
Hit the ctcl+ O keys (the letter not the number zero)
Hit enter again to save the file
hit ctcl+Z to exit the text editor
at the command prompt type the next line
service network restart

you should see the network card shut down and then restart, and all should be fine from here.

 

Ubuntu 18.04 and above use netplan to configure your network, and /etc/network/interfaces does not exist anymore. The netplan configuration file should be at /etc/netplan/.

Configuring an Interface with Static Network Settings Using ifcfg Files

For example, to configure an interface with static network settings using ifcfg files, for an interface with the name enp1s0, create a file with the name ifcfg-enp1s0 in the /etc/sysconfig/network-scripts/ directory, that contains:
  • For IPv4 configuration

    DEVICE=enp1s0
    BOOTPROTO=none
    ONBOOT=yes
    PREFIX=24
    IPADDR=10.0.1.27
    • For IPv6 configuration
      DEVICE=enp1s0
      BOOTPROTO=none
      ONBOOT=yes
      IPV6INIT=yes
      IPV6ADDR=2001:db8::2/48
      
      You do not need to specify the network or broadcast address as this is calculated automatically by ipcalc.
      For more IPv6 ifcfg configuration options, see nm-settings-ifcfg-rh(5) man page

hh

Asterisk PBX

Definitions

Subnet Mask

image.png

The subnet mask indicated which parts of the IP address belong to the network and which parts belong to the host.

 

Class C IP

Class C IP address are given to small organizations that do not have a lot of hosts:

image.png

 

DHCP

Make a reservation on the DHCP to get a static IP address.  Routers have the DHCP service built in to them.

image.png

NAT

NAT translates the private Ip to the Public IP

image.png

image.png

Asterisk PBX

extensions.conf file configuration

extensions.conf

image.png

Voicemail.conf

image.png

Asterisk PBX

Softphone

Twinkle

image.png

Linux General Issues

Linux General Issues

Setting Up Any Desk

How to Install Any Desk on Unbuntu

Change to root:

sudo -i

Step 1. Add Anydesk repository key to the Trusted software providers list.

wget -qO - https://keys.anydesk.com/repos/DEB-GPG-KEY | apt-key add -

Step 2. Now add the repository to the sources list.
Below command will put the repository entry in a new file under /etc/apt/sources.list.d/ directory.
* Execute as single command

echo "deb http://deb.anydesk.com/ all main" > /etc/apt/sources.list.d/anydesk-stable.list

Step 3. Update the apt cache by running below command.

apt update

Step 4. Now install the software. This command will download and install Anydesk from repository along with dependencies.

apt install anydesk

 

Issues

After installing AnyDesk, the following error is presented:

image.png

To fix the problem, we have to edit a file.

sudo gedit /etc/gdm3/custom.conf

image.png

Then re-boot the Linux machine.


Linux General Issues

Auto Upgrade Produced White Screen

Issue

Victoria's computer was restarted and updates took place automatically.  When restarting there was a white screen and so little contrast that the computer was unusable.

IMG_0780.jpg

Resolution

Graphics card needed a specific driver, not the generic driver that was in the auto-upgrade file.

Steps taken

Pressing the right shift button repeatedly brought me into the grub menu, I could select to start in recovery mode.  Launching the older version of Ubuntu produces a normal contrast screen but it was stretched and could not be fixed using the display settings (locked/non responsive).

I rebooted and next time selected the newer operating system in recovery mode.

In recovery mode, I selected package repair, then grub menu then proceeded.

Screen was stretched and unable to fix with resolution.  

Under Settings/about/software updates/ additional drivers, I selected a proprietary graphics driver, then re-started. All was normal.

Moodle Upload Very Slow

Moodle was running very slow when uploading any files, this affected students uploading screenshots as well as uploading audio files when creating the course content.

Resolution

It was identified on the forums that when the server runs  ClamAV Anti-Virus Manager, it causes Moodle to hang-up when anyone tried to upload files.

It was then identified that there is config file that specifies to check for virus updates 24 times a day.  This can be updated to check 0 times per day or less to reduce upload time.

In a forum it was stated: I found my problem.. I should have been using clamdscan instead of clamscan. That way the control is instantly transfered back to moodle after upload"