How to install Trixbox CE 22.214.171.124 on a Trixbox Appliance with a Sangoma A200/Remora card.
My most recent trixbox appliance from 888 VOIP Store (I’ve bought 3) was all messed up.Â It was shipped by the wrong carrier, cleared customs through the wrong broker, was send to the wrong address, and wasn’t pre-configured.Â The previous appliances I’ve received had the Remora card installed and Trixbox CE pre-configured and fired-up right out of the box. This one didn’t have the card installed (not a big deal) and started up with a dual-boot Pro vs. CE.Â Â Somehow in the process of setting it all up I screwed up the config to the point where Asterisk would not start, nor would it recognize the Remora card.Â Faced with a re-install, I thought I would take the opportunity to upgrade from Trixbox 2.6 to Trixbox 2.8.
This procedure too a few tries to get right, but seems quite straight forward.Â Trixbox appliances don’t have CD-ROM drives, so this procedure uses a USB CD-ROM.Â If installing this in VMWare, add two NICs and and two hard drives to mimic the appliance hardware.
- Download and burn Trixbox CE 126.96.36.199 iso to a cd.
- Boot the machine with the cd installed in a USB CD-ROM (Press F12 to enter Boot Selection Menu, then USB-CDROM)
- At the installer prompt, type ‘appliance linux usb’
- Answer any questions the installer might have about keyboards and timezones, and enter a root password.
- There may be an error about a missing kickstart file.Â Count to 30, then press OK.Â To see what’s going on with usb-storage modules, etc. press Ctrl-Alt-F2.Â press Ctrl-Alt-F1 to return to the installer.
- Answer any more questions the installer might have, but if it starts asking about partition schemes or package selection, something is wrong – those questions should be answered automatically by the kickstart file.
- There may be an error about a dahdi module requiring a kernel – this does not seem to impact the installation.
- Installer will finish and system will reboot.
- Login as root.
- Connect box to network and config using ‘system-config-network’.Â eth0 is the on-board NIC (WAN) and eth1 is the 4-port NIC (LAN).
- Change web interface password: ‘passwd-maint’
- Change root password: ‘passwd’
- Connect to web interface (user: maint)
- Check ‘Packages’ for updates (none at time of writing)
- Check “PBX->PBX Settings -> Module Admin->Check for Updates Online” (3 at time of writing).Â Click upgrade-all, then ‘process’.
The wanpipe packages available through the Trixbox package manager do not work, but RPMS do exist that can be installed simply:
- Login as root
- ftp or wget ftp://ftp.sangoma.com/linux/custom/yannick/RPMS/RPMS_trixbox-188.8.131.52/wanpipe-modules-2.6.18-184.108.40.206.el5-3.5.10-0.i686.rpm
- ftp or wget ftp://ftp.sangoma.com/linux/custom/yannick/RPMS/RPMS_trixbox-220.127.116.11/wanpipe-util-3.5.10-0.i686.rpm
- Install: ‘rpm -ivh *.rpm’
- Don’t run wancfg – run ‘setup-sangoma’ instead.
- Answer questions.Â Mostly say ‘Yes’ to everything.
- Verify – run ‘dmesg’ and look for wanpipe messages, then run ‘asterisk -r’ and type ‘dahdi show channels’ and ‘dahdi show status’