I can ssh into KVM. Are there Linux tools that would send keyboard commands via CLI?
Posts by MarcS
-
-
So how do I ensure the server boots the OMV ISO from the KVM? Currently the server is stuck at the screen after SCSI controller initialised (correctly), because there was no boot device attached.
The NanoKVM keyboard also doesnt do anything. I think its because the USB where KVM is attached only wakes up later in the boot process.
-
So I installed one of those NanoKVMs on the bricked server and I managed to download the OMV.iso into the /data folder.
I also have an empty USB attached to the server but I cannot find a way to write the iso to the empty stick or otherwise install OMV from the iso.
Any ideas?
-
I found a good solution for me was synklogy Dsm in a docker image . Works really well and surveillance station is still the best package for the job of home surveillance.
-
Thts great. Thanks!
-
Yes multi line would be a great solution!!
-
Because I have quite long paths and adding 2 already fills the line. From there changes are just very difficult to manage.
-
Interesting. Thanks.
ChatGPT's insisted that borg has a --follow-symlink parameter. Probably haluzinating....
-
such as
`--follow-symlinks`
Use case:
I want to borg backup 1 single folder. Inside there are symlinks to all the relevant folders I need to backup.
This obviously only works if borg follows the symlink.
The setting canot be added via environment variable.
-
thanks. Will look into that and also looked at the Nanokvm device. They seem really cool. One question: can I load an ISO to the Nanokvm via lan connection or do i need to physically plug in another usb stick and nanokvm is just there to control manual interaction?
-
why not clone the OMV stick and just have them insert the clone?
Because the old stick has physical damage so I have nothing to clone from.
Is your plan to install OMV on the rescue stick to get things working? If it is, having debian netinst installed on it with even the same hostname and ip address would give a huge headstart.
No need for full OMV. All I need is a basic Debian and I can do manual stuff from there via SSH (connect SMB Clients, run docker etc). I tried a Debian Nestat image but it did not boot through. I cannot see the reason so I assume there is still some kind of manual interaction to be done which I cannot do. So I am looking for a 100% hands-off boot live image with sshd.
-
Ok I didnt give enough background info.
Getting it to boot a new stick is not an issue. I have someone that removed the old defect USB. And I can prepare on a nother server on the same LAN a fresh stick. I can then get someone to put that stick into the "down" server and turn it on. The new stick will boot automatically (as it is a replacement of the old one). So in my mind, all I need is a slimed down debian live stick that does not want to install anything and does not need any manual selection of options. Clean startup, start sshd and the rest I can then do remotely via LAN from the other server on the same network. Unfortuanelty its all headless so the stick needs to run streight through so I can connect via ssh.
-
f your system doesn't have ipmi, I recommend nanokvm (I have one) or jetkvm
yes these are all good future additions.
Right now I need a rescue ISO on a stick that can boot without manual interaction. I am sure a live Debian exists somewhere, that has sshd automatically activated.
Has noone ever needed that?
-
Is there a way to create a rescue iso image (for USB stick) on a live OMV server that can be used to boot a second OMV server, where the original boot USB has died?
Requirements:
- the boot server must boot without manual input (offsite, headless)
- after boot the server should be ready to take ssh connections (from internal LAN)
- I dont need all OMV configurations to work, as long as I can get into the server via SSH its fine
I tried creating a modified Debian image from Debian-netstat and from DEBIAN-live, where I added preeseed.cfg to launch ssh at boot but both failed to boot the server.
An ideas?
-
Ok - I have now been able to reboot and the error is gone.
Thanks for your help!
-
I would like external ssh access only via Pub Keys but intern IPs to use passwords.
So I set the Global settings in SSH to [tt]
and I added a match block OMV GUI SSH settings, which does amend the sshd_config correctly, but my password login is still refused (key login works fine).
What am I missing?
-
Ok thanks.
I thought fstab was not used since omv6 anyway. Wasn't everything moved to systems?
-
not yet - is it safe? I don't want the boot to get stuck as I am offsite
-
/dev/sdd is not in the fstab but it is still listed when I run `findmnt --real`.
The cron errors also still continue.
-
need to run: omv-salt deploy run fstab to clean up your /etc/fstab file.
I did that and fstab is now clean BUT I still rceived the Anacron error message: