DS1NMA Blog

사실 윈도우 태블릿의 강자라면 MS의 서피스가 답인데, 서피스는 아무리 사양이 낮은 제품도 가격이 그렇게 착하진 않다보니 저렴하게 사용할 윈도우 태블릿으로 imuz 컨버터11을 구입하게 되었다. 물론, 새것으로 구입하지 못하고 다른 사람으로 부터 얼마 사용하지 않은 제품을 저렴하게 양도 받았는데, 셀러론CPU에 4GB RAM 까지는 그런대로 괜찮은데 이 태블릿에 내장된 삼성 CJNB4R 64GB eMMC SSD의 성능이 아주 지랄인지라 체감속도에서는 좀 실망한 모델이긴 하다. 사실 필기를 주로 사용하려고 구입했는데 필기도 광고에서만큼 깔끔하게 써지지 않은 것은 물론이고 동봉되어 있던 도킹 키보드도 내구성이 좋지 않아 오타가 작렬하고 터치패드 마우스도 자기 멋대로 동작하는 등 불만이 많은 제품이긴 한데 도킹키보드는 아예 박스에 다시 싸서 집에 놔두고, 펜은 그냥 가볍게 쓰는 정도로 사용하고 있다.

 

최근 윈도우11이 나오면서 노트북에 설치해보니 UI와 UX가 나름 마음에 드는지라 태블릿에도 설치하고 싶어서 이 컨버터11에도 설치하려고 했는데 그냥은 설치가 안되는 것이, TPM 1.2로 인식하는데다가 64GB 스토리지지만 스토리지 뒤편에 10GB정도의 복구 파티션이 존재해서 부족한 용량으로 인식하여 업그레이드 설치가 되지 않는다.

 

이에 컨버터11에다가 윈도우11의 설치를 성공하여 이 블로그에 공개한다.

 

1. 윈도우11 설치에서 포기해야 할 것이 있다.

 1) imuz 출고시에 만들어진 복구 파티션 (복구파티션에는 Win10 Home 20H2가 들어있다)

 2) SSD 포맷

 

2. TPM 1.2 --> TPM 2.0으로 BIOS 변경

 저렴한 태블릿이라 TPM 2.0이 되는가 했는데, BIOS 옵션에 있기는 있다.

 도킹키보드를 연결한 상태에서 전원을 완전히 껐다가 켜면서 F1과 DEL을 번갈아 누르다 보면 CMOS 화면이 표시된다.

 Advanced 메뉴에 Trusted Platform 메뉴에 들어가면 아래 그림과 같은 메뉴가 나오는데, 맨 아래 Device Select가

 Auto로 세팅되어 있다. 이렇게 되면 TPM 1.2로 인식한다. 수동으로 TPM 2.0으로 고정 변경해 주고 BIOS 설정을

 저장한다.

 

3. 윈도우11 설치

    윈도우11 ISO를 다운로드 받고, USB에 굽는다. 그리고 CMOS 화면에서 바로 USB로 부팅하는 것이 좋다.

    컨버터 11은 부팅 디바이스 선택 단축키가 없다.

   TPM 2.0으로 변경했지만, CPU가 설치가 불가능한 CPU이다. 그리고 64GB SSD 라고 하지만 eMMC다 보니 

   사양체크에서 설치를 거부할 것이다.

  

   윈도우11 부팅USB를 만들면서 아래 가이드에 있는 REG 파일을 넣어두고, 윈도우 설치를 시작하면서 우회 레지스트리

   를 적용한다.

   https://extrememanual.net/38862

 

윈도우11 TPM 없이 우회 설치하는 방법 - 익스트림 매뉴얼

이 PC에서는 Windows 11을 실행할 수 없음이 PC는 이 Windows 버전을 설치하기 위한 최소 시스템 요구 사항을 충족하지 않았습니다. 자세한 내용은 https://aka.ms/WindowsSysReq 방문하세요. 윈도우11을 설치할

extrememanual.net

   설치하면서, 기존에 SSD에 있는 파티션을 모두 제거하고 설치한다.

   파티션은 알아서 만들어 낸다.    

     그리고, 설치 시작.

     설치가 잘 완료된다.

    

     윈도우11 설치가 잘 완료되면, 드라이버는 반드시 설치해야 한다.

     아래 imuz 자료실에 있는 통합 드라이버로 설치한다. 모든 드라이버가 잘 설치될 것이다.

     https://shop.imuz.com/board/view.php?&bdId=data&sno=508 

 

대한민국 브랜드, 아이뮤즈

가성비 노트북, 학생노트북, 직장인/사무용 노트북, 안드로이드 태블릿, 윈도우 태블릿, 전자출입명부 태블릿

shop.imuz.com

이게 실제 설치된 화면이다.

컨버터11 자체가 Win10 Home이 제공된 제품이다 보니 정품인증도 자동으로 되어 있다.

윈도우11을 컨버터11에서 사용하고자 한다면, 이와 같은 방법으로 도전해 보기를 바란다.

기본적으로 Azure Storage Account 생성 후, Storage 생성할 때 NFSv3는 활성화 되어 있지 않음.

기본적인 Bulb storage는 SMB 프로토콜을 사용함. SAMBA로 마운트할 수 있으나 속도가 느림.

Azure CLI에서 아래와 같이 현재 사용하는 Subscription(구독)에 Enable 해주어야 NFSv3 스토리지 사용이 가능함.

 

