PIKA Forum FAQ

Here you can find answers to questions about how the board works. Use the links or search box below to find your way around.

What are all the connections to the appliance?

The following connections are available to the Warp appliance: 

* power connector  (manditory)
* SD card reader  (optional)
* usb 
* NIC 
* audio in 
* audio out 
* FXS 

* additional FXS/FXO/BRI are available if telephony expansion modules are installed. 

After I plug in the appliance how can I tell it is working?

Once the power adapter is plugged in there are various ways to tell if the appliance 
is operational. 

First, you should see the LED to the right of the LCD turn to red and then eventually 
to green. 

Secondly, there should be messages displayed to the LCD screen. 

Finally, once the appliance has booted completely you should be able to remotely 
access the appliance through SSH access. If this does not work then as a last resort 
users can access the appliance through serial access via the serial cable. 

How do I initially access the appliance?

By default, the appliance is shipped with a static IP address. This IP address is 192.168.1.80. 

Users can either access the appliance using this IP address through SSH access or via webpages. 

Please refer to the Appliance User Guide for more information. This document can be obtained from www.pikatech.com/appliancedownloads 

What are the basic steps required for me to use this appliance?

This is very dependent on what you are trying to accomplish. 

At a minimum the unit can used for basic configuration and calling using the default 
software image provided on the appliance.  

However, the appliance main application is as a development platform allowing users 
to customize the software.  The Pika Application Development Suite (PADS) is provided 
to construct software images for the Warp appliance.

What tools will be provided so I am able to flash images to this box?

Pika provides a program called 'warploader' to flash software images to the unit. This program can be invoked through the Linux command line. 

Using this program there is also an autoflash capability of the box which allows images to be burnt via USB stick. 

The software update procedure is generally the responsibility of the customer but we can assist here. 

What startup script files are available to me?

There are several initialization script files on the appliance. 

Here is the basic initization sequence ultimately spawn from inittab.  Inittab spawns services (svc) and then rc.S.

1) rc.S (This file can be modified but only through PADS.) 

1a) rc.S spawns scripts located in '/persistent/autorun' execute. (Files can be added here.) 

2) rc.local (This file can be modified directly on the Warp.) 

Here is the basic shut down sequence: 

1) rc.0 (This file can be modified.) 

How do I change the IP of the box?

There are a couple of methods for setting the IP address of the box. 

First, the IP address can be changed by editting the '/etc/networking.conf' file on the 
appliance. This file can be accessed through SSH or serial connection.  If accessing 
the appliance via SSH this typically requires using a computer on the same subnet 
192.168.1.x.  Please refer to the PIKA WARP the Appliance User Guide under Getting 
Started - System Configuration / Network Connection for more detail.  This document 
is located at www.pikatech.com/appliancedownloads

Secondly, the IP of the unit can be set through uboot. (To access uboot this requires a 
serial connection.) This will override all other settings. 

How can I setup NFS?

NFS stands for a Network File System (NFS). It is a protocol that allows the Pika appliance 
to boot using a remote hard drive over the Internet. This can be very convenient for 
appliance development as it allows users to very easily modify and run code on their 
development machine - as opposed to changing the software directly on the appliance 
memory itself (requiring a flash). 

Here are the steps for setting up a NFS share: 

1) Download PADS to a Linux development machine. (www.pikatech.com/appliancedownloads) 

2) Build PADS. This can be done using 'make menuconfig', 'make' commands from the root 
PADS directory. Afterwards the folder '/build_warp/root' will contain a mountable 
appliance image. 

3) Ensure a tftp server is installed on your development machine and then copy your 
'cuImage.warp' file to the '/tftpboot' folder. 

4) On your development machine, modify your '/etc/exports' file with the appropriate information. 

5) Attach your serial cable from the Warp to the appliance. Using minicom access the appliance 
across the serial cable. Re-boot the appliance and press a key to enter uBoot. 

6) Once in uboot set the following variables 'ipaddr', 'gatewayip', 'netmask', 'serverip' and 'rootpath' 
using the 'setenv' and 'saveenv' commands. 'serverip' should be the IP of your linux development 
machine. 'rootpath' is the folder of your mountable folder on your linux development machine. 

7) In uboot type 'run net_nfs' to have your appliance boot the memory from your linux development 
machine. 

For a more detailed explanation on any of the steps, please refer to PADS User Guide at 
www.pikatech.com/appliancedownloads

How do I add Linux commands to the appliance?

These steps describe how to add a package to busybox through PADS. 

1) On your development machine with PADS installed, go to the ' /package/busybox/' folder 
and open the file named 'bb-config' using your favourite editor. 

2) In this file you can enable any busybox supported feature. For example, recently I enabled 
SORT with these steps. Search to the line containing 'CONFIG_SORT'. Replace: 

CONFIG_SORT is not set 
to CONFIG_SORT=y 

3) Save this modification, remove the folder ' /build_warp/busybox' to force a rebuild, and then 
re-build PADS. Your new binaries/images should have the additional busybox feature. 

Search FAQ

Select this option if you would like your search to look in the text of FAQ items as well as their titles.

Select an option here to specify how you would like your search query to be treated. 'Any words' will return the most numerous but possibly least relevant results, while 'Complete phrase' will return only results that contain exactly what you are searching for.