Stargate Developer’s Guide
Wireless Sensor Networks
Doc. # 7430-0317-13 Rev. B
Page 15
(You need to create a valid file system on the CF card in order to mount and use it)
$ mkfs.ext2 /dev/hda1
( Mount CF card manually the first time – automatically mounted on subsequent reboots)
$ mount /dev/hda1 /mnt/cf1
PostgreSQL and Xlisten Installation
Locate the software update archive named
StargateCFCard.tar.gz
located in the <CDROM>\8160-
0025-14_A\config folder.
This archive contains an image of the PostgreSQL database and Xlisten tools in a plug-and-play
format. You simply expand the archive in the root of the CF card and reboot the Stargate.
Open Cygwin shell on PC –
$ scp StargateCFCard.tar.gz root@<Stargate IP Address>:/mnt/cf1
The <Stargate IP Address> can be determined using the
ifconfig
command at the Stargate console
prompt.
Open Stargate shell –
$ cd /mnt/cf1
$ tar zxvf StargateCFCard.tar.gz
$ rm StargateCFCard.tar.gz
The next time the Stargate is rebooted PostgreSQL and Xlisten will start up automatically. There is a
bootup script file named
cfcardapps
in the /etc/init.d folder that checks for the presence of the CF
card and automatically starts the applications if they are present on the card.
3.2.2
AmbiCom Wave2Net Wireless 802.11 Compact Flash Card
To provide a short-to-medium range, high speed remote access link to the Stargate the advanced
Stargate kit ships with the AmbiCom Wave2Net wireless 802.11 card. This card plugs into the
available PCMCIA slot using the PCMCIA adaptor module. Although this is a compact flash card
the CF slot is already allocated by the CF memory card thus the adaptor.
Figure 7.
AmbiCom Wireless 802.11 Card (left) with PCMCIA adaptor (right)
The Stargate is preconfigured to recognize this card and to automatically load the required device
drivers. However, some additional configuration is required to allow this card to join a network
using the ad-hoc or access point based methods. There is a file named
wireless.opts
located in the
/etc/pcmcia folder that allows you to specify the settings for your wireless 802.11 network.
Summary of Contents for Stargate
Page 1: ...Stargate Developer s Guide Rev B January 2006 Document 7430 0317 13 ...
Page 50: ......
Page 51: ......