20H2 설치 후 커맨드 라인으로 기능설치시 활용바람.

 

Get-WindowsFeature -Name *gui*

Display Name                                            Name                       Install State
------------                                            ----                       -------------
[ ] Active Directory Certificate Services               AD-Certificate                 Available
    [ ] Certification Authority                         ADCS-Cert-Authority            Available
    [ ] Certificate Enrollment Policy Web Service       ADCS-Enroll-Web-Pol            Available
    [ ] Certificate Enrollment Web Service              ADCS-Enroll-Web-Svc            Available
    [ ] Certification Authority Web Enrollment          ADCS-Web-Enrollment            Available
    [ ] Network Device Enrollment Service               ADCS-Device-Enrollment         Available
    [ ] Online Responder                                ADCS-Online-Cert               Available
[ ] Active Directory Domain Services                    AD-Domain-Services             Available
[ ] Active Directory Federation Services                ADFS-Federation                Available
[ ] Active Directory Lightweight Directory Services     ADLDS                          Available
[ ] Active Directory Rights Management Services         ADRMS                          Available
    [ ] Active Directory Rights Management Server       ADRMS-Server                   Available
    [ ] Identity Federation Support                     ADRMS-Identity                 Available
[ ] Device Health Attestation                           DeviceHealthAttestat...        Available
[ ] DHCP Server                                         DHCP                           Available
[ ] DNS Server                                          DNS                            Available
[X] File and Storage Services                           FileAndStorage-Services        Installed
    [ ] File and iSCSI Services                         File-Services                  Available
        [ ] File Server                                 FS-FileServer                  Available
        [ ] BranchCache for Network Files               FS-BranchCache                 Available
        [ ] Data Deduplication                          FS-Data-Deduplication          Available
        [ ] DFS Namespaces                              FS-DFS-Namespace               Available
        [ ] DFS Replication                             FS-DFS-Replication             Available
        [ ] File Server Resource Manager                FS-Resource-Manager            Available
        [ ] File Server VSS Agent Service               FS-VSS-Agent                   Available
        [ ] iSCSI Target Server                         FS-iSCSITarget-Server          Available
        [ ] iSCSI Target Storage Provider (VDS and V... iSCSITarget-VSS-VDS            Available
        [ ] Server for NFS                              FS-NFS-Service                 Available
        [ ] Work Folders                                FS-SyncShareService            Available
    [X] Storage Services                                Storage-Services               Installed
[ ] Host Guardian Service                               HostGuardianServiceRole        Available
[ ] Hyper-V                                             Hyper-V                        Available
[ ] Print and Document Services                         Print-Services                 Available
    [ ] Print Server                                    Print-Server                   Available
    [ ] LPD Service                                     Print-LPD-Service              Available
[ ] Remote Access                                       RemoteAccess                   Available
    [ ] DirectAccess and VPN (RAS)                      DirectAccess-VPN               Available
    [ ] Routing                                         Routing                        Available
    [ ] Web Application Proxy                           Web-Application-Proxy          Available
[ ] Remote Desktop Services                             Remote-Desktop-Services        Available
    [ ] Remote Desktop Licensing                        RDS-Licensing                  Available
[ ] Volume Activation Services                          VolumeActivation               Available
[ ] Web Server (IIS)                                    Web-Server                     Available
    [ ] Web Server                                      Web-WebServer                  Available
        [ ] Common HTTP Features                        Web-Common-Http                Available
            [ ] Default Document                        Web-Default-Doc                Available
            [ ] Directory Browsing                      Web-Dir-Browsing               Available
            [ ] HTTP Errors                             Web-Http-Errors                Available
            [ ] Static Content                          Web-Static-Content             Available
            [ ] HTTP Redirection                        Web-Http-Redirect              Available
            [ ] WebDAV Publishing                       Web-DAV-Publishing             Available
        [ ] Health and Diagnostics                      Web-Health                     Available
            [ ] HTTP Logging                            Web-Http-Logging               Available
            [ ] Custom Logging                          Web-Custom-Logging             Available
            [ ] Logging Tools                           Web-Log-Libraries              Available
            [ ] ODBC Logging                            Web-ODBC-Logging               Available
            [ ] Request Monitor                         Web-Request-Monitor            Available
            [ ] Tracing                                 Web-Http-Tracing               Available
        [ ] Performance                                 Web-Performance                Available
            [ ] Static Content Compression              Web-Stat-Compression           Available
            [ ] Dynamic Content Compression             Web-Dyn-Compression            Available
        [ ] Security                                    Web-Security                   Available
            [ ] Request Filtering                       Web-Filtering                  Available
            [ ] Basic Authentication                    Web-Basic-Auth                 Available
            [ ] Centralized SSL Certificate Support     Web-CertProvider               Available
            [ ] Client Certificate Mapping Authentic... Web-Client-Auth                Available
            [ ] Digest Authentication                   Web-Digest-Auth                Available
            [ ] IIS Client Certificate Mapping Authe... Web-Cert-Auth                  Available
            [ ] IP and Domain Restrictions              Web-IP-Security                Available
            [ ] URL Authorization                       Web-Url-Auth                   Available
            [ ] Windows Authentication                  Web-Windows-Auth               Available
        [ ] Application Development                     Web-App-Dev                    Available
            [ ] .NET Extensibility 3.5                  Web-Net-Ext                    Available
            [ ] .NET Extensibility 4.8                  Web-Net-Ext45                  Available
            [ ] Application Initialization              Web-AppInit                    Available
            [ ] ASP                                     Web-ASP                        Available
            [ ] ASP.NET 3.5                             Web-Asp-Net                    Available
            [ ] ASP.NET 4.8                             Web-Asp-Net45                  Available
            [ ] CGI                                     Web-CGI                        Available
            [ ] ISAPI Extensions                        Web-ISAPI-Ext                  Available
            [ ] ISAPI Filters                           Web-ISAPI-Filter               Available
            [ ] Server Side Includes                    Web-Includes                   Available
            [ ] WebSocket Protocol                      Web-WebSockets                 Available
    [ ] FTP Server                                      Web-Ftp-Server                 Available
        [ ] FTP Service                                 Web-Ftp-Service                Available
        [ ] FTP Extensibility                           Web-Ftp-Ext                    Available
    [ ] Management Tools                                Web-Mgmt-Tools                 Available
        [ ] IIS Management Console                      Web-Mgmt-Console               Available
        [ ] IIS 6 Management Compatibility              Web-Mgmt-Compat                Available
            [ ] IIS 6 Metabase Compatibility            Web-Metabase                   Available
            [ ] IIS 6 Scripting Tools                   Web-Lgcy-Scripting             Available
            [ ] IIS 6 WMI Compatibility                 Web-WMI                        Available
        [ ] IIS Management Scripts and Tools            Web-Scripting-Tools            Available
        [ ] Management Service                          Web-Mgmt-Service               Available
[ ] Windows Deployment Services                         WDS                            Available
    [ ] Transport Server                                WDS-Transport                  Available
[ ] Windows Server Update Services                      UpdateServices                 Available
    [ ] WID Connectivity                                UpdateServices-WidDB           Available
    [ ] WSUS Services                                   UpdateServices-Services        Available
    [ ] SQL Server Connectivity                         UpdateServices-DB              Available
[ ] .NET Framework 3.5 Features                         NET-Framework-Features         Available
    [ ] .NET Framework 3.5 (includes .NET 2.0 and 3.0)  NET-Framework-Core               Removed
    [ ] HTTP Activation                                 NET-HTTP-Activation            Available
    [ ] Non-HTTP Activation                             NET-Non-HTTP-Activ             Available
[X] .NET Framework 4.8 Features                         NET-Framework-45-Fea...        Installed
    [X] .NET Framework 4.8                              NET-Framework-45-Core          Installed
    [ ] ASP.NET 4.8                                     NET-Framework-45-ASPNET        Available
    [X] WCF Services                                    NET-WCF-Services45             Installed
        [ ] HTTP Activation                             NET-WCF-HTTP-Activat...        Available
        [ ] Message Queuing (MSMQ) Activation           NET-WCF-MSMQ-Activat...        Available
        [ ] Named Pipe Activation                       NET-WCF-Pipe-Activat...        Available
        [ ] TCP Activation                              NET-WCF-TCP-Activati...        Available
        [X] TCP Port Sharing                            NET-WCF-TCP-PortShar...        Installed
[ ] Background Intelligent Transfer Service (BITS)      BITS                           Available
    [ ] IIS Server Extension                            BITS-IIS-Ext                   Available
    [ ] Compact Server                                  BITS-Compact-Server            Available
[ ] BitLocker Drive Encryption                          BitLocker                      Available
[ ] BranchCache                                         BranchCache                    Available
[ ] Client for NFS                                      NFS-Client                     Available
[ ] Containers                                          Containers                     Available
[ ] Data Center Bridging                                Data-Center-Bridging           Available
[ ] Enhanced Storage                                    EnhancedStorage                Available
[ ] Failover Clustering                                 Failover-Clustering            Available
[ ] Group Policy Management                             GPMC                           Available
[ ] Host Guardian Hyper-V Support                       HostGuardian                   Available
[ ] I/O Quality of Service                              DiskIo-QoS                     Available
[ ] IIS Hostable Web Core                               Web-WHC                        Available
[ ] IP Address Management (IPAM) Server                 IPAM                           Available
[ ] iSNS Server service                                 ISNS                           Available
[ ] Management OData IIS Extension                      ManagementOdata                Available
[ ] Media Foundation                                    Server-Media-Foundation        Available
[ ] Message Queuing                                     MSMQ                           Available
    [ ] Message Queuing Services                        MSMQ-Services                  Available
        [ ] Message Queuing Server                      MSMQ-Server                    Available
        [ ] Directory Service Integration               MSMQ-Directory                 Available
        [ ] HTTP Support                                MSMQ-HTTP-Support              Available
        [ ] Message Queuing Triggers                    MSMQ-Triggers                  Available
        [ ] Routing Service                             MSMQ-Routing                   Available
    [ ] Message Queuing DCOM Proxy                      MSMQ-DCOM                      Available
[ ] Multipath I/O                                       Multipath-IO                   Available
[ ] Network Load Balancing                              NLB                            Available
[ ] Network Virtualization                              NetworkVirtualization          Available
[ ] Peer Name Resolution Protocol                       PNRP                           Available
[ ] Quality Windows Audio Video Experience              qWave                          Available
[ ] Remote Differential Compression                     RDC                            Available
[ ] Remote Server Administration Tools                  RSAT                           Available
    [ ] Feature Administration Tools                    RSAT-Feature-Tools             Available
        [ ] BitLocker Drive Encryption Administratio... RSAT-Feature-Tools-B...        Available
        [ ] DataCenterBridging LLDP Tools               RSAT-DataCenterBridg...        Available
        [ ] Failover Clustering Tools                   RSAT-Clustering                Available
            [ ] Failover Cluster Module for Windows ... RSAT-Clustering-Powe...        Available
            [ ] Failover Cluster Automation Server      RSAT-Clustering-Auto...        Available
            [ ] Failover Cluster Command Interface      RSAT-Clustering-CmdI...        Available
        [ ] IP Address Management (IPAM) Client         IPAM-Client-Feature            Available
        [ ] Shielded VM Tools                           RSAT-Shielded-VM-Tools         Available
        [ ] Storage Migration Service Tools             RSAT-SMS                       Available
        [ ] Storage Replica Module for Windows Power... RSAT-Storage-Replica           Available
        [ ] System Insights Module for Windows Power... RSAT-System-Insights           Available
    [ ] Role Administration Tools                       RSAT-Role-Tools                Available
        [ ] AD DS and AD LDS Tools                      RSAT-AD-Tools                  Available
            [ ] Active Directory module for Windows ... RSAT-AD-PowerShell             Available
            [ ] AD DS Tools                             RSAT-ADDS                      Available
                [ ] Active Directory Administrative ... RSAT-AD-AdminCenter            Available
                [ ] AD DS Snap-Ins and Command-Line ... RSAT-ADDS-Tools                Available
            [ ] AD LDS Snap-Ins and Command-Line Tools  RSAT-ADLDS                     Available
        [ ] Hyper-V Management Tools                    RSAT-Hyper-V-Tools             Available
            [ ] Hyper-V Module for Windows PowerShell   Hyper-V-PowerShell             Available
        [ ] Windows Server Update Services Tools        UpdateServices-RSAT            Available
            [ ] API and PowerShell cmdlets              UpdateServices-API             Available
        [ ] DHCP Server Tools                           RSAT-DHCP                      Available
        [ ] DNS Server Tools                            RSAT-DNS-Server                Available
        [ ] Remote Access Management Tools              RSAT-RemoteAccess              Available
            [ ] Remote Access module for Windows Pow... RSAT-RemoteAccess-Po...        Available
[ ] RPC over HTTP Proxy                                 RPC-over-HTTP-Proxy            Available
[ ] Setup and Boot Event Collection                     Setup-and-Boot-Event...        Available
[ ] Simple TCP/IP Services                              Simple-TCPIP                   Available
[ ] SMB 1.0/CIFS File Sharing Support                   FS-SMB1                        Available
    [ ] SMB 1.0/CIFS Client                             FS-SMB1-CLIENT                 Available
    [ ] SMB 1.0/CIFS Server                             FS-SMB1-SERVER                 Available
[ ] SMB Bandwidth Limit                                 FS-SMBBW                       Available
[ ] SNMP Service                                        SNMP-Service                   Available
    [ ] SNMP WMI Provider                               SNMP-WMI-Provider              Available
[ ] Storage Migration Service                           SMS                            Available
[ ] Storage Migration Service Proxy                     SMS-Proxy                      Available
[ ] Storage Replica                                     Storage-Replica                Available
[X] System Data Archiver                                System-DataArchiver            Installed
[ ] System Insights                                     System-Insights                Available
[ ] Telnet Client                                       Telnet-Client                  Available
[ ] VM Shielding Tools for Fabric Management            FabricShieldedTools            Available
[X] Windows Defender Antivirus                          Windows-Defender               Installed
[ ] Windows Internal Database                           Windows-Internal-Dat...        Available
[X] Windows PowerShell                                  PowerShellRoot                 Installed
    [X] Windows PowerShell 5.1                          PowerShell                     Installed
    [ ] Windows PowerShell 2.0 Engine                   PowerShell-V2                    Removed
    [ ] Windows PowerShell Desired State Configurati... DSC-Service                    Available
    [ ] Windows PowerShell Web Access                   WindowsPowerShellWeb...        Available
[ ] Windows Process Activation Service                  WAS                            Available
    [ ] Process Model                                   WAS-Process-Model              Available
    [ ] .NET Environment 3.5                            WAS-NET-Environment            Available
    [ ] Configuration APIs                              WAS-Config-APIs                Available
[ ] Windows Server Backup                               Windows-Server-Backup          Available
[ ] Windows Server Migration Tools                      Migration                      Available
[ ] Windows Standards-Based Storage Management          WindowsStorageManage...        Available
[ ] Windows Subsystem for Linux                         Microsoft-Windows-Su...        Available
[ ] WinRM IIS Extension                                 WinRM-IIS-Ext                  Available
[ ] WINS Server                                         WINS                           Available
[X] WoW64 Support                                       WoW64-Support                  Installed


PS C:\Users\Administrator>

데비안 기준이라 수정할게 좀 있음. 확인하면서 적용하기 바람.

Step-by-step guide

All commands are to be run as the root user, either by directly logging in as root or by using sudo su - .

Start from a base Debian 10 installation. All necessary packages will be installed through the following commands.

Prerequisite recommended OS update

Add the backports repo specifically so that the odbc-mariadb package is available. Then update the OS to current.

       
      사전에 타이프 할것
        apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 04EE7237B7D453EC
        apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 648ACFD622F3D138
      • echo deb http://ftp.us.debian.org/debian/ buster-backports main > /etc/apt/sources.list.d/backports.list
      • echo deb-src http://ftp.us.debian.org/debian/ buster-backports main >> /etc/apt/sources.list.d/backports.list
      • apt-get update
      • apt-get upgrade

Install all the necessary packages (취소선 그어진 것은 raspbian 10에서 설치 안됨. 삭제하고 실행

      • apt-get install -y build-essential linux-headers-* `uname -r` openssh-server apache2 mariadb-server mariadb-client bison flex php php-curl php-cli php-pdo php-mysql php-pear php-gd php-mbstring php-intl php-bcmath curl sox libncurses5-dev libssl-dev mpg123 libxml2-dev libnewt-dev sqlite3 libsqlite3-dev pkg-config automake libtool autoconf git unixodbc-dev uuid uuid-dev libasound2-dev libogg-dev libvorbis-dev libicu-dev libcurl4-openssl-dev libical-dev libneon27-dev libsrtp2-dev libspandsp-dev sudo subversion libtool-bin python-dev unixodbc dirmngr sendmail-bin sendmail asterisk debhelper-compat cmake libmariadb-dev odbc-mariadb php-ldap

Install Node.js (setup_11.x --> setup_12.x 로 바꿀것)

      • curl -sL https://deb.nodesource.com/setup_11.xsetup_12.x | sudo -E bash -
      • apt-get install -y nodejs

Install this required Pear module

      • pear install Console_Getopt

Prepare Asterisk

      • systemctl stop asterisk
      • systemctl disable asterisk
      • cd /etc/asterisk
      • mkdir DIST
      • mv * DIST
      • cp DIST/asterisk.conf .
      • sed -i 's/(!)//' asterisk.conf
      • touch modules.conf
      • touch cdr.conf

Configure Apache web server

      • sed -i 's/\(^upload_max_filesize = \).*/\120M/' /etc/php/7.3/apache2/php.ini
      • sed -i 's/\(^memory_limit = \).*/\1256M/' /etc/php/7.3/apache2/php.ini
      • sed -i 's/^\(User\|Group\).*/\1 asterisk/' /etc/apache2/apache2.conf
      • sed -i 's/AllowOverride None/AllowOverride All/' /etc/apache2/apache2.conf
      • a2enmod rewrite
      • service apache2 restart
      • rm /var/www/html/index.html

Configure ODBC

      • cat <<EOF > /etc/odbcinst.ini
        [MySQL]
        Description = ODBC for MySQL (MariaDB)
        Driver = /usr/lib/x86_64-linux-gnu/odbc/libmaodbc.so
        FileUsage = 1
        EOF
      • cat <<EOF > /etc/odbc.ini
        [MySQL-asteriskcdrdb]
        Description = MySQL connection to ‘asteriskcdrdb’ database
        Driver = MySQL
        Server = localhost
        Database = asteriskcdrdb
        Port = 3306
        Socket = /var/run/mysqld/mysqld.sock
        Option = 3
        EOF

Download FFMPEG static build for sound file manipulation

      • cd /usr/local/src
      • wget "https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz"
      • tar xf ffmpeg-release-amd64-static.tar.xz
      • cd ffmpeg-4*
      • mv ffmpeg /usr/local/bin

Install FreePBX

      • cd /usr/local/src
      • wget http://mirror.freepbx.org/modules/packages/freepbx/freepbx-15.0-latest.tgz
      • tar zxvf freepbx-15.0-latest.tgz
      • cd /usr/local/src/freepbx/
      • ./start_asterisk start
      • ./install -n

Get the rest of the modules

Only a very basic system is installed at this point. You will probably want to install all the modules on Debian 10 . Alternatively, you can skip this and pick-and-choose the individual modules you want later.

      • fwconsole ma installall

Uninstall digium_phones

Broken with PHP 7.3 (April 2020).

      • fwconsole ma uninstall digium_phones

Apply the current configuration

      • fwconsole reload

Set symlinks to the correct sound files

      • cd /usr/share/asterisk
      • mv sounds sounds-DIST
      • ln -s /var/lib/asterisk/sounds sounds

Perform a restart to load all Asterisk modules that had not yet been configured

      • fwconsole restart

Set up systemd (startup script)

      • cat <<EOF > /etc/systemd/system/freepbx.service
        [Unit]
        Description=FreePBX VoIP Server
        After=mariadb.service
        [Service]
        Type=oneshot
        RemainAfterExit=yes
        ExecStart=/usr/sbin/fwconsole start -q
        ExecStop=/usr/sbin/fwconsole stop -q
        [Install]
        WantedBy=multi-user.target
        EOF
      • systemctl daemon-reload
      • systemctl enable freepbx

Asterisk and FreePBX 15 are installed on Debian 10 ! Go to the web interface at http://YOUR-IP to finish setup

라즈베리파이4와 집에 있는 4K 모니터와 4K TV에서 아무리 연결해도 화면이 표시되지 않는 현상이 보였다.

raspbian을 넣어도, Libreelec에서도 동일증상이었다.

 

다음의 설정으로 해결했다.

 

메모리 --> boot 드라이브 --> config.txt

hdmi_force_hotplug=1
config_hdmi_boost=4
hdmi_group=1

저장 후, 메모리를 기기에 다시 꽂고 전원을 켜면 화면이 표시될 것이다. 

raspbian 및 libreelec 모두 적용된다. 

File DB를 쓰던 원래의 솔루션이 이중화 조치를 하면서 DB까 꼬일 가능성이 농후해졌다.

그래서 두 서버의 중간에 공유스토리지를 두고, 두 서버간 공유가 필요한 파일과 경로는 

ln으로 링크를 주어 조치하였으나 톰캣에서 링크를 먹지 않음;;;

 

며칠을 쥐싸매다가 이거 한줄로 해결했다.

 

/conf/context.xml

 

<Context>

    <Resources allowLinking="true" />
</Context>

 

Cisco 스위치 장비에 Spanning Tree가 켜져있으면 네트워크가 연결되는데 굉장히 느리다.
어차피 PC:스위치에서는 의미없는 기능이므로 Off 해야 욕을 안먹는다.


  1. 스위치를 콘솔로 연결한다.
  2. Putty 띄워서 COM포트로 붙인다.
  3. sh run(엔터)을 실행해서 spanning-tree 설정을 확인한다.
    -
    이전설정은 spanning-tree mode rapid-pvst, spanning-tree extend system-id 만 존재.
  4. enable (엔터)
  5. 패스워드입력 (엔터)
  6. config terminal (엔터)
  7. spanning-tree portfast default (엔터)
  8. end(엔터)
  9. 다시 sh run(엔터)를 실행해서 spanning-tree portfast default 또는 사진처럼 spanning-tree portfast edge default 가 표기되나 확인
  10. exit(엔터)
  11. 콘솔케이블 뽑는다

앞서 구축된 IP-PBX가 라즈베리파이3에 올렸는데, 오래 가동했던 기기라 그런지 발열이 심한 단점이 있다. Fan을 설치하긴 했는데 Fan이다보니 방에서 돌리기에는 소음이 신경쓰인다.

그래서 더 저전력으로 돌면서 크기가 작은 라즈베리파이 제로 W로 교체하였다.

기본적인 H/W는 비슷하고 Raspbian OS를 공유하기 때문에 기존 파이3에서 WiFi로 PBX가 세팅되었다면 SD카드를 파이제로W로 꽂는것으로 그대로 사용할 수 있다.

기존의 파이3 이다. Fan이 무식하게 크다. 고장품이라 Fan 없으면 10분만에 뻗는다.

이번에 산 파이제로W이다.
크기가 정말 작다. USB도 마이크로USB로 HDMI도 마이크로HDMI로 변경되었다. 마이크로USB단자가 USB Host용과 전원용이 구분되어 있으니 주의하자.

그래도 어느정도 발열이 있으니 CPU/APU에 방열판 하나를 붙였다. 원래 방열판이 없다. 나는 파이제로를 주문할때 구리방열판을 하나 함께 주문했다. 다해야 배송료 포함 3만원 쪼금 넘는다.

여기에 파이3에 꽃았던 SD카드를 그대로 옮겨 꽂는다.

크기비교를 위해 iQOS 담배와 비교해보자. 정말 작다.
이런게 1GHz CPU와 512MB RAM이 탑재되고 서버프로그램을 구동할수 있다. 심지어는 Kodi도 된단다.

그리고 책상아래에 양면테이프로 붙였다. ㅎ
케이스는 귀찮아서 안샀다.
나중에 기가비트 허브나 공유기에 삽입할 예정이다.


전원을 켜면 설정되있던 WiFi로 연결되어 Putty 연결이 가능하다.
FreePBX도 설정했던 IP로 접속된다.

나는 발열을 최소화 하기 위해 /boot/config.txt에 core_freq=700 으로 700MHz로 고정했다. 500을 줬더니 PBX가 기어다닌다.
그리고 internal bluetooth를 disable해버렸다. 어차피 IP PBX에 BT는 필요없다.

일단 PBX는 됬으니까 게이트웨이만 오면 된다. ㅎㅎ

1. H/W

   1) Raspberry Pi 3 

   2) Cisco 7975G


