Landing Page

This section covers the Meteobridge PRO, PRO2, NANO SD, Raspberry Pi and VM platforms exclusively

Moderator: Mattk

Mora
Fresh Boarder
Fresh Boarder
Posts: 19
Joined: Sun Jan 15, 2023 5:37 pm

Re: Landing Page

Post by Mora »

admin wrote: Sun Sep 03, 2023 11:36 am When you force the MB PRO into REBOOT WIFI AP mode (is selected via pressing button behind pinhole), Meteobridge should show up with its own WLAN where you can connect with your laptop. Being there you can enter all credentials needed for LAN oder WLAN access in your network. When you press "save and apply and reboot" these settings are stored and Meteobridge reboots and tries to connect as said.
What you wrote is clear to me, but I don't want to go to the "landing page" but to the WEB interface where I can configure MB. If the MB starts as an AP, I should be able to access the web frontend. That used to work, but now I can't get any further. When accessing the MB as an AP, the DNS resolution is irrelevant? The main thing is that the tablet I use to access it is in the same address space as the MB.
Maybe I don't understand something fundamental, but how should I configure the MB if I can't access the WEB interface?
User avatar
Gyvate
Platinum Boarder
Platinum Boarder
Posts: 453
Joined: Thu May 14, 2020 4:36 pm
Location: Saarbrücken, Germany

Re: Landing Page

Post by Gyvate »

maybe it's just the wording -
the "WEB" interface has not necessarily anything to do with the "web", the internet - but just with accessing a html or php based interface in a network - this can be the local network. The DNS entries are irrelevant for this - they become interesting when you want to post to external domains (via http/ftp) or in order to download a MB upgrade from the meteobridge website.

When you access your MB via your "web" browser, your connection is usually local - you (via your browser) just call a startup script (.html, .php, .cgi) which displays the interface page in your browser. In your local network you (usually) don't use or need domain names, so DNS (domain name services) resolution is not necessary (= translating a domain name like e.g. google.com into an IP address). You router knows all connected network devices in your local network and can connect you to that.

WLAN/"WiFi" AP (access point) mode means that the device (here MB) opens its own WLAN with its own IP range which you can connect to by selecting the SSID of this WLAN. It's like a secondary access to the MB device via a (second) WLAN. Then you can enter the necessary information needed to connect in the "other" (= your usual) LAN (subnet or as you put it "IP address space") so that after the next reboot MB connects to this LAN and you can connect to it via your browser using the IP address you provided in your configuration. Then you can still add the DNS info.

And the web interface you connect to via the AP is in principle the same as the "usual" web interface. You enter the same building once via the front door (local WLAN/LAN) or the backdoor (MB WLAN AP) and stand then in front of the same door to your apartment (web interface).

Or, if you chose DHCP = dynamic address mode, you will have to figure out what the new IP address of your MB device is then (e.g. router table, network IP finder tool etc.). In most private networks it might be save to enter .250 as the last triplet of the IP address as a fixed/static IP address when you configure MB via the access point (AP); e.g. 192.168.1.250, depending on what the first three triplets look like in your local network. This address is unlikely to be used in a private person's network. If you like it to be another one, you can always change it later in the interface in the "Network" tab.

And, regarding the landing page, if you end up on the landing page, there are links on it to follow so you can enter the data you need to enter for the network access to be later on possible. After the reboot (and having provided the necessary data earlier) you will be able to connect "the usual way".

For the download of the MB software image during/after the factory reset, MB needs to be connected to the internet.
If your router has internet connection, the necessary DNS information with be provided by the router and you don't need to care as the IP is after the factory reset DHCP server provided by the router. Afterwards you can make the address static inside the network configuration page of Meteobridge (for either WLAN or LAN). Then you can enter the IP address of the router as the DNS server IP. (if your network is 192.168.1.0/24, your router's IP address is usually 192.168.1.1 - for other usual IP ranges analogously - if e.g. your IP subnet is 192.168.178.0/24 - usually used by Fritz!Boxes - then the IP of the router is usually 192.168.178.1 etc.)
Last edited by Gyvate on Mon Sep 18, 2023 10:24 am, edited 2 times in total.
WH4000SE 1.6.6/1 x DP1500/4 x GW1000 1.7.7/GW1100 2.3.0/HP1000SE Pro 1.9.3//2 x WH2650 1.7.7/GW2000 3.1.0
2xMeteobridge Pro [B+R] 15161, 2xRPi4B-2GB/16/32 3139,VM128 1704
Weather Landing page: https://meshka.eu
Ecowitt WiKi: https://meshka.eu/Ecowitt/dokuwiki
Mora
Fresh Boarder
Fresh Boarder
Posts: 19
Joined: Sun Jan 15, 2023 5:37 pm

Re: Landing Page

Post by Mora »

admin wrote: Sun Sep 03, 2023 11:36 am When you force the MB PRO into REBOOT WIFI AP mode (is selected via pressing button behind pinhole), Meteobridge should show up with its own WLAN where you can connect with your laptop. Being there you can enter all credentials needed for LAN oder WLAN access in your network. When you press "save and apply and reboot" these settings are stored and Meteobridge reboots and tries to connect as said.

This doesn't work as I've repeated many times now. I have no option to carry out settings on the MB-PRO side. It's not a DNS problem. Final stop landing page.

Alternative: When you select "REBOOT LAN CLIENT" and it is connected to your router it should get an IP from your router and then you can login there to setup WIFI or alike.

Yes, the MB-PRO receives an IP address, that was never a problem. But then see the final destination landing page above.

Fast flashing red LED just tells that Meteobriodge cannot connect to the Meteobridge Internet server to get most recent application code from there. To reach the internet the Meteobridge needs an IP in your LAN, proper routing by your router and proper DNS. Therefore, a lot of places where something can go wrong.
The MB-PRO has a correct, reproducible IP address, gateway is ok and DNS address for name resolution is also ok.
I tried different things with fixed IP, DHCP and different DNS addresses.
Also with other devices.

One of my first guesses was that the Ethernet interface was defective. But that can't be the case, it has an IP address and the landing page is delivered locally

but not this page, older picture e.g
Bildschirmfoto-20201207172927-1922x1022.png
Bildschirmfoto-20201207172927-1922x1022.png (84.74 KiB) Viewed 1524 times
The question is why not? Why is this page (and according to your explanations in AP mode the router connection or DNS resolution doesn't play a role) not accessible. And how do I change that?

Except for direct OpenWrt access, which I'm not familiar with, I tried everything as described on the landing page.


@Gyvate
It is true that the MB PRO cannot connect to the Internet, but why does it not deliver the page shown above?
This is obviously independent of internet access, does local work?
User avatar
Gyvate
Platinum Boarder
Platinum Boarder
Posts: 453
Joined: Thu May 14, 2020 4:36 pm
Location: Saarbrücken, Germany

Re: Landing Page

Post by Gyvate »

if you cannot get into your usual interface by clicking on the link provided on the black-and-white landing page, you may have to reset your MB Pro to factory settings and start over from scratch again.
But you better have a backup of your configuration available - if you never did that, you know now what this can be useful for :wink: .
Also a (recent) backup of your database.
If you don't have a database backup, you now also know why this can be useful :wink:
we can still do this now ...

If your MB Pro has a valid IP address, you will be able to connect to it via SSH (with the PuTTY program - to be installed on your Windows computer).
Connect a FAT32 formatted USB device (USB stick etc.) to your MB Pro,
log in (username and password are the same as for your webinterface), and at the console prompt
root@meteobridge:~#
enter

Code: Select all

/tmp/mnt/data/scripts/backup.sh
this will start the backup to the inserted USB device.
also copy/backup your configuration file:

Code: Select all

cp ./meteobridge.conf /tmp/mnt/data/scripts/meteobridge_20230918.conf
you can of course choose the date in the file name :wink:
Now, before you start the factory reset, copy this file from the Windows exported share (\\METEOBRIDGE\data\scripts\meteobridge_20230918.conf)
to some place on your Windows computer, because the whole file system is going to be reset and content will disappear after the factory reset.
=> if you have self-made/customized templates and exports, save them too.
best would be to copy the whole \\METEOBRIDGE\data tree to your computer disk - so you can copy it back after the factory reset.
Then you can do the factory reset as described in the manual.
best would be to have MB connected via LAN (even if for the start only)

After the factory reset MB should come up with the System/Information page - with a lot of things to be done as red messages in the top section.
Just go first to the System/Administration page and reload your configuration file. After having successfully uploaded the configuration file, most of the red messages should have disappeared. Then you can do the database restore from the USB device.
WH4000SE 1.6.6/1 x DP1500/4 x GW1000 1.7.7/GW1100 2.3.0/HP1000SE Pro 1.9.3//2 x WH2650 1.7.7/GW2000 3.1.0
2xMeteobridge Pro [B+R] 15161, 2xRPi4B-2GB/16/32 3139,VM128 1704
Weather Landing page: https://meshka.eu
Ecowitt WiKi: https://meshka.eu/Ecowitt/dokuwiki
Mora
Fresh Boarder
Fresh Boarder
Posts: 19
Joined: Sun Jan 15, 2023 5:37 pm

Re: Landing Page

Post by Mora »

I already wrote in my first post that I did a reset. Nevertheless, thanks for the tip about backing up the configuration. I didn't know about it, but it might be useful at some point.

However, the WIKI said that the data on the USB stick would not be affected by the reset.

As already written, I can access the MB PRO via ssh in the shell (Linux), but I still can't get to the "System/Information" page.

Despite the reset, I keep coming back to the landing page, although I have tried all the options listed there, it is not possible to set up the MB PRO.

The MB PRO boots normally, I get an IP that I can also access, the final landing page.

Is there any other option that hasn't been listed here yet?
User avatar
Gyvate
Platinum Boarder
Platinum Boarder
Posts: 453
Joined: Thu May 14, 2020 4:36 pm
Location: Saarbrücken, Germany

Re: Landing Page

Post by Gyvate »

as @admin stated earlier - the 2nd LED flashing shows that MB connect connect to the MB internet server.
Without connection, it cannot download the software whose interface you are missing. Hence the landing page...

Following @admin's instruction you should be able to enter all needed information for Meteobridge to download the MB software (the "software stack").
When your router provides the IP dynamically (via DHCP) to the MB Pro, you don't need to enter any DNS information as the router will use its own DNS server information. This might be faulty. The router usually uses the DNS info from the internet access provider, but you can overwrite that in the router - you could enter e.g. DNS1: 208.67.220.220 and DNS2: 1.1.1.1
both open DNS servers. Save and reboot the router.

If it still doesn't work, there are only two possibilities left:
a) your router is (still) wrongly configured
b) something is wrong with your MB Pro

As we are not very good in crystal ball reading, it's very difficult to do more remote diagnosis. To help you more, one would need access to your router and your MB Pro. This could e.g. work with the TeamViewer software getting access to your laptop/PC (or just a PC in your network) and checking all the options from there. If you are ready and willing to do so, send me a PM.

Another option before you need to use the TeamViewer option:
If you have a friend, acquaintance etc. whose network you could temporarily use, you could connect your MB Pro there.

If it continues to show the same symptoms, then you have case b) and likely something is wrong with the MB Pro and you should send it back to your seller (or to Smartbedded as you seem to be located in Germany, Austria or Switzerland - from the language of your interface). But make an agreement before on that with info@meteobridge.com

If it connects and downloads the software stack, you can take it back to your network and work with it as the software is now installed - and figure out the network/router issues. But you already be able to use your MB Pro again. By the way, you don't need your weatherstation nearby to download the software stack.
WH4000SE 1.6.6/1 x DP1500/4 x GW1000 1.7.7/GW1100 2.3.0/HP1000SE Pro 1.9.3//2 x WH2650 1.7.7/GW2000 3.1.0
2xMeteobridge Pro [B+R] 15161, 2xRPi4B-2GB/16/32 3139,VM128 1704
Weather Landing page: https://meshka.eu
Ecowitt WiKi: https://meshka.eu/Ecowitt/dokuwiki
Post Reply