Ethernet won't connect on power off/on Topic is solved

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
G0TSG
Posts: 5
Joined: Sun Sep 22, 2019 7:56 pm

Ethernet won't connect on power off/on

Post by G0TSG »

More or less new to the pi... so please treat me as a noob !

Installed diet pi on a raspi 3, installed pihole and all is dandy.
But power off and on again and the network won't connect... unless I start dietpi-config, go into network and click "apply"!

Obviously it's saving my static settings as they appear correctly... it's just not applying them on boot.

Help please ?
Paul

User avatar
johnvick
Legend
Posts: 685
Joined: Wed Jun 08, 2016 10:53 am
Location: New Zealand

Re: Ethernet won't connect on power off/on

Post by johnvick »

Have you fixed the device's IP address on the router?

John

G0TSG
Posts: 5
Joined: Sun Sep 22, 2019 7:56 pm

Re: Ethernet won't connect on power off/on

Post by G0TSG »

Hi John... no I havnt, the router sends DCHP to other devices, but as the pi has a static ip outside the DCHP pool, it will never be reassigned.

The issue seems to be that the pi isn't assigning the static settings on boot, therefore the router isn't seeing it.
Paul

G0TSG
Posts: 5
Joined: Sun Sep 22, 2019 7:56 pm

Re: Ethernet won't connect on power off/on

Post by G0TSG »

Addendum :

Set the network back to DCHP... same :-(
Set "don't boot until network connection" or whatever its called, and it's been in a loop for a hour now... so I'm sure it's the pi end, and not a router thing.

Can I break out of this loop now, or am I reinstalling ?

TIA
Paul

G0TSG
Posts: 5
Joined: Sun Sep 22, 2019 7:56 pm

Re: Ethernet won't connect on power off/on

Post by G0TSG »

Any idea guys please..... ?
Paul

User avatar
MichaIng
Site Admin
Posts: 1926
Joined: Sat Nov 18, 2017 5:21 pm

Re: Ethernet won't connect on power off/on

Post by MichaIng »

@G0TSG
Have you set it up via dietpi-config?

Please try to boot without waiting forever for network, then check/paste:

Code: Select all

ip a
ip r
journalctl -u networking

G0TSG
Posts: 5
Joined: Sun Sep 22, 2019 7:56 pm

Re: Ethernet won't connect on power off/on

Post by G0TSG »

MichaIng wrote:
Fri Sep 27, 2019 4:38 pm
@G0TSG
Have you set it up via dietpi-config?

Please try to boot without waiting forever for network, then check/paste:

Code: Select all

ip a
ip r
journalctl -u networking
Thanks for the reply... but that's all Greek to me :-(

... turns out I had a duff port on a switch !
Paul

Post Reply