2. S/W

   1) Raspbx (http://www.raspberry-asterisk.org/)


3. Method


1) Download OS Image from http://www.raspberry-asterisk.org/

    - http://www.raspberry-asterisk.org/downloads/

    - Raspbian Stretch based

    - PJSIP/Chan_SIP , Chan_SIP is port 5161.


2) Burn image to SD Card


3) Boot


4) Set network static IP to eth0 or wlan0

    - /etc/dhcpcd.conf

    - interface wlan0

      static ip_address=DEVICE_IP/24

      static routers=GATEWAY_ADDRESS

      static domain_name_servers=DNS_SERVER_ADDRESS


5) run raspi-config
    - WI-FI SSID Setting 
    - set time zone to Seoul
    - extend file system for SD Card

6) reboot

7) update OS
   - raspbx-upgrade
   - fwconsole ma upgrade

8) reboot

9) connect FreePBX admin page

10) create extension of Chan_SIP 
     - same insert to Display name , CID, Secret, Password       

 



11) Set Asterisk SIP Setting 

     - NAT Setting from Detect Network Setting

     - IP Configuration of Chan_SIP tab set Dynamic IP, and Insert Dynamic Host

     - Advanced General Setting of Chan_SIP tab, Must set Enable TCP to yes


12) TFTP Install and Samba setting


