OpenRepeater / scripts

Misc scripts live here like system build scripts. This is a Work-In-Progress...
5 stars 9 forks source link

Install hangs waiting for network DNS to become available #60

Closed Dloranger closed 2 years ago

Dloranger commented 2 years ago

This seems to be an consistant issue for Dloranger while not for RichNeese.

The issue becomes apparent during this portion of the scripts

Processing triggers for resolvconf (1.87) ...
Processing triggers for libgdk-pixbuf-2.0-0:armhf (2.42.2+dfsg-1+deb11u1) ...
Processing triggers for libc-bin (2.31-13+rpt2+rpi1+deb11u4) ...
--------------------------------------------------------------
 Waiting for network/internet connection
--------------------------------------------------------------
Verifying network/internet is still available, please wait...
Network is down.  Waiting 5 seconds for the network to reconnect...

...
Network is down.  Waiting 5 seconds for the network to reconnect...
Network connected.  Proceeding...
--------------------------------------------------------------
 Cloning OpenRepeater files from GitHub repo
--------------------------------------------------------------

This can be fixed by resetting the network port using the following command (via wifi session)

ip link set wlan0 down && ip link set wlan0 up

Dloranger commented 2 years ago

https://github.com/OpenRepeater/scripts/commit/498947340f4e16e87dc9ce6554d12d0cebd1422a