Native PC (UEFI) ssh login problems when HDMI plug is out Topic is solved

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
dornt_
Posts: 11
Joined: Wed Jun 17, 2020 6:56 pm

Native PC (UEFI) ssh login problems when HDMI plug is out

Post by dornt_ »

Hi

After I installed Native PC (UEFI) some strange behaviour happen.
When I have HDMI pluged in PC the DietPi distro seems to boot properly;
in my router web interface I can see the DietPi IP also I can login through SSH using this IP.

When I unplugg the HDMI and I boot the DietPi PC this can't occur.
The IP didn't show up in router interface and I can't login through SSH.
The DietPI is unreacheable.

I have tried on two diferent small fanless native PCs (Shuttle XS35V4 and Mitac Pluto E230);
the DietPi distro was installed on SSD and updated to 6.30.

On both machines the same behaviour.
.
It is impossible to reach through SSH when the PCs were boot with HDMI unpluged.
.

Also, I have tried (on Mitac PC) the procedure from here
https://github.com/MichaIng/DietPi/wiki ... PCs-(UEFI)
using a Debian netboot/mini.iso. Everything was ok, until I had rebooted whithout HDMI plug inserted.

The PC seems to boot (the leds blink) but is unreacheble through SSH.

Because I want to manage the machine exclusively through SSH I want to correct this error.

I like so much the DietPi distro and I learned a lot when I used so I don't want to watch somewhere else to accomplish my needs,
but I don't have any ideea how to go further. I am stuck here ...

You have any ideea?
I miss something?

I know everybody time is limited; any clue could be a start point to me.

Thanks
User avatar
Joulinar
Posts: 2074
Joined: Sat Nov 16, 2019 12:49 am

Re: Native PC (UEFI) ssh login problems when HDMI plug is out

Post by Joulinar »

Hi,

many thanks on your report. Well without screen attached and without SSH, we don't know whats going on. Quite hart to investigate. I will do some guessing as I don't have a native computer running DietPi.
  1. there could be a graphic card/motherboard that require a monitor connected and not able to run headless.
  2. maybe there is an option inside your motherboard config menu allowing to continue booting, even if there are errors detected. Something like "halt on errors"
  3. you could look around for a HDMI dummy plug to simulate a screen. There are plenty of options on Amazon :D
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
dornt_
Posts: 11
Joined: Wed Jun 17, 2020 6:56 pm

Re: Native PC (UEFI) ssh login problems when HDMI plug is out

Post by dornt_ »

Oh, thanks a lot for your suggestions!
Joulinar wrote: Wed Jun 17, 2020 8:35 pm
  1. there could be a graphic card/motherboard that require a monitor connected and not able to run headless.
I will try to find something about video card from manufacturer documentation.
Joulinar wrote: Wed Jun 17, 2020 8:35 pm
  • maybe there is an option inside your motherboard config menu allowing to continue booting, even if there are errors detected. Something like "halt on errors"
The same here, I will report something about UEFI settings.
Joulinar wrote: Wed Jun 17, 2020 8:35 pm
  • you could look around for a HDMI dummy plug to simulate a screen. There are plenty of options on Amazon :D
I have an HDMI adaptor (HDMI to DVI) and I already tried to trick the PC's booting with this adapter pluged in but no success.
HDMI dummy plug seems to be more complex than a simple adapter; it is a good point to investigate and test with.

Tomorrow I will use yout suggestions and I will report here.

Thanks for your ideeas and, not last, for your time.
dornt_
Posts: 11
Joined: Wed Jun 17, 2020 6:56 pm

Re: Native PC (UEFI) ssh login problems when HDMI plug is out

Post by dornt_ »

Hi

For both minipcs

1. I tried to find some manufacturer's information about graphic card or motherboard related to needs about HDMI connection to boot but with no luck.
2. In the config menus I didn't find any option related to errors on boot.

so then

3. I ordered a HDMI dummy plug ... but estimated delivery time is between 26 to 30 this month.

I have nothing but just wait.
Surely I will come back to report something here but seems that will be after more than a few days.

Thank you for your suggestions.
User avatar
Joulinar
Posts: 2074
Joined: Sat Nov 16, 2019 12:49 am

Re: Native PC (UEFI) ssh login problems when HDMI plug is out

Post by Joulinar »

yes, pls keep us posted. curious to see if it working
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
dornt_
Posts: 11
Joined: Wed Jun 17, 2020 6:56 pm

Re: Native PC (UEFI) ssh login problems when HDMI plug is out

Post by dornt_ »

... HDMI dummy plug ... this was the solution.

It seems that both my fanless mini computers have blocked the option to boot whithout hdmi monitor attached.

Thank you for your help!

I will try install LAMP, maybe LLMP stack, over DietPi, to squeze the best performance from these mini computers;

I will report here if I will meet some problems, related to DietPi, off course,
even if at the final the problem is not about DietPi but to my ignorance :D
User avatar
Joulinar
Posts: 2074
Joined: Sat Nov 16, 2019 12:49 am

Re: Native PC (UEFI) ssh login problems when HDMI plug is out

Post by Joulinar »

ok thx for feedback. Good to know that its working now. I mark the issue as solved.

LAMP as well as LLMP can be installed using dietpi-software

Code: Select all

[ ]      ●─ Webserver Stacks ────────────────●  
[ ] 75   LASP: apache2  | sqlite  | php
[ ] 76   LAMP: apache2  | mariadb | php
[ ] 78   LESP: nginx    | sqlite  | php 
[ ] 79   LEMP: nginx    | mariadb | php 
[ ] 81   LLSP: lighttpd | sqlite  | php 
[ ] 82   LLMP: lighttpd | mariadb | php  
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply