Static IP makes network unusable. Topic is solved

Having issues with your DietPi installation or found a bug? Post it here.
User avatar
Joulinar
Posts: 4504
Joined: Sat Nov 16, 2019 12:49 am

Re: Static IP makes network unusable.

Post by Joulinar »

Besides the connection test the Ret seems to be working
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
maya95
Posts: 48
Joined: Tue Apr 20, 2021 12:20 pm

Re: Static IP makes network unusable.

Post by maya95 »

Joulinar wrote: Tue Apr 20, 2021 3:47 pm Besides the connection test the Ret seems to be working
No. Yesterday when I installed MATE GUI and login to desktop. Firefox was not able to reach any sites.

and now I try to install MATE again and got this, same as all past errors.

Code: Select all

│ Checking DNS resolver                                                                            │
│  - Command: ping -c 1 -W 10 dns9.quad9.net                                                       │
│  - Exit code: 2                                                                                  │
│  - DietPi version: v7.0.2 (MichaIng/master) | HW_MODEL: 20 | HW_ARCH: 10 | DISTRO: 5             │
│  - Image creator: DietPi Core Team                                                               │
│  - Pre-image: Debian mini.iso                                                                    │
│  - Error log:                                                                                    │
│ ping: dns9.quad9.net: Temporary failure in name resolution                                       │
│                                                                                                  │
│               Retry          : Re-run the last command that failed                               │
│               DietPi-Config  : Edit network, APT/NTP mirror settings etc                         │
│               Open subshell  : Open a subshell to investigate or solve the issue                 │
│               Send report    : Uploads bugreport containing system info to DietPi                │
│                              ●─ Devs only ──────────────────────────────────────●                │
│               Change command : Adjust and rerun the command                                      │
│                                                                                                  │
│                                                                                                  │
│                           <Ok>                               <Exit>                              │
│                                                                                                  │
└──────────────────────────────────────────────────────────────────────────────────────────────────┘

User avatar
Joulinar
Posts: 4504
Joined: Sat Nov 16, 2019 12:49 am

Re: Static IP makes network unusable.

Post by Joulinar »

But the same ping test to Quad9 was working well before

Code: Select all

ping -c 1 -W 10 dns9.quad9.net
Seems something with your VM or did you changed anything in between?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
maya95
Posts: 48
Joined: Tue Apr 20, 2021 12:20 pm

Re: Static IP makes network unusable.

Post by maya95 »

But the same ping test to Quad9 was working well before
Yep.
Seems something with your VM or did you changed anything in between?
No.

===

Tried to send bug report, don't know if it succeeded.

Code: Select all

 | IP: 192.168.0.5 | Use up/down buttons to scroll text────────────────────┐
│ Sending bug report
│  - Command: curl --connect-timeout 8 --retry 1 --retry-delay 4 -sSvT
│ ec452965-67f0-4d82-b444-11a546566d54.7z
│ sftp://dietpi-survey:upload2dietpi@ssh.dietpi.com:22/bugreport/
│  - Exit code: 28
│  - DietPi version: v7.0.2 (MichaIng/master) | HW_MODEL: 20 | HW_ARCH: 10 | DISTRO: 5
│  - Image creator: DietPi Core Team
│  - Pre-image: Debian mini.iso
│  - Error log:
│ * Expire in 0 ms for 6 (transfer 0x560af633ffb0)
│ * Expire in 8000 ms for 2 (transfer 0x560af633ffb0)
│ * Expire in 1 ms for 1 (transfer 0x560af633ffb0)
│ * Expire in 0 ms for 1 (transfer 0x560af633ffb0)
│ * Expire in 1 ms for 1 (transfer 0x560af633ffb0)
│ * Expire in 0 ms for 1 (transfer 0x560af633ffb0)
│ * Expire in 0 ms for 1 (transfer 0x560af633ffb0)
│ * Expire in 1 ms for 1 (transfer 0x560af633ffb0)
│ * Expire in 0 ms for 1 (transfer 0x560af633ffb0)
│ * Expire in 0 ms for 1 (transfer 0x560af633ffb0)
│ * Expire in 1 ms for 1 (transfer 0x560af633ffb0)
│ * Expire in 0 ms for 1 (transfer 0x560af633ffb0)
│ * Expire in 0 ms for 1 (transfer 0x560af633ffb0)
│
│              Retry          : Re-run the last command that failed                 ↑
│              DietPi-Config  : Edit network, APT/NT
Last edited by maya95 on Tue Apr 20, 2021 4:22 pm, edited 1 time in total.
User avatar
Joulinar
Posts: 4504
Joined: Sat Nov 16, 2019 12:49 am

Re: Static IP makes network unusable.

Post by Joulinar »

This did not worked. Can you run again

Code: Select all

ping -c 1 -W 10 dns9.quad9.net
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
maya95
Posts: 48
Joined: Tue Apr 20, 2021 12:20 pm

Re: Static IP makes network unusable.

Post by maya95 »

Joulinar wrote: Tue Apr 20, 2021 4:22 pm This did not worked. Can you run again

Code: Select all

ping -c 1 -W 10 dns9.quad9.net

Code: Select all

root@DietPi:~# ping -c 1 -W 10 dns9.quad9.net
ping: dns9.quad9.net: Temporary failure in name resolution
==

from Windows

Code: Select all

C:\Windows\system32>ping dns9.quad9.net

Pinging dns9.quad9.net [149.112.112.9] with 32 bytes of data:
Reply from 149.112.112.9: bytes=32 time=84ms TTL=56
Reply from 149.112.112.9: bytes=32 time=79ms TTL=56
Reply from 149.112.112.9: bytes=32 time=40ms TTL=56
Reply from 149.112.112.9: bytes=32 time=43ms TTL=56

Ping statistics for 149.112.112.9:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 40ms, Maximum = 84ms, Average = 61ms
User avatar
Joulinar
Posts: 4504
Joined: Sat Nov 16, 2019 12:49 am

Re: Static IP makes network unusable.

Post by Joulinar »

Are you using same DNS server on windows as well as on the VM?

But as said, this was working fine before on another test you did
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
maya95
Posts: 48
Joined: Tue Apr 20, 2021 12:20 pm

Re: Static IP makes network unusable.

Post by maya95 »

DNS is 1.1.1.1 and 8.8.8.8 on the router.

and the behavior now is the same behavior as past, always.

DHCP was fine, once switched to static, it stopped working immediately.

Could you test yourself using the VM image on the site?
User avatar
Joulinar
Posts: 4504
Joined: Sat Nov 16, 2019 12:49 am

Re: Static IP makes network unusable.

Post by Joulinar »

Can you change DNS to 8.8.8.8 on the VM as well
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
maya95
Posts: 48
Joined: Tue Apr 20, 2021 12:20 pm

Re: Static IP makes network unusable.

Post by maya95 »

Joulinar wrote: Tue Apr 20, 2021 4:44 pm Can you change DNS to 8.8.8.8 on the VM as well
tested. same result. [Failure]|Offline
Post Reply