Web 51 - "Telnet" Setup |
- Obsluha sériového kanálu - Popisuje nastavení a obsluhu paměti pro sériový kanál.
- Pořadí linkování - Rozdělení do knihoven - Vysvětluje základní rozdíly pouzžitých knihoven.
- knihovna LIBK - moduly jádra (kernel lib).
- knihovna LIBW - podpora aritmetických, logických, I/O, ... funkcí.
Zobrazení konfigurace umožňuje default stránka serveru, alias index.html.
<html><meta http-equiv="Cache-Control" content="no-cache"> <title>89C8252 WWW server</title> <body><center><H1>AT89C8252 WWW server</H1> Welcome in server Web 51<br> running on the AT89S8252 single-chip Microcontroller and RTL8019AS Ethernet Controller.<br> MAC: 'mac.cgi' IP: 'ip.cgi?· MASK: 'ip.cgi?· GW: 'ip.cgi?·<br> COM: 'bd.cgi?·00,N,8,1 Flow Control: XON/XOFF <B>'?xon.cgi?·off{on}</B> RTS/CTS <B>'?rts.cgi?·off{on}</B> POINT: 'ip.cgi?· </center></body></html>
<html><meta http-equiv="Cache-Control" content="no-cache"> <title>89C8252 WWW server</title> <body><center><H1>AT89C8252 WWW server</H1> Welcome in server Web 51<br> running on the AT89S8252 single-chip Microcontroller and RTL8019AS Ethernet Controller.<br> MAC: 00-00-E8-EE-09-F5 IP: 192.168.0.77 MASK: 255.255.255.0 GW: 192.168.0.253<br> COM: 38400,N,8,1 Flow Control: XON/XOFF <B>off</B> RTS/CTS <B>on</B> POINT: 0.0.0.0 </center></body></html>
Změnu konfigurace umožňuje stránka serveru config.html.
<html><meta http-equiv="Cache-Control" content="no-cache"><head> <title>89C8252 WWW config</title></head> <body><form action="/setup.html" method="GET"><input type="password" name="W">Password<br> Protocol:<input type="radio" name="P" value=0'fl.cgi?0>None <input type="radio" name="P" value=2'fl.cgi?2>Xon/Xoff <input type="radio" name="P" value=1'fl.cgi?1>RTS/CTS<br> <select name="B" size="1"> <option value=7'bdc.cgi?7>600 Bd</option> <option value=6'bdc.cgi?6>1200 Bd</option> <option value=5'bdc.cgi?5>2400 Bd</option> <option value=4'bdc.cgi?4>4800 Bd</option> <option value=3'bdc.cgi?3>9600 Bd</option> <option value=2'bdc.cgi?2>19200 Bd</option> <option value=1'bdc.cgi?1>38400 Bd</option> </select>COM speed<br> <input type="text" name="I="'ip.cgi?·">IP Address<br> <input type="text" name="M="'ip.cgi?·">IP Mask<br> <input type="text" name="G="'ip.cgi?·">IP Gateway<br> <input type="text" name="T="'ip.cgi?·">Send to IP (0.0.0.0 - PASIVE mode)<br> <input type="submit="Send"></form></body></html>
<html><meta http-equiv="Cache-Control" content="no-cache"><head> <title>89C8252 WWW config</title></head> <body><form action="/setup.html" method="GET"><input type="password" name="W">Password<br> Protocol:<input type="radio" name="P" value=0>None <input type="radio" name="P" value=2>Xon/Xoff <input type="radio" name="P" value=1 CHECKED>RTS/CTS<br> <select name="B" size="1"> <option value=7>600 Bd</option> <option value=6>1200 Bd</option> <option value=5>2400 Bd</option> <option value=4>4800 Bd</option> <option value=3>9600 Bd</option> <option value=2>19200 Bd</option> <option value=1 SELECTED>38400 Bd</option> </select>COM speed<br> <input type="text" name="I="192.168.0.77">IP Address<br> <input type="text" name="M="255.255.255.0">IP Mask<br> <input type="text" name="G="192.168.0.253">IP Gateway<br> <input type="text" name="T="0.0.0.0">Send to IP (0.0.0.0 - PASIVE mode)<br> <input type="submit="Send"></form></body></html>
Výběr konfigurace mezi vygenerovaným a default profilem umožňuje stránka setup.html serveru.
<html><meta http-equiv="Cache-Control" content="no-cache"> <title>89C8252 WWW setup</title><body> <center><H1>AT89C8252 WWW server</H1><br> 'ipsetup.cgi'MAC: 'mac.cgi'<br> <b>Current config:</b><br> IP: 'ip.cgi?· MASK: 'ip.cgi?· GW: 'ip.cgi?· POINT: 'ip.cgi?·<br> COM: 'bd.cgi?·00,N,8,1 Flow Control: XON/XOFF <B>'?xon.cgi?·off{on}</B> RTS/CTS <B>'?rts.cgi?·off{on}</B><br> <b>New config:</b><br> IP: 'ip.cgi?· MASK: 'ip.cgi?· GW: 'ip.cgi?· POINT: 'ip.cgi?·<br> COM: 'bd.cgi?·00,N,8,1 Flow Control: XON/XOFF <B>'?xon.cgi?·off{on}</B> RTS/CTS <B>'?rts.cgi?·off{on}</B><br> <b>Default config:</b><br> IP: 'ip.cgi?· MASK: 'ip.cgi?· GW: 'ip.cgi?· POINT: 'ip.cgi?·<br> COM: 'bd.cgi?·00,N,8,1 Flow Control: XON/XOFF <B>'?xon.cgi?·off{on}</B> RTS/CTS <B>'?rts.cgi?·off{on}</B> <form action="setup.html" method="GET"><b>Entry Password for change:</b> <input type="password" name="W"><br> <input type="submit" name="E="New->Current"><input type="submit" name="E="Default->Current"><br> <a href="/"><b>Exit</b></a></form></center></body></html>
<html><meta http-equiv="Cache-Control" content="no-cache"> <title>89C8252 WWW setup</title><body><center><H1>AT89C8252 WWW server</H1><br> MAC: 00-00-E8-EE-09-F5<br> <b>Current config:</b><br> IP: 192.168.0.77 MASK: 255.255.255.0 GW: 192.168.0.253 POINT: 0.0.0.0<br> COM: 38400,N,8,1 Flow Control: XON/XOFF <B>off</B> RTS/CTS <B>on</B><br> <b>New config:</b><br> IP: 192.168.0.77 MASK: 255.255.255.0 GW: 192.168.0.253 POINT: 0.0.0.0<br> COM: 38400,N,8,1 Flow Control: XON/XOFF <B>off</B> RTS/CTS <B>on</B><br> <b>Default config:</b><br> IP: 192.168.0.77 MASK: 255.255.255.0 GW: 192.168.0.253 POINT: 0.0.0.0<br> COM: 38400,N,8,1 Flow Control: XON/XOFF <B>off</B> RTS/CTS <B>on</B> <form action="setup.html" method="GET"><b>Entry Password for change:</b> <input type="password" name="W"><br> <input type="submit" name="E="New->Current"><input type="submit" name="E="Default->Current"><br> <a href="/"><b>Exit</b></a></form></center></body></html>
A heslo potřebné pro ovládání ? Platné je uloženo v modulu passwd.asm v definici password:.
(Pro netrpělivé - ve vzorovém konfiguraci je nastaveno na 1234)
POPIS Web51 | NOVINKY | FAQ | OBJEDNÁVKA | DOWNLOAD |
(c)Copyright 2000, 2001, HW server & Radek Benedikt
Web51@HW.cz, Web51.HW.cz Final applications of the Web51 : www.HWgroup.cz |