annlee wrote:DougieLawson wrote:If ethernet is unplugged then DHCP shouldn't be attempting to activate the interface. Try changing
to
in your interfaces file. If it comes up active DHCP will dither/timing out until it's decided that there's no DHCP server responding then will allocate a 169.254.xxx.xxx address. I guess that's delaying your boot.
You'll also want to disable "4 Wait for Network at Boot Choose whether to wait for networ" in raspi-config.
thanks Doug I think ur the top1 helpful guy here

btw dietpi does not have raspi-config
I added the line you said (didn't have auto eth0) but didn't work, anyways this is my interfaces
Code: Select all
#/etc/network/interfaces
#Please use DietPi-Config to modify network settings.
# Local
auto lo
iface lo inet loopback
#iface eth0 inet dhcp
iface eth0 inet static
address 192.168.1.81
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.254
#allow-hotplug wlan0
#iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
#iface default inet dhcp
auto br0
iface br0 inet static
bridge_ports eth0 wlan0
address 192.168.0.199
broadcast 192.168.0.255
netmask 255.255.255.0
gateway 192.168.0.1
Dougie was right, you only needed to change auto eth0 to allow-hotplug eth0. As you have highly modified your interfaces config file, you may wish to use the original as a reference
https://github.com/Fourdee/DietPi/blob/ ... interfaces
Another option would be to give the eth0 device a static IP. This would disable the DHCP client.
We have a DietPi-Software WiFi hotspot installation coming in the next DietPi update (v105). This will setup and configure your system for a WiFi hotspot automatically.
You never said you were using diet-pi. It's not got the stuff that arrived with raspberrypi-net-mods (which improved the GUI for WiFi but forgot the needs of the headless users).
DietPi-Config has a lightweight WiFi connection and configuration tool using whiptail (allowing use over SSH). We dont need the raspberrypi-net-mods package.