U
SER
M
ANUAL
WRAP
P
RODUCT
S
ERIES
Here is an example session from a Windows 2000 laptop, in which all examples are transferred and
unpacked, and the led example is started in the end:
C:\>
d:
D:\>
cd tar
D:\tar>
ftp <wrap-ip-address>
Connected to <wrap-ip-address>.
220 Welcome to Stupid-FTPd server.
User (<wrap-ip>:(none)):
root
331 Guest login ok, send your e-mail address as password.
Password:
buffy
(not echoed)
230 User root logged in.
ftp>
bin
200 Type set to I.
ftp>
cd ram/tmp
250 CWD command successful.
ftp>
put bin-examples-bg.tar
200 PORT command successful.
150 FILE: bin-examples-bg.tar
226 Transfer complete.
ftp: 133120 bytes sent in 0.91Seconds 145.96Kbytes/sec.
ftp>
bye
221 Bye.
D:\tar>
telnet <wrap-ip-address>
wrap login:
root
password:
buffy
(not echoed)
/>
cd /tmp
/mnt/ram/tmp>
tar xvf bin-examples-bg.tar
./btsend
. . .
./www/index.html
/mnt/ram/tmp>
./led
Clear all LEDs, 0: OFF 1: OFF 2: OFF 3: OFF 4: OFF 5: OFF 6: OFF 7: OFF
Press ENTER to continue...
4.5.2 R
UNNING
E
XAMPLES
After the examples have been transferred to the WRAP, they can be run from the directory to which they
were unpacked. The examples with their usage and purpose are described in Table 5.
Note:
The example
WWW pages must be transferred to flash filesystem where the Web server can find them. In this user manual
it is assumed that this has been done by giving command "mv www/* /var/www/htdocs" in the directory
where the bg-examples-bin.tar –file was unpacked.
22 (26)