apt-get install xinetd tftpd tftp

touch /etc/xinetd.d/tftp

nano /etc/xinetd.d/tftp

service tftp

{

protocol        = udp

port            = 69

socket_type     = dgram

wait            = yes

user            = nobody

server          = /usr/sbin/in.tftpd

server_args     = /tftpboot

disable         = no

}


mkdir /tftpboot

chmod -R 777 /tftpboot

chown -R nobody /tftpboot

/etc/init.d/xinetd restart

chmod -R 777 /tftpboot

nano /etc/samba/smb.conf

[TFTP]

   comment = Phone TFTP

   browseable = no

   path = /tftpboot

   guest ok = yes

   read only = no

   create mask = 0644

   directorymaks = 0755


/etc/init.d/samba restart


13) Copy Cisco Phone setting and firmware to TFTP Server

      

tftp-Cisco7975G.zip



14) rename SEPPHONEMACADDRESS.cnf.xml, 

     - PHONEMACADDRESS to your MAC address, (ex, SEP0080CE8E22AE.cnf.xml)

     

15 ) Modify XML 


<device>

    <fullConfig>true</fullConfig>

    <deviceProtocol>SIP</deviceProtocol>

    <sshUserId>admin</sshUserId>

    <sshPassword>cisco</sshPassword>

    <devicePool>

        <dateTimeSetting> 

            <dateTemplate>D/M/YYA</dateTemplate> 

            <timeZone>Tokyo Standard Time</timeZone> 

            <ntps> 

                <ntp>

                    <name>203.12.160.2</name> 

                    <ntpMode>Unicast</ntpMode> 

                </ntp>

            </ntps>

        </dateTimeSetting>

        <callManagerGroup>

            <tftpDefault>true</tftpDefault>

            <members>

                <member priority="0">

                    <callManager>

                        <ports>

                            <ethernetPhonePort>2000</ethernetPhonePort>

                            <sipPort>5160</sipPort>

                            <securedSipPort>5161</securedSipPort>

                        </ports>

                        <processNodeName>YOURPBXADDRESS</processNodeName>

                    </callManager>

                </member>

            </members>

        </callManagerGroup>

    </devicePool>

    <commonProfile>

        <phonePassword></phonePassword>

        <backgroundImageAccess>true</backgroundImageAccess>

        <callLogBlfEnabled>0</callLogBlfEnabled>

    </commonProfile>

    <loadInformation>SIP75.9-4-2SR3-1S</loadInformation>

    <vendorConfig>

        <disableSpeaker>false</disableSpeaker>

        <disableSpeakerAndHeadset>false</disableSpeakerAndHeadset>

        <pcPort>0</pcPort>

        <settingsAccess>1</settingsAccess>

        <garp>0</garp>

        <voiceVlanAccess>0</voiceVlanAccess>

        <videoCapability>0</videoCapability>

        <autoSelectLineEnable>0</autoSelectLineEnable>

        <daysDisplayNotActive>1,7</daysDisplayNotActive>

        <displayOnTime>10:30</displayOnTime>

        <displayOnDuration>06:05</displayOnDuration>

        <displayIdleTimeout>00:05</displayIdleTimeout> 

        <displayOnWhenIncomingCall>1</displayOnWhenIncomingCall>

        <webAccess>0</webAccess>

<sshAccess>0</sshAccess>

        <spanToPCPort>1</spanToPCPort>

        <loggingDisplay>1</loggingDisplay>

        <loadServer></loadServer>

    </vendorConfig>

    <userLocale>

        <name>English_United_States</name>

        <uid>1</uid>

        <langCode>en_US</langCode>

        <version>1.0.0.0-1</version>

        <winCharSet>iso-8859-1</winCharSet>

    </userLocale>

    <networkLocale>United_States</networkLocale> 

    <networkLocaleInfo> 

        <name>United_States</name> 

        <uid>64</uid> 

        <version>1.0.0.0-1</version> 

    </networkLocaleInfo> 

    <deviceSecurityMode>1</deviceSecurityMode>

    <authenticationURL>http://YOURPBXADDRESS/xmlservices/authentication.php</authenticationURL>

    <directoryURL>http://YOURPBXADDRESS/xmlservices/PhoneDirectory.php</directoryURL>

    <idleTimeout>0</idleTimeout>

    <idleURL></idleURL>

    <informationURL>http://YOURPBXADDRESS/xmlservices/index.php</informationURL>

    <messagesURL></messagesURL>

    <proxyServerURL></proxyServerURL>

    <servicesURL>http://naraymm.iptime.org/xmlservices/index.php</servicesURL>

    <dscpForSCCPPhoneConfig>96</dscpForSCCPPhoneConfig>

    <dscpForSCCPPhoneServices>0</dscpForSCCPPhoneServices>

    <dscpForCm2Dvce>96</dscpForCm2Dvce>

    <transportLayerProtocol>1</transportLayerProtocol>

    <capfAuthMode>0</capfAuthMode>

    <capfList>

        <capf>

            <phonePort>3804</phonePort>

        </capf>

    </capfList>

    <certHash></certHash>

    <encrConfig>false</encrConfig>

    <sipProfile>

        <sipProxies>

            <backupProxy>YOURPBXADDRESS</backupProxy>

            <backupProxyPort>5160</backupProxyPort>

            <emergencyProxy>YOURPBXADDRESS</emergencyProxy>

            <emergencyProxyPort>5160</emergencyProxyPort>

            <outboundProxy>YOURPBXADDRESS</outboundProxy>

            <outboundProxyPort>5160</outboundProxyPort>

            <registerWithProxy>true</registerWithProxy>

        </sipProxies>

        <sipCallFeatures>

            <cnfJoinEnabled>true</cnfJoinEnabled>

            <callForwardURI>x--serviceuri-cfwdall</callForwardURI>

            <callPickupURI>x-cisco-serviceuri-pickup</callPickupURI>

            <callPickupListURI>x-cisco-serviceuri-opickup</callPickupListURI>

            <callPickupGroupURI>x-cisco-serviceuri-gpickup</callPickupGroupURI>

            <meetMeServiceURI>x-cisco-serviceuri-meetme</meetMeServiceURI>

            <abbreviatedDialURI>x-cisco-serviceuri-abbrdial</abbreviatedDialURI>

            <rfc2543Hold>false</rfc2543Hold>

            <callHoldRingback>2</callHoldRingback>

            <localCfwdEnable>true</localCfwdEnable>

            <semiAttendedTransfer>true</semiAttendedTransfer>

            <anonymousCallBlock>2</anonymousCallBlock>

            <callerIdBlocking>2</callerIdBlocking>

            <dndControl>0</dndControl>

            <remoteCcEnable>true</remoteCcEnable>

        </sipCallFeatures>

        <sipStack>

            <sipInviteRetx>6</sipInviteRetx>

            <sipRetx>10</sipRetx>

            <timerInviteExpires>180</timerInviteExpires>

            <timerRegisterExpires>3600</timerRegisterExpires>

            <timerRegisterDelta>5</timerRegisterDelta>

            <timerKeepAliveExpires>120</timerKeepAliveExpires>

            <timerSubscribeExpires>120</timerSubscribeExpires>

            <timerSubscribeDelta>5</timerSubscribeDelta>

            <timerT1>500</timerT1>

            <timerT2>4000</timerT2>

            <maxRedirects>70</maxRedirects>

            <remotePartyID>false</remotePartyID>

            <userInfo>None</userInfo>

        </sipStack>

        <autoAnswerTimer>1</autoAnswerTimer>

        <autoAnswerAltBehavior>false</autoAnswerAltBehavior>

        <autoAnswerOverride>true</autoAnswerOverride>

        <transferOnhookEnabled>true</transferOnhookEnabled>

        <enableVad>false</enableVad>

        <preferredCodec>g711u</preferredCodec>

        <dtmfAvtPayload>101</dtmfAvtPayload>

        <dtmfDbLevel>3</dtmfDbLevel>

        <dtmfOutofBand>avt</dtmfOutofBand>

        <alwaysUsePrimeLine>false</alwaysUsePrimeLine>

        <alwaysUsePrimeLineVoiceMail>false</alwaysUsePrimeLineVoiceMail>

        <kpml>3</kpml>

        <stutterMsgWaiting>1</stutterMsgWaiting>

        <callStats>false</callStats>

        <silentPeriodBetweenCallWaitingBursts>10</silentPeriodBetweenCallWaitingBursts>

        <disableLocalSpeedDialConfig>false</disableLocalSpeedDialConfig>

        <startMediaPort>16384</startMediaPort>

        <stopMediaPort>32766</stopMediaPort>

        <voipControlPort>5160</voipControlPort>

        <dscpForAudio>184</dscpForAudio>

        <ringSettingBusyStationPolicy>0</ringSettingBusyStationPolicy>

        <dialTemplate>dialplan.xml</dialTemplate>

        <phoneLabel>YOURNAME</phoneLabel>

        <natEnabled>false</natEnabled>

        <sipLines>

            <line button="1">

                <featureID>9</featureID>

                <featureLabel>YOURACCOUNTID</featureLabel>

                <name>YOURACCOUNTID</name>

                <displayName>YOURACCOUNTID</displayName>

                <contact>2003</contact>

                <proxy>USECALLMANAGER</proxy>

                <port>5160</port>

                <autoAnswer>

                    <autoAnswerEnabled>2</autoAnswerEnabled>

                </autoAnswer>

                <callWaiting>3</callWaiting>

                <authName>YOURACCOUNTID</authName>

                <authPassword>YOURACCOUNTPASSWORD</authPassword>

                <sharedLine>false</sharedLine>

                <messageWaitingLampPolicy>1</messageWaitingLampPolicy>

                <messagesNumber>8555</messagesNumber>

                <ringSettingIdle>4</ringSettingIdle>

                <ringSettingActive>5</ringSettingActive>

                <forwardCallInfoDisplay>

                    <callerName>true</callerName>

                    <callerNumber>false</callerNumber>

                    <redirectedNumber>false</redirectedNumber>

                    <dialedNumber>true</dialedNumber>

                </forwardCallInfoDisplay>

            </line>

        </sipLines>

    </sipProfile>

</device>


15) Set Alternate TFTP to On, and Insert TFTP Server address to PBX IP Address


16) Reboot Phone, Phone will upgrade and load XML


17) Enjoy