[En-Nut-Discussion] inetq.c sample does not find server

George Ruinelli george at ruinelli.ch
Sun Sep 4 14:09:20 CEST 2005


The example inetq.c receives the correct data from www.kornet.net.

But when I change the INETSERVER to www.ethernut.de (and also some other 
websites), I receive not the asked 
website. It sends me back a website with the string:
"The domain "" is not available."
(see hole log below).
This also happens with many other websites.
Mostly I get an 403 or 404 Error.

I can't understand why?
I tried to change INETURL to "","/index.htm", "index.htm" and others, but no 
success.
I also tried to set INETSERVER to "www.ethernut.de/en/download/index.html" and 
others, but also no success.


Would be great, if somebody could help me.
George

Here my config:
------------------------------------------------------------
#define DNSSERVERIP     "192.168.1.1"
// #define INETSERVER   "www.kornet.net"
#define INETSERVER      "www.ethernut.de"
#define INETSERVERPORT  80
#define INETURL         "/"
#define MY_MAC          {0x00,0x06,0x98,0x21,0x06,0x2d} //is ok!
#define MY_IP           "192.168.1.7"
#define MY_MASK         "255.255.255.0"
#define MY_GATE         "192.168.1.1"




Here the full log for asking for www.ethernut.de
(INETSERVER="www.ethernut.de",INETURL="/"):
------------------------------------------------------------
InetQuery 1.0
Configuring Ethernet interface
192.168.1.2 ready
Connecting 217.160.92.226:80
HTTP/1.1 200 OK
Date: Thu, 25 Aug 2005 12:05:34 GMT
Server: Apache/1.3.26 (Linux/SuSE) mod_ssl/2.8.10 OpenSSL/0.9.6g PHP/4.3.4
X-Powered-By: PHP/4.3.4
Connection: close
Content-Type: text/html

<HTML>
<HEAD>
<META content="text/html; charset=" http-equiv=Content-Type>
<LINK href="/style.css" rel=stylesheet type=text/css>
</HEAD>
<BODY bgColor=#ffffff bottomMargin=0 leftMargin=0 topMargin=0 MARGINHEIGHT="0" 
MARGINWIDTH="0">
<br><script>
top.fraHelp.document.forms[0].txtHelp.value='';
</script>
<script>
function doChange()
{
document.forms[0].submit();
}
</script>

<table class="tblbgcolor" align="left" border="0" cellpadding="3" 
cellspacing="0" bordercolorlight="#CCCCCC" bordercolordark="#FFFFFF">
<tr>
    <TD vAlign=top><p>  </p></TD>
    <TD valign="top"> 
      <P align="center"> </P>
      <P align="center"><img src="logogross.gif" width="382" height="101"></P>
      <P align="center">The domain "" is not available.</P>
      </TD>
  </TR>
</TABLE>
</BODY>
</HTML>


Transfered 1039 bytes in 11 seconds
Disconnecting 217.160.92.226:80
Connecting 217.160.92.226:80
HTTP/1.1 200 OK
Date: Thu, 25 Aug 2005 12:05:44 GMT
Server: Apache/1.3.26 (Linux/SuSE) mod_ssl/2.8.10 OpenSSL/0.9.6g PHP/4.3.4
X-Powered-By: PHP/4.3.4
Connection: close
Content-Type: text/html

<HTML>
<HEAD>
<META content="text/html; charset=" http-equiv=Content-Type>
<LINK href="/style.css" rel=stylesheet type=text/css>
</HEAD>
<BODY bgColor=#ffffff bottomMargin=0 leftMargin=0 topMargin=0 MARGINHEIGHT="0" 
MARGINWIDTH="0">
<br><script>
top.fraHelp.document.forms[0].txtHelp.value='';
</script>
<script>
function
 doChange()
{
document.forms[0].submit();
}
</script>
<table class="tblbgcolor" align="left" border="0" cellpadding="3" 
cellspacing="0" bordercolorlight="#CCCCCC" bordercolordark="#FFFFFF">
<tr>
    <TD vAlign=top><p>  </p></TD>
    <TD valign="top"> 
      <P align="center"> </P>
      <P align="center"><img src="logogross.gif" width="382" height="101"></P>
      <P align="center">The domain "" is not available.</P>
      </TD>
  </TR>
</TABLE>
</BODY>
</HTML>

Transfered 1039 bytes in 8 seconds
Disconnecting 217.160.92.226:80



More information about the En-Nut-Discussion mailing list