Issue to connect to local network right after yunohost installation

Hello there,

I have troubles setting up yunohost specifically starting the post-installation of yunohost on a regular PC (64bit). Because it cannot connect to the local network.

What did I do/observe:

  • burn ISO image to USB (yunohost-buster-4.0.3-amd64-stable)
  • connected ethernet cable to the PC (I observe blinking lights at the etherport)
  • start yunohost installer
  • lights at the etherport stop blinking
  • the installer asks me to connect to my wifi-network with the WPA-key
  • the installation-wizard confirms the connection, my router indicates a new device connected via wifi
  • the installation completes successfully
  • after reboot the yunohost post-installation has no IP (and the router tells me the same thing: the device does not figure on the list of connected devices)
  • I cannot complete the post-installation because of no ip… and I abort the post installation

and that’s where I am stuck, for instance it does not know wpa_supplicant and - of course - I can’t install anything without internet. And I do not know how to write logs or obtain more information that would help understand the problem.

Eventually, I wonder why it does not recognize the existing ethernet interface and connects right away to the internet. I am even more puzzeled that during installation, connecting to the wifi works but after reboot it forgets about it.

Previously, I installed another distro on the same computer and it automatically connected via cable, so my assumption is that it is not a hardware or router issue, but has someting to do with the yunohost installation.

Btw I am a proud ‘owner’ of a yunohost server on my Pi, I just wanted to scale up a little bit and use apps that are a little more resource-hungry or need x64 :wink:

Any help is much appreciated. Thanks


My YunoHost server

Hardware: Computer
YunoHost version: yunohost-buster-4.0.3-amd64
I have access to my server : direct access via keyboard / screen
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

Uuuugh okay I have no clue why that’s happening … Naivelyyyyyy (or rather “I have no other idea about what to try besides… :” ) trying to install a vanilla debian to see if that reproduces (c.f. the netinst image for your architecture (amd64 i guess?) here : )

What is your date on your system ?


Identify your NETWORK_INTERFACE (enp1s0?) and try to see if it’s not a dhclient issue:

ip link

If you have a message like:

DHCPDISCOVER unable to set up timer: out of range

Try to set manually the date with the date command:

date --set="04 OCT 2020 13:01:00"
dhclient -v enp1s0
apt install fake-hwclock

I had this issue with an Acute Angle AA, the date was in 2112…

It could also be an issue with your ethernet driver. I don’t remember if nonfree packages are installed with the yunohost iso ?
If that’s the issue, you can download the good driver and install it manually from an usb key.

Thank you all for the great input and sorry for the late reply.

I followed @Aleks advice with the plain vanilla debian. The installer indeed told me, that a driver is missing (in my case the “rtl_nic/rtl8168h-2.fw”).

So what I did to get yunohost running is

  • Install yunohost via wizzard
  • dismiss the post-installation
  • mount an additional usb stick with the driver (source)
  • sudo dpkg -i firmware-realtek_20200918-1_all.deb
  • sudo dhclient -v enp2s0 (to obtain an IP from my local router, thanks @ljf
  • perform yunohost post-installation

Because in my case after a reboot the computer did not obtain an IP, the dhclient -v enp2s0 command has to be performed at every boot. So i created an executable file with this command and added to crontab -e a line

@reboot /path/to/executablefile

Now it works seamlessly and I have to say it’s quite a leap in performance from a raspi to an i5 :slight_smile:

Thank you again for the support and the awesome project!

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.