• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED]DHCP server not working
#7
Dear yoshikawa-san,

I have investigated the problem with my personal NIOT-E-NPI3-51-EN-RE device in the office.

I reset it to factory default by updating it to V1.200 firmware version. So it is a fresh device with no containers on it and just loaded with the raw netPI OS with web UI.

I setup the very same static LAN IP network settings and also the Wifi AP with password 12345678 with all the other settings in accordance to your screen shot.

I have let my notebook connected to this Wifi AP and also I have my mobile phone connected to the same Wifi AP. Both get IP addresses as expected.

Then I have powered off my netPI and powered it on again 7 times. After reboot both clients ... notebook and mobile phone ... do get a proper IP address again.

Then I have used the "Reboot" function 5 times in web UI of netPI to check if there is a problem. But also here notebook and mobile phone are getting IP addresses in all cases.

As next I have downloaded my syslog file an searched for "FAILED to start up" and I found this term multiple times in it like this example shows:

Code:
<30>1 2020-06-23T06:39:20+00:00 NTB827EB3B557B NetworkManager 972 - - dnsmasq: failed to create listening socket for 192.168.205.2: Cannot assign requested address
<26>1 2020-06-23T06:39:20+00:00 NTB827EB3B557B dnsmasq 1232 - - failed to create listening socket for 192.168.205.2: Cannot assign requested address
<26>1 2020-06-23T06:39:20+00:00 NTB827EB3B557B dnsmasq 1232 - - FAILED to start up
<4>1 2020-06-23T06:39:20+00:00 NTB827EB3B557B NetworkManager 972 - - <warn>  [1592894360.4236] dnsmasq[0x247f650]: dnsmasq exited with error: Network access problem (address in use, permissions) (2)
<4>1 2020-06-23T06:39:20+00:00 NTB827EB3B557B NetworkManager 972 - - <warn>  [1592894360.4250] dns-mgr: plugin dnsmasq child quit unexpectedly
<30>1 2020-06-23T06:39:20+00:00 NTB827EB3B557B avahi-daemon 909 - - Joining mDNS multicast group on interface wlan0.IPv4 with address 192.168.205.2.
<30>1 2020-06-23T06:39:20+00:00 NTB827EB3B557B avahi-daemon 909 - - New relevant interface wlan0.IPv4 for mDNS.
<30>1 2020-06-23T06:39:20+00:00 NTB827EB3B557B avahi-daemon 909 - - Registering new address record for 192.168.205.2 on wlan0.IPv4.
<30>1 2020-06-23T06:39:20+00:00 NTB827EB3B557B dnsmasq 1236 - - started, version 2.78 cachesize 400
<30>1 2020-06-23T06:39:20+00:00 NTB827EB3B557B dnsmasq 1236 - - compile time options: IPv6 GNU-getopt DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth no-DNSSEC loop-detect inotify
<30>1 2020-06-23T06:39:21+00:00 NTB827EB3B557B dnsmasq 1236 - - DBus support enabled: connected to system bus
<28>1 2020-06-23T06:39:21+00:00 NTB827EB3B557B dnsmasq 1236 - - warning: no upstream servers configured
<30>1 2020-06-23T06:39:21+00:00 NTB827EB3B557B dnsmasq-dhcp 1236 - - DHCP, IP range 192.168.205.3 -- 192.168.205.100, lease time 4h
<30>1 2020-06-23T06:39:21+00:00 NTB827EB3B557B dnsmasq-dhcp 1236 - - DHCP, sockets bound exclusively to interface wlan0
<30>1 2020-06-23T06:39:21+00:00 NTB827EB3B557B systemd 1 - - Created slice system-upnpd.slice.
<30>1 2020-06-23T06:39:21+00:00 NTB827EB3B557B dnsmasq 1236 - - cleared cache
<30>1 2020-06-23T06:39:21+00:00 NTB827EB3B557B systemd 1 - - Starting upnp daemon...
<30>1 2020-06-23T06:39:21+00:00 NTB827EB3B557B dnsmasq 1236 - - setting upstream servers from DBus
<30>1 2020-06-23T06:39:21+00:00 NTB827EB3B557B dnsmasq 1236 - - using nameserver 192.168.100.50#53(via eth0)
<30>1 2020-06-23T06:39:21+00:00 NTB827EB3B557B dnsmasq 1236 - - cleared cache


But if I look further in the log file shown above that nevertheless the service "dnsmasq-dhcp" is started for IP range 192.168.205.3 to 192.168.205.100 as you can see. So my questions is does your log file show the same?

Thx
Armin
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply


Messages In This Thread
[SOLVED]DHCP server not working - by m-yoshikawa - June-22nd-2020, 01:59 AM
RE: DHCP server not working - by Armin@netPI - June-22nd-2020, 04:49 AM
RE: DHCP server not working - by m-yoshikawa - June-22nd-2020, 07:57 AM
RE: DHCP server not working - by Armin@netPI - June-22nd-2020, 08:31 AM
RE: DHCP server not working - by m-yoshikawa - June-22nd-2020, 09:22 AM
RE: DHCP server not working - by SteveO - June-22nd-2020, 04:37 PM
RE: DHCP server not working - by Armin@netPI - June-23rd-2020, 08:02 AM
RE: DHCP server not working - by Armin@netPI - June-23rd-2020, 08:22 AM
RE: DHCP server not working - by m-yoshikawa - June-24th-2020, 06:24 AM
RE: DHCP server not working - by Armin@netPI - June-24th-2020, 07:07 AM
RE: DHCP server not working - by m-yoshikawa - June-24th-2020, 07:33 AM
RE: DHCP server not working - by Armin@netPI - June-24th-2020, 07:40 AM
RE: DHCP server not working - by m-yoshikawa - June-24th-2020, 08:20 AM
RE: DHCP server not working - by Armin@netPI - June-24th-2020, 08:42 AM
RE: DHCP server not working - by m-yoshikawa - June-25th-2020, 06:37 AM
RE: DHCP server not working - by Armin@netPI - June-25th-2020, 06:52 AM
RE: DHCP server not working - by m-yoshikawa - June-25th-2020, 09:44 AM
RE: DHCP server not working - by Armin@netPI - June-25th-2020, 10:16 AM
RE: DHCP server not working - by Armin@netPI - June-25th-2020, 12:56 PM
RE: DHCP server not working - by m-yoshikawa - June-26th-2020, 05:39 AM
RE: DHCP server not working - by ioexpert - August-27th-2020, 01:30 PM
RE: [SOLVED]DHCP server not working - by m-yoshikawa - February-24th-2021, 07:47 AM
RE: [SOLVED]DHCP server not working - by tad - June-11th-2021, 02:03 AM
RE: [SOLVED]DHCP server not working - by Armin@netPI - June-11th-2021, 05:11 AM
RE: [SOLVED]DHCP server not working - by tad - June-11th-2021, 07:04 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Hdmi not working s.stucchi 13 6,478 February-28th-2022, 09:24 AM
Last Post: Armin@netPI
  netPI opc ua server pull image error wswitula 3 3,256 August-27th-2021, 10:47 AM
Last Post: wswitula
  OPC UA server with NetPi RTE DSongra 9 4,538 July-27th-2021, 12:01 PM
Last Post: Armin@netPI
  REST API server data communication MGharat 2 2,559 July-21st-2021, 07:01 AM
Last Post: MGharat
  Profinet stopped working (spidev spi0.0: SPI transfer timed out) Schranz 7 5,251 November-2nd-2020, 04:20 PM
Last Post: Armin@netPI
  Fieldbus Ports not working Schoko 13 8,996 June-29th-2020, 09:43 PM
Last Post: Armin@netPI
  Node-Red "http in"-Node not working DWxPro 8 7,924 June-19th-2020, 01:12 AM
Last Post: DWxPro
  how to pick up PROFINET data and store them to OPC UA server on Node-RED/netPI. tad 7 5,919 March-16th-2020, 10:21 AM
Last Post: Armin@netPI
  Node Red stop working DSongra 1 3,030 February-12th-2020, 08:19 AM
Last Post: Armin@netPI
  PM - develope OPC UA Server using the Codesys Lingyue 5 4,268 January-17th-2020, 11:12 AM
Last Post: Armin@netPI

Forum Jump:


Users browsing this thread: 2 Guest(s)