Meteobridge is authoritative DHCP server. **solved**

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

Moderator: Mattk

Post Reply
pehon
Fresh Boarder
Fresh Boarder
Posts: 15
Joined: Mon Jun 04, 2012 11:32 am

Meteobridge is authoritative DHCP server. **solved**

Post by pehon »

Hello!
I got some network issue with a fresh installation of meteobridge-rpi3-v1.3
meteobridge does answer dhcp requests on the network and after a couple of minutes some devices in my network become unusable (including my laptop). You can force that if you stop your home router beeing a dhcp server.

after checking the installed image (/var/etc/dnsmasq.conf.cfg01411c):
dnsmasq ins configured with "dhcp-authoritative", most options are not necessary and there is no "no-dhcp-interface=eth0" or similar. Thats from my point of view wrong (there is also a overlapping dhcp range... a bit strange..)

Steps to reproduce:
- meteobridge-rpi3-v1.3 flash (in my case a raspberry pi 3 with a standard sdhc card (no SLC, still waiting))
- set static ip address (IP, Mask, DNS, Gateway)
- save apply and reboot
- wait a couple of minutes and you will see answered dhcp requests in /var/dhcp.leases. At this time you have two dhcp server and the first wins.

Why is metebrige acting as as DHCP Server in my network?

How do i alter /var/etc/dnsmasq.conf.cfg01411c without loosing my changes after reboot?

Furthermore, I'm not able to login at luci (tried root/meteobridge or meteobridge/meteobridge) "Invalid username and/or password! Please try again."

Thanks,
Peter
User avatar
galfert
Platinum Boarder
Platinum Boarder
Posts: 326
Joined: Sun Jun 24, 2018 10:31 pm
Location: Orlando, FL

Re: Meteobridge is authoritative DHCP server

Post by galfert »

The Meteobridge has the capability to form a separate LAN subnet if you enable it to make a LAN bridge. For this it feature it needs to be DHCP server in that instance for that subnet I believe. If you have incorrectly configured your Meteobridge then it will cause problems. In a normal and proper configuration there should be no issue.

The Meteobridge in some versions also needs the DHCP server function for initial pairing using its MiFi function. Once paired though this should no longer be an issue.

The not being able to log into Luci has been touched on before. I had the same thing happen but it was resolved. Others have noted it too. Did you try a blank password? I forget or didn't notice what occurred to clear this situation after attempting a few things.
Meteobridge RPI | GW1000
Andyk1
Expert Boarder
Expert Boarder
Posts: 87
Joined: Fri Jan 05, 2018 1:14 am
Location: Oklahoma, USA
Contact:

Re: Meteobridge is authoritative DHCP server

Post by Andyk1 »

After the first boot find the Rpi3 IP address on your main router.
set the new MB to Set the IP manually.
Choose an IP address not being used by a device.
Set subnet to same as your original router.
Set the gateway to the router it is on.
DNS the same as the router.
The Rpi 3 can use both 2.4 and 5G wireless networks.
The Rpi 4 only 2.4 for now.
All this of course is while plugged into an ethernet cable.
REBOOT.
Image
User avatar
AlaskaWX
Junior Boarder
Junior Boarder
Posts: 36
Joined: Thu Apr 05, 2012 7:46 pm

Re: Meteobridge is authoritative DHCP server

Post by AlaskaWX »

pehon wrote: Fri Jan 22, 2021 9:58 pm Why is metebrige acting as as DHCP Server in my network?
See this post on how to disable the DNS and DHCP server on Meteobridge RPI that survives reboots:

viewtopic.php?p=37579#p37579

Worked for me. :D
Davis VP2 with IIS and Leaf/Soil + numerous user defined plugin weather stations
User avatar
AlaskaWX
Junior Boarder
Junior Boarder
Posts: 36
Joined: Thu Apr 05, 2012 7:46 pm

Re: Meteobridge is authoritative DHCP server

Post by AlaskaWX »

pehon wrote: Fri Jan 22, 2021 9:58 pm ...
Furthermore, I'm not able to login at luci (tried root/meteobridge or meteobridge/meteobridge) "Invalid username and/or password! Please try again."
...
The key is to login to the Meteobridge web interface initially with the root account using the root password. After you do that you'll automatically be logged into the openwrt luci interface when selecting "Expert Mode" on the Meteobridge Network page.

If you initially login to the Meteobridge web interface with the meteobridge account you'll never be able to run openwrt luci pages. :o

If you have a cached login using the meteobridge account, you'll have to clear the browser data/cache to be able to login with the root account.
Last edited by AlaskaWX on Sat Jan 23, 2021 7:25 pm, edited 1 time in total.
Davis VP2 with IIS and Leaf/Soil + numerous user defined plugin weather stations
pehon
Fresh Boarder
Fresh Boarder
Posts: 15
Joined: Mon Jun 04, 2012 11:32 am

Re: Meteobridge is authoritative DHCP server. **solved**

Post by pehon »

Gorgeous, thanks for all those quick answers! :D

I got rid of dnsmasq (stop/disable) and luci is no ok as well!

For future releases of meteobrige I would disabled dnsmasq, I’m sure that will confuse some users.
jpouyaud
Junior Boarder
Junior Boarder
Posts: 35
Joined: Sun Sep 19, 2010 2:53 pm

Re: Meteobridge is authoritative DHCP server. **solved**

Post by jpouyaud »

pehon wrote: Sat Jan 23, 2021 12:20 pm Gorgeous, thanks for all those quick answers! :D

I got rid of dnsmasq (stop/disable) and luci is no ok as well!

For future releases of meteobrige I would disabled dnsmasq, I’m sure that will confuse some users.
fully agree

I've spent 4h with a PI3 not able to boot on a static IP...
Post Reply