Cannot access headless PI via SSH after upgrading from Buster to Bullseye - raspberry-pi

Yesterday I upgraded my PI from headless Buster to headless Bullseye. I can ping my PI, but SSH no longer works. The connection is refused.
I tried to fix this problem by adding an ssh file on the boot drive. Unfortunately, ssh is not activated. The ssh file is not deleted.
Does anyone have any idea how I can solve this problem? Can I connect an external monitor to a headless installation to change the raspi-config directly on the device? A fresh installation is unfortunately not an option.

Related

Ubuntu 22.04 LTS automatic shutdown when log off to use RDP

I am experiencing some issues with Ubuntu 22.04 LTS.
I have logout from the Ubuntu server and connect to my Ubuntu server using Remote Desktop (Windows 11). This is the process to be able to connect to RDP.
However, after a short period of time, i experience that the server shutdown/ or go to sleep mode. I need to physically turn it off and ON again.
Can someone please share some information on why does this happen? And any possible fix?
Thank you.

Is there a way to Install Kubernetes offline (without internet connection) on Ubuntu 16.04 machine

I am trying to install Install Kubernetes offline (without an internet connection) on Ubuntu 16.04 machine. Is there any procedure or steps to follow for the installation without internet connectivity?
If you have one machine with no external internet connectivity, then there is no option to install k8s. However if you download all the required software/images you need to install k8s beforehand, then it is possible. Simply transfer the data between machine. Please refer to https://gist.github.com/jgsqware/6595126e17afc6f187666b0296ea0723

VS Code remote server extension shows "attempting to reconnect"

I use Visual Studio Code and RemoteSSH extension to connect to a remote server located across the ocean via the corporate VPN, The connection gets established when I connect via my mobile hotspot, but it keeps showing "Attempting to reconnect" asking for password repeatedly when I use my broadband.
I have compared the internet speed of both the service providers and below are the results.
1)Airtel hotspot(remote ssh works)
2)Hathway broadband(remote ssh does'nt work)
From the above images it is evident that my broadband speed(upload and download) is much better than my internet hotspot speed, In spite of this I am unable to use remote ssh to code using my broadband network, Is there something that needs to be tweaked, or are the internet speed tests in a way inaccurate?
I had similar experience and there are many threads on the subject, none of which resolved it for me.
I am working on a Windows laptop and connecting to remote Centos linux.
I also connect to company network via their VPN.
I resolved it in the following manner, maybe not all steps are required, but this is what I did -but firstly, I setup ssh keys so as not to have to keep using a password, well worth the effort.
Updated the fileWatcher in code to ignore .git folder and venv folder, this improves performance
Updated WSL to WSL2
Install a linux shell on Windows - I was already using an Ubuntu one, installed prior to vscode, but hints online suggested installing it after vscode, so I installed the Kali shell.
Installed openssh-server (to get ssh-keygen) on kali
Launched code from the kali shell, let it do its setup
Even though all extensions were installed on both machine, vscode didn't recognize that and I had to use the option in the extension section to "install exentsions on remote server"
After that, every thing was fine.
Hope that helps anyone else searching this problem.
In Airtel hotspot, your public IP address remains the same.
In case of Hathway broadband, public IP changes very frequently. So, if your VPN is redirecting you over IP, there may be possibility of delay because of authentication verification.

Can't start minikube v1.1.1 on Ubuntu 19.04

Problem with starting minikube 1.1.1 on Ubuntu 19.04:
X Unable to start VM
* Error: [VBOX_HOST_ADAPTER] start: Error setting up host only network on machine start: The host-only adapter we just created is not visible. This is a well known VirtualBox bug. You might want to uninstall it and reinstall at least version 5.0.12 that is is supposed to fix this issue
I've seen this question: How to fix VM issue with minikube start ? however I'm running ubuntu 19.04, not OSX. I've also done Minikube not starting on Ubuntu, throwing errors a couple of times too.
Now, I've installed the dkms package, I've modprobed vbox-dkms into the kernel, UEFI secure boot is set up as part of the dkms installation, but I still can't get minikube to start
Anyone have any ideas where to look next or what the problem might be?
Ps. I'm running virtualbox 6.0.6_Ubuntu r129722

Build and debug a project on a remote server via SSH with Eclipse

Unfortunately, I do not find a solution for my problem in this similiar question.
I have a server with special hardware and a special (GNU-compatible) toolchain. I can only access this server via SSH.
Now I try to set up a development system with Eclipse. Is it possible to set-up a configuration to be able to build and debug via SSH as if the program would run on my local computer? And if yes, could you tell me a little bit about it? ;-)
Provided your server is a Linux machine running a X server, you may want to look around SSH -X.
Install Eclipse on your server
Install an X11 environment on your client (e.g. for Windows: XMing)
Connect to SSH with the -X option (e.g. for Windows, there is a checkbox on Putty)
Launch Eclipse from the ssh connection.