ARMweb DHCP errors

Questions about the BASICtools and MakeItC
Post Reply
basicchip
Posts: 1090
Joined: Fri Oct 19, 2012 2:39 am
Location: Weeki Watchee, FL
Contact:

ARMweb DHCP errors

Post by basicchip »

When th unit boots it shows

DHCP
DHCP
DHCP

and then fails, it will not grab an IP

It then shows

MyName ARMweb
MyIP 192.168.0.50
MyMask 255.255.255.0
MyDNS 0.0.0.0
mb_dhcp_MAC 00 00 00 00 00 00
mb_dhcp_IP 0.0.0.0

This has been tested on an Linksys router and now a Netgear router. It fails to
grab a random IP.

However I know it is requesting the IP as my router shows it has assigned an IP
to the unit w/ MAC address but the ArmWeb ignores or rejects the IP.



YahooArchive
Posts: 1462
Joined: Fri Oct 19, 2012 5:11 am

Re: ARMweb DHCP errors

Post by YahooArchive »

Not sure why this thread was hijacked with the spam coment.

My issue is http://192.168.0.50/index.htm will load 100% of the time on IE,
Somtimes with FF I just get the raw HTML dumped, and always with Crome I get
just the raw HTML as text.

and 192.168.0.50 is the IP address of the unit

YahooArchive
Posts: 1462
Joined: Fri Oct 19, 2012 5:11 am

Re: ARMweb DHCP errors

Post by YahooArchive »

No one can check this address becourse its a local private network.
Thats the reasons its contains spam.

If you would like that a internal website is seen by the outside world you
need to setup DNS on the outside world to find your router/firewall.
I am not a expert on that.

Harry

YahooArchive
Posts: 1462
Joined: Fri Oct 19, 2012 5:11 am

Re: ARMweb DHCP errors

Post by YahooArchive »

We test on Linksys, Belkin and Netgear routers, all work fine with ARMweb. If
the router lists the node in its device table then its there. Maybe the Use
Fixed IP is set in the Controls page.

We normally use FireFox so its always good, but have loaded Chrome on XP and
Win7, works fine. IE is checked periodically unless an issue came up, its the
least "standard" html engine.

There have been cases where a router did something a bit out of the ordinary and
we have changed our code to fix it. But we need a lot more details, like the
router model, or a wireshark trace.

Please send everything you see (with no connection to the DHCP server)

Searching for DHCP
DHCP request sent
DHCP request sent
DHCP request sent
DHCP request sent
DHCP request sent
DHCP Get IP Failed

MyName ARMweb
MyIP 192.168.0.50
MyMask 255.255.255.0
MyDNS 0.0.0.0
mb_dhcp_MAC 00 00 00 00 00 00
mb_dhcp_IP 0.0.0.0

Welcome to ARMbasic[7.36] Copyright 2008, Coridium
Corp.
for the ARMweb

If it was just sending DHCP
that would imply corrupted firmware

YahooArchive
Posts: 1462
Joined: Fri Oct 19, 2012 5:11 am

Re: ARMweb DHCP errors

Post by YahooArchive »

We need a lot more details here if you want help.

Like what is in the index.html file you uploaded to the ARMweb

Screen shots of what comes out; you can't attach them here, but you could email
them to techsupport at coridium.us or post them as files in the files section
here.

You might also use the following site to verify the html you are building (you
would need a place to load it on the web)

http://validator.w3.org/

YahooArchive
Posts: 1462
Joined: Fri Oct 19, 2012 5:11 am

Re: ARMweb DHCP errors

Post by YahooArchive »

So I re-loaded the firmware from the site and all is fixed. I must have had
corrupted firmware that was screwing with things.

Now it grabs an IP in first try.

YahooArchive
Posts: 1462
Joined: Fri Oct 19, 2012 5:11 am

Re: ARMweb DHCP errors

Post by YahooArchive »

I emailed details to you.

However the validator is telling me my server is serving up the pages with an
empty content type indicator in the header.

This would be exactly the kind of thing that could cause this issue and somthing
I have no control over.

PS: The ability to manipulate this content type would be nice for an addition to
the armweb.

~~~~~~~~~~~~~~

No Content-Type found!

This document was served with an empty or missing Content-Type header. This is
likely to confuse the validator and other user agents.

HTTP messages SHOULD contain the Content-Type HTTP header.

YahooArchive
Posts: 1462
Joined: Fri Oct 19, 2012 5:11 am

Re: ARMweb DHCP errors

Post by YahooArchive »

> ~~~~~~~~~~~~~~
>
> No Content-Type found!
>
> This document was served with an empty or missing Content-Type header. This is
likely to confuse the validator and other user agents.
>
> HTTP messages SHOULD contain the Content-Type HTTP header.
>


This is a GIGO problem, garbage in garbage out.

The ARMweb does not add any headers to your html files, that is your
responsibility to include in your html files. The only processing the ARMweb
does is anything between <?BASIC ... ?>

The index.htm file you sent had these issues, and what is being sent back from
the ARMweb is what you put in that file in the ARMweb ftp site.

So copy a header from our examples which may be dated or from newer examples on
the web.

Post Reply