Jump to content
MrSwitch

web access to wifi 2.0 extension

Recommended Posts

Hi there,

 

I have a Wifi Master 2.0 extension (FW 2.1.3) on Master Brick 2.1 (FW 2.4.10).

Wifi connection in client mode is setup and seemingly works: status of extension is "got IP" (see attachment), it shows up in FritzBox and in an IP scan over my network. However, the software "Advanced IP scanner" does not report any open ports.

When I connect via http:<ip-adress:4284> I get the funny response:

 

Dear Sir or Madam,

 

I regret to inform you that there is no webserver here.

This port is exclusively used for Websockets.

 

Yours faithfully,

 

    WIFI Extension 2.0

 

So everthing seems to work fine, but when I try to access the web frontend with <IP-adress>:80 I only get "404 file not found". Following the documentation I should see a web front, shouldn't I? Or did I overlook to install something onto the Master Brick?

 

Thanks & Greetings

 

André

tinker.thumb.png.37a8e1c1da49b163012760691eb4751d.png

Share this post


Link to post
Share on other sites

You've found a bug.

 

The problem seems to be that Brick Viewer since 2.4.0 doesn't flash the WIFI Extension 2.0 correctly anymore.

 

If you use Brick Viewer 2.3.17 or older to flash the WIFI Extension 2.0 firmware then the Web Interface on port 80 works.

 

I'll figure this out and this will be fixed in the next Brick Viewer version 2.4.7.

Share this post


Link to post
Share on other sites

The problem was that during flashing the WIFI Extension firmware, Brick Viewer did not configure the flash size for the ESP8266 module correctly (Python 2 vs Python 3 bug). This resulted in the web interface HTML/CSS/JS files being stored after the configured end of flash. This make the webserver on the WIFI Extension 2.0 unable to access those files, resulting in a 404.

 

The bug was introduced in Brick Viewer 2.4.0 and will be fixed in Brick Viewer 2.4.7. Older or newer Brick Viewer versions are not affected.

 

Thanks for reporting this problem.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...