101-1243 Rabbit Semiconductor, 101-1243 Datasheet - Page 7

SECURE EMBEDDED WEB APPLICATIONS

101-1243

Manufacturer Part Number
101-1243
Description
SECURE EMBEDDED WEB APPLICATIONS
Manufacturer
Rabbit Semiconductor
Series
RabbitCore 4000r
Type
MPU Moduler
Datasheets

Specifications of 101-1243

Contents
Prototype Board, Power Supply and Accessories
Interface Type
Ethernet
Operating Voltage
3.3 V
Board Size
47 mm x 72 mm x 21 mm
Product
Modules
For Use With/related Products
RCM4300
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
316-1136
• SSL_SD_EXPLORE.C—This sample program demonstrates how to access the the miniSD Card via
• SSL_FAT_NETCNFIG.C—This sample program provides an easy method to configure the network
HTTP and HTTPS (SSL) servers. It also illustrates how to protect folders and files so that only
authenticated users can access them via the Web interface. Users can view folders and files, upload
and download files, and delete files via a Web interface..
By default, the sample program creates an ADMIN_FOLDER called “admin” that is only accessible
by the ADMIN_USER authenticated by the ADMIN_PWORD. The default username and password
for these sample programs will allow access to the ADMIN_FOLDER.
If the ADMIN_FOLDER, ADMIN_USER, or ADMIN_PWORD macros are changed, they must also
be changed in the sd_explore.htm file in the Pages folder.
settings of a device using the ifconfig() function call and a Web page driven by RabbitWeb and
protected by SSL. New settings are entered via the Web interface and are stored on the on the miniSD
Card in a file called net.cfg. The net.cfg file is parsed on startup to get the network settings. If
there is no net.cfg file, one is created and a default IP address is stored there.
When the network settings change, the sample program will test the new IP address by pinging it. If
the ping receives a response, that means that another device on the network has the same IP address.
The program will abort changing the network settings. Otherwise the previous network settings will
be stored in a flat text file named net.log on the miniSD Card.
The file names can be changed by using the CONFIG_FILE and LOG_FILE macros in the FAT con-
figuration portion of the code.
Remember to access the Web interface via http://192.168.1.197 in your Web browser.
NOTE: Be cautious when using a Web-based program to set the IP address of the device. If the IP
ADMIN_FOLDER "admin"
ADMIN_USER "rabbit"
ADMIN_PWORD "test"
address is set incorrectly, you may no longer be able to access the Web page. This program does
not test for incorrectly typed IP addresses.
022-0127 Rev. A
7

Related parts for 101-1243