RDC R32xx/HB30x Web UI & System Configuration Design March. 23, 2006 draft version 0.99 RDC Semiconductor Co., Ltd. All Rights Reserved.

Slides:



Advertisements
Similar presentations
1/16 Steven Leung Introduction to HTML/CGI/JavaScript Intro to HTML/CGI/JavaScript How the Web Works HTML: Basic Concept CGI: Basic Concept JavaScript:
Advertisements

DHCP -Ameeta and Haripriya -cmsc 691x. DHCP ► Dynamic Host Configuration Protocol ► It controls vital networking parameters of hosts with the help of.
1 Configuring Internet- related services (April 22, 2015) © Abdou Illia, Spring 2015.
1 Web Server Administration Chapter 3 Installing the Server.
GNU/Linux Filesystem 1 st AUT GNU/Linux Festival Computer Engineering & IT Department Bahador Bakhshi.
Progress Report 11/1/01 Matt Bridges. Overview Data collection and analysis tool for web site traffic Lets website administrators know who is on their.
Guide To UNIX Using Linux Third Edition
CP476 Internet Computing Browser and Web Server 1 Web Browsers A client software program that allows you to access and view Web pages on the Internet –Examples.
1 The World Wide Web. 2  Web Fundamentals  Pages are defined by the Hypertext Markup Language (HTML) and contain text, graphics, audio, video and software.
CGI Programming: Part 1. What is CGI? CGI = Common Gateway Interface Provides a standardized way for web browsers to: –Call programs on a server. –Pass.
Chapter 22 Web Hosting and Internet Servers Xuanxuan Su.
Configuring Apache tomcat Specifying the server port NOTE: Edit the install_dir/conf/server.xml and change the port attribute of the connector element.
1 © 2002, Cisco Systems, Inc. All rights reserved. Router boot procedure.
Linux Operations and Administration
Form Handling, Validation and Functions. Form Handling Forms are a graphical user interfaces (GUIs) that enables the interaction between users and servers.
Apache Tomcat Web Server SNU OOPSLA Lab. October 2005.
Guide To UNIX Using Linux Fourth Edition
hardware and operating systems basics.
Booting and boot levels
Apache Server The Apache Server Apache is a WWW server that implements the HTTP protocol. Apache runs as a daemon. This means that it is a resident.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 6 Switch Configuration.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 6 Switch Configuration Cisco Networking Academy.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.0 Module 6 Switch Configuration.
1 CCNA 3 v3.1 Module 6 Switch Configuration Claes Larsen, CCAI.
5 Chapter Five Web Servers. 5 Chapter Objectives Learn about the Microsoft Personal Web Server Software Learn how to improve Web site performance Learn.
From UEFI Shell to Linux - UEFI Linux BootLoader Zhang Rui Software Engineer Sep 28 th 2011.
Managing Ensembles Nilesh M. Bhide. System Access Models The Stand-alone System –Beowulf system unattached to any external network The Universally Accessible.
SQL Queries Relational database and SQL MySQL LAMP SQL queries A MySQL Tutorial and applications Database Building Assignment.
Database-Driven Web Sites, Second Edition1 Chapter 5 WEB SERVERS.
Putting Applets into Web Pages.  Two things are involved in the process of putting applets onto web pages ◦ The.class files of the applet ◦ The html.
Linux Services Muhammad Amer. 2 xinetd Programs  In computer networking, xinetd, the eXtended InterNET Daemon, is an open-source super-server daemon.
Chapter Two Exploring the UNIX File System and File Security.
Linux Administration. Pre-Install Different distributions –Redhat, Caldera, mandrake, SuSE, FreeBSD Redhat Server Install –Check HCL –Significant issues.
Overview Managing a DHCP Database Monitoring DHCP
Unit - VI. Linux and Real Time: Real Time Tasks Hard and Soft Real Time Tasks Linux Scheduling Latency Kernel Preemption Challenges in Kernel Preemption.
7200 Samsung Confidential & Proprietary Information Copyright 2006, All Rights Reserved. 1/16 OfficeServ 7200 Enterprise IP Solutions Data Server S/W Upgrade.
Module 8 : Configuration II Jong S. Bok
Linux Commands C151 Multi-User Operating Systems.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 3 v3.1 Module 6 Switch Configuration.
27.1 Chapter 27 WWW and HTTP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
8 Chapter Eight Server-side Scripts. 8 Chapter Objectives Create dynamic Web pages that retrieve and display database data using Active Server Pages Process.
7200 Samsung Confidential & Proprietary Information Copyright 2006, All Rights Reserved. 1/7 OfficeServ 7200 Enterprise IP Solutions Data Server S/W Upgrade.
Lab 8 Department of Computer Science and Information Engineering National Taiwan University Lab8 - Root Filesystem 2015/11/10/ 22 1.
Implementation of Embedded OS
IOS Boot Procedure Can be set in Global Config –Router(config)#boot system flash If not in NVRAM as to where to get IOS, default is Flash If not in Flash,
Session 11: Cookies, Sessions ans Security iNET Academy Open Source Web Development.
Lab 5 Department of Computer Science and Information Engineering National Taiwan University Lab5 - OS Kernel 2014/10/21/ 16 1.
Implementation Method Linux-USB Gadget Framework –The Linux-USB Gadget Framework makes it easy for peripherals and other devices embedding GNU/Linux system.
C Copyright © 2006, Oracle. All rights reserved. Oracle Secure Backup Additional Installation Topics.
ECMM6018 Enterprise Networking For Electronic Commerce Tutorial 1 Installing A Web Server.
BY: SALMAN 1.
1.1.2 OneOs Downloading Software Upgrade
Building Secure ColdFusion Applications
BY: SALMAN.
Lesson 4: Configuring File and Share Access
UBUNTU INSTALLATION
Apache Server.
Data Server S/W Upgrade Samsung Electronics Co., Ltd.
CHAPTER 7.
Web UI & System Configuration Design
CCNA 3 v3.1 Module 6 Switch Configuration
Chapter 27 WWW and HTTP.
IS3440 Linux Security Unit 4 Securing the Linux Filesystem
Configuring Internet-related services
Build A New Kernel and Add New System Calls in A Linux OS
Computer System Laboratory
The EU DataGrid Fabric Management Services
Architecture of the web
Computer System Laboratory
Presentation transcript:

RDC R32xx/HB30x Web UI & System Configuration Design March. 23, 2006 draft version 0.99 RDC Semiconductor Co., Ltd. All Rights Reserved.

2 Architecture – Linux Boot Up Linux Kernel Boot Up & Initialization Get & Check configuration in Flash Read configuration data, then initial & enable application Configuration data stored in the Flash Get default configuration in Filesystem Default configuration data stored in the RAMDisk Yes, Found No, not found

3 System Configuration & Flash Format Address define in the //linux2425/drivers/mtd/maps/physmap.c Linux Kernel Configuration Database Ram Disk (File System) Redboot 0x1F0000 0x x3E0000 0x3FFFFF 0x000000

4 Get/Store Configuration in the Flash Get the configuration 1.Read data from the flash (MTD block 2) cat /dev/mtdblock/2 > /tmp/config.tar.gz 2.Decompress the data & check the format tar -zxvf /tmp/config.tar.gz if [ -r /tmp/configuration/sysinfo.conf] …. Store the configuration 1.Compress the configuration data into a file tar -cvzf /tmp/config.tar.gz /tmp/configuration 2.Store the file to the flash (MTD block 2) cat /tmp/config.tar.gz > /dev/mtdblock/2

5 System Configuration - File Lists sysinfo.conf lan.conf wan.conf wireless.conf manage.conf Put in the /tmp/configuration directory Demo & show configuration file. /tmp/configuration : run time configuration data base. /http/config.tar.gz : default configuration file

6 System Configuration - Data Structure # start eth1  Tag to define start DHCP_SERVER=ON  Variable, Value IPADDR= SUBNETMASK= # end eth1  Tag to define end Example : lan.conf

7 Linux Boot Up – Start Service inittab (/etc) rcS (/etc/init.d) S50StartService (/etc/init.d) getmac.sh (/etc/app) getlan.sh … nat.sh … RDC ’ s application entry point 1.Get & check configuration file 2. Invoke individual process Process Functions 1.Read the variable, value pair 2.Apply and enable the configuration ( Demo and explain the program: S50StartService & getmac.sh )

8 Web UI – Http daemon start up Http daemon start up Linux boot up initialization Startup http daemon S50StartService(/etc/init.d) will start up the thttp daemon (/http) ### Start Http Daemon #### chmod 755 /http/webroot  r+x attribute chmod 644 /http/webroot/*.htm  r attribute, no x chmod 755 /http/webroot/*.cgi  r+x attribute /http/thttpd -C /http/thttpd.conf

9 Web UI – thttp.conf user=root cgipat=**. cgi logfile=/tmp/thttpd.log  Must be assigned pidfile=/tmp/thttpd.pid port=80 Globalpasswd dir=/http/webroot  Html path nochroot Put in the /http directory

10 Web UI – Show html Http daemon receive html request RDC ’ s CGI function Get the run time configuration data Run time Configuration Database (/tmp/configuration) Patch & output ( Demo lan_eth1.cgi & lan_eth1.htm )

11 Web UI – Post and Save configuration Http Daemon receive POST request RDC ’ s CGI function Call proccgi - Get the value to enviroment parameter Get the value and save to run time configuration space Run time Configuration Database (/tmp/configuration) ( Demo lan_eth1.cgi & lan_eth1.htm )

12 Files List - Review S50StartService (/etc/init.d/)  RDC main entry point in Linux system boot up /etc/app  Get & apply configuration function directory /etc/http 1.config.tar.gz  Default configuration file 2.thttpd, thttpd.conf  Http daemon 3./etc/http/configuration  Original default configuration file lists (No compressed, no used in the run time code,can be removed to save memory) 4./etc/http/webroot  HTML & CGI root files /tmp 1.thttpd.log, thttpd.pid  Http daemon log files 2.config.tar.gz  From the flash or default configuration file 3./tmp/configuration  Run time configuration data base brctl,iptables,iwpriv  Put in the /etc/app directory proccgi  Put in the /sbin directory

13 Web Firmware Upgrade A tar-ball file include upgrade.lst and all image file( bzImage, redboot.bin, root_fs_i386.ext2.gz). upgrade.lst control what image will be upgrade upgrade.lst contents # start upgrade_files KERNEL_IMAGE=bzImage ROOT_IMAGE=root_fs_i386.ext2.gz REDBOOT_IMAGE=redboot.bin # end upgrade_files

14 Next version Improvement 1.Support Javascript on html, let user configure it more friendly Add on functions 1.DHCP Client in the Wan site 2.DHCP Server in the Lan site 3.Wireless WEP security support 4.FTP/Samba IDE/USB storage access

15 Q & A

Think Big - IBM Think Different - Apple We Think Things Even Beyond - RDC