[En-Nut-Discussion] inetq/inetq.c

George Ruinelli george at ruinelli.ch
Thu Aug 25 15:02:22 CEST 2005


Yes, its a SWITCH and I could see the data transfered between other PC's.

I got it now to work (after restarting the modem and it's DHCP-Server).
Also at this time, I could see at etheral the ARP-Request from Ethernut, but 
no answer from the modem (Maybe thats normal, I'm not sure).

But nevertheless, it receives the correct data from www.kornet.net.


But I have now another problem:
When I change the INETSERVER to www.ethernut.de, 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.

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}
#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