Page 81 / 87 Scroll up to view Page 76 - 80
DSA-3100 Airspot Public/Private Gateway User Manual
74
Check TCP/IP Setting - Windows 2000
1
Select Control Panel - Network and Dial-up Connection.
2
Right click the Local Area Connection icon and select Properties.
3
Select the TCP/IP protocol for your network card.
4
Click on the Properties button.
5
Ensure your TCP/IP settings are correct, as follows.
Using DHCP
To use DHCP, select the radio button to obtain an IP Address automatically. This is the default
Windows settings.
Restart your PC to ensure it obtains an IP Address from the DSA-3100.
Using a fixed IP Address
If your PC is already configured, check with your network administrator before making the
following changes.
1
Enter the DSA-3100's IP address in the Default gateway field and click OK. (Your LAN
administrator can advise you of the IP Address they assigned to the DSA-3100.)
2
If the DNS Server fields are empty, select Use the following DNS server addresses, and
enter the DNS address or addresses provided by your ISP, then click OK.
Checking TCP/IP Setting - Windows XP
1
Select Control Panel - Network and Dial-up Connection.
2
Right click the Local Area Connection icon and select Properties.
3
Select the TCP/IP protocol for your network card.
4
Click on the Properties button.
5
Ensure your TCP/IP settings are correct, as follows.
Using DHCP
To use DHCP, select the radio button to obtain an IP Address automatically. This is the default
Windows settings.
Restart your PC to ensure it obtains an IP Address from the DSA-3100.
Using a fixed IP Address
Page 82 / 87
DSA-3100 Airspot Public/Private Gateway User Manual
75
If your PC is already configured, check with your network administrator before making the
following changes.
1
Enter the DSA-3100's IP address in the Default gateway field and click OK. (Your LAN
administrator can advise you of the IP Address they assigned to the DSA-3100.)
2
If the DNS Server fields are empty, select Use the following DNS server addresses, and
enters the DNS address or addresses provided by your ISP, then click OK.
Appendix 2
Source Code
Login error Page
<html>
<head>
<title>Error</title>
</head>
<body style="font-family: Arial" BGCOLOR=#FFFFFF leftmargin=0 topmargin=0 >
<table width=754 border=0 cellspacing=0 cellpadding=0 height="100%" align=center>
<tr>
<td height="52" width="765" background="/images/down_37.gif" colspan="2">
<div align=center>
Page 83 / 87
DSA-3100 Airspot Public/Private Gateway User Manual
76
<map name=Map2>
<area shape=rect coords=20,9,154,58 href=http://www.dlink.com target=_blank>
</map>
<img src=/images/home_01.jpg width=765 height=95 usemap=#Map2 border=0>
</div>
</td>
</tr>
<tr>
<td height="100%" width="740" valign="top" background="/images/down_37.gif">
<p>&nbsp;</p>
<div align="center">
<center>
<table cellPadding="0" width="80%" style="border: 1 solid #000099"
bgcolor="#E4E4E4">
<tbody>
<tr>
<td align="center" bgColor="#FF0000" width="100%" height="30">
<img border="0" src="../images/error.gif">
</td>
</tr>
<tr>
<td align="center" width="100%" height="30">
<p style="margin-left: 10"><font color="#000080" face="Arial" size="4">
<? echo $msg; ?> : (<? echo $uname; ?>) </font></p>
</td>
</tr>
</tbody>
</table>
</center>
</div>
<p align="center"><input type="button" value="Back" onClick="history.back()"
style="font-family: Arial; font-size: 10pt"></p>
</td>
<td height="100%" width="25" background="/images/down_11.gif">
</td>
</tr>
</table>
Page 84 / 87
DSA-3100 Airspot Public/Private Gateway User Manual
77
</body>
</html>
Login ok Page
<?
include "../include/init.inc";
include "../include/function.inc" ;
$flogout_mode = getValue($db_path . "/flogout");
?>
<HTML>
<HEAD>
<title>My Login Success</title>
<script language="javascript">
function popOne(url)
{
window.open(url,'','directories=0,height=200,width=440,resizable=0,scorllbar=0,status=0,men
ubar=0');
}
function logoff()
{
var example=window.confirm('Are you sure want to logout ?');
if(example)
{
window.close();
popOne('logoff.shtml?uid=<?
echo
$uid;
?>&session=<?
echo
$session; ?>');
}
else
{
window.close();
popOne('popup11.shtml?uid=<?
echo
$uid;
?>&session=<?
echo
$session; ?>');
Page 85 / 87
DSA-3100 Airspot Public/Private Gateway User Manual
78
}
return;
}
</script>
</HEAD>
<? if ($flogout_mode=="Enabled") {?>
<BODY onunload=logoff();>
<? } else {?>
<BODY>
<? } ?>
<form>
<p align="center">
Hello,[<? echo $uid; ?>]<BR>
My Login Success<BR>
<BR>
Please close this window or click this button to
<? if ($flogout_mode=="Enabled") {?>
<input type="submit" name="off" value="Logout" onClick='window.close()'>
<? } else { ?>
<input type="submit" name="off" value="Logout" onClick='logoff()'>
<? }?>
, <BR> thank you!<BR>
<BR>
Login time:
<script language="javascript">
DateObj=new Date();
Todaytime=DateObj.getYear()+"-"+parseInt(DateObj.getMonth()+1)+"-"+DateObj.getDate()+"
"+DateObj.getHours()+":"+DateObj.getMinutes()+":"+DateObj.getSeconds();
document.write (Todaytime);
</script>
</form>
</body>
</html>

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top