blog.minskio.co.uk

Content and theme behind minskio.co.uk
Log | Files | Refs

samsung-officeserv-serial-upgrade.md (4347B)


      1 ---
      2 title: "Upgrading a Samsung OfficeServ PBX using the serial interface"
      3 date: 2019-08-27T13:55:00
      4 tags: ["Guides", "Hardware", "Linux", "PBX", "Projects", "Software", "Work"]
      5 ---
      6 
      7 # Requirements:
      8 
      9 * COM Serial port
     10 * Serial to CD Audio cable
     11 * [Putty](https://www.putty.org/)
     12 * Firmware package `ap30v501.pkm cs30v493.pkm dr30v501.pkm ms30v125.pkm rd30v501.pkm rt30v501.pkm ws30v501.pkm`
     13 * BootROM `bt30v493.bin` file
     14 * Voicemail Package `VM_L_UK.tgz`
     15 * [TFTPD server](http://tftpd32.jounin.net/tftpd32_download.html)
     16 * OfficeServ Device Manager `osdm.exe`
     17 
     18 # System Setup
     19 
     20 ## Cards
     21 The only cards you'll need is something to connect up a digital phone to, so either a 4DM or a 2DM card in the middle slot to connect up a phone.
     22 
     23 ## DIP Switches
     24 To set the system into UK mode, your DIP switches must be set to `01000000`. For other country codes, look into the documentation.
     25 
     26 ## Cable Setup
     27 I'm using an old IDE CD-ROM drive audio cable to serial that I've created for this purpose. As there aren't 3 contiguous pins, I used both ends of the cable to give me 2 + 1 for the 3 pins.
     28 
     29 The serial port on the PBX is the 3 pins behind the line card slot at the bottom of the system. I'm using a StarTech USB Serial adapter on Windows 10 and it's functions perfectly.
     30 
     31 # Computer Setup
     32 
     33 ## Putty Setup
     34 * Serial Line > COM1
     35 * Speed > 38400
     36 * Connection Type > Serial
     37 * Connection > Serial > Flow control > None
     38 
     39 ## Tftpd32 Setup
     40 All you want to alter in this is the Current Directory so that it offers all your firmware and bootrom files. The Server interface should be your computers local IP address and TFTP security should be set to None.
     41 
     42 # Upgrade Process
     43 
     44 Fire up the system with your serial cable connected and you should see the system booting up. You'll need to press the Q key to interrupt the boot process.
     45 
     46 ## MAC Address
     47 If you're replacing en existing cabinet, you can change the current system's MAC address to match the old system ensuring you can use the same licences. For example:
     48 ```
     49 setenv eth1addr 00:16:32:82:9c:8b ; setenv ethaddr 00:16:32:82:9c:8b ; saveenv
     50 ```
     51 
     52 ## Boot ROM
     53 
     54 Once you've booted up, enter `printenv` to check current boot variables. If your `bootfile` variable is lower than `v493` you will need to upgrade this via:
     55 ```
     56 setenv bootfile bt30v493.bin ; setenv ipaddr 10.0.0.247 ; setenv gatewayip 10.0.0.1 ; setenv serverip 10.0.0.66 ; setenv netmask 255.255.255.0 ; saveenv ; run updateboot; run clearenv ; reset
     57 ```
     58 
     59 The important values to look at here are `ipaddr` which is your OfficeServ system's IP address, and `serverip` which is your TFTPD server address. By default, the system's IP address is 10.0.2.10 and the gateway address is 10.0.2.1, but you'll likely want to change these.
     60 
     61 ## System Firmware
     62 
     63 Once you're on bootrom v4.93 you can upgrade the rest of the system using:
     64 ```
     65 setenv ipaddr 10.0.0.247 ; setenv gatewayip 10.0.0.1 ; setenv serverip 10.0.0.66 ; setenv netmask 255.0.0.0 ; setenv mspname ms30v125.pkm ; setenv cspname cs30v493.pkm ; setenv rfsname rd30v501.pkm ; saveenv ; run nanderaseall ; run install
     66 ```
     67 This process will take a long time to complete, but you'll be given the status  of the upgrade via your serial connection.
     68 
     69 
     70 # First boot
     71 Once booted up, verify your firmware version via: `Trans 800 4321 1 Speaker 727`, this should be 5.01. Log out with `Trans 800 0 Trans` and connect up using OSDM.
     72 
     73 ## Login
     74 The address will be whatever you set the `ipaddr` variable to in the preceeding steps. The default password for firmware v5.01 is `#PBX1357sec.com`. It will ask you to change this when you first login.
     75 
     76 ## Licences
     77 Once logged in, if you have existing licences, add them via MMC860.
     78 <!-- * Resource: `GYNGHELH-PLJSOOWP-THUVZIU9-F1A0FRCM-7UDVFS3O-7Z5CHYEQ`-->
     79 <!-- * SIP Stack: `GSWVEHM2-2MZLLNBC-SUGBLGM7-2U9FBL6X-ORS3O2AW-7QOXALMT`-->
     80 <!-- * Service: `NMWPHHM2-2MZLLNBC-SUUXQGM7-UU97BMIX-OJS3O2AW-7QOXALMT`-->
     81 
     82 ## Voicemail
     83 Lastly, as we've entirely wiped this system during the upgrade process you'll need to upload your voicemail prompt package, usually called `VM_L_UK.tgz`. This can be done via:
     84 ```
     85 File Control > Program > File > VM_L_UK.tgz > Upload
     86 ```
     87 After the file has been uploaded, reboot the system in MMC811. Once the system is back up and working, dial the VM group (usually 509) to ensure your prompts are all working. Enjoy your new system.