No IP Detected On Boot

What type of hardware are you using: Old laptop or computer
What YunoHost version are you running: Latest
How are you able to access your server: Direct access via physical keyboard/screen
Are you in a special context or did you perform specific tweaking on your YunoHost instance ?: N/A

Describe your issue

Hi,

Having managed to solve my GRUB fail issue, the system is booting YunoHost but I’m getting “No IP Detected”. I’ve logged on using the default user/pw and tried running nmtui (which would allow me to create a static IP) with no luck and ifconfig which might tell me something but neither can be found even under sudo. IIRC I could install some network tools which might give me some of those but that seems a bit difficult with no network to download it from.

Any advice appreciated.

James

Share relevant logs or error messages

N/A

Hi @JamesCRocks ,

How did you install your yunohost, from what image ?
What is your network connection ? Ethernet / Wifi ?
Yunohost is somehow a debian linux.
Try with ip command, ifconfig is deprectated nowadays.
I would blindly suggest :
dhclient eth0
we never now… it could fall in working condition by chance …

I see then it is a follow up of your GRUB Fail (YunoHost Newbie) - #6 by JamesCRocks post. might be relevant to be able to get more context.

Latest image. Ethernet. OK, I’ll try those.

BTW, I’ve tried the same (machine) with Windows Server 2022 and it picks up a network address with no issues.

James

@JamesCRocks

what does ip a command returns ?

Gonna have to throw my hand up and apologise.

I rebuilt and powered up, still the same message (“no ip detected”) so I did what you said and realised that that message applies to something called the loopback.

I installed net-tools (“apt install net-tools”) and as soon as I did realised that I MUST have an internet connection in order to do it… checked and (as you’ve probably realised by now) there was another connection, my actual network card, that wasn’t loopback.

My only excuse is that despite mucking about with Linux on & off for the best part of 25 years, it’s still something close to the dark arts… I was, am now and probably always be much more Windows focussed.

James

To help future readers, can you explain what was the actual solution? A misconfiguration? A wrongly plugged cable?

I think I pretty much explained above… it was mostly a misunderstanding although, being brutally honest, now I’ve given the box a static IP, it no longer says “no ip detected” and actually says the IP. IMO this appears to be something to do with either YunoHost or the underlying Linux distro (Debian 12?) in that it’s reporting something essentially untrue on boot.

I’m unsure whether I’ll stick with YunoHost as it doesn’t appear to support any kind of NAS function, just cloud which isn’t quite the same thing. I could, of course, try installing YunoHost as a script on my current Ubuntu server but that’s been something of a headache so I’m kinda in never never land right now.

James

1 Like