How to switch from strongswan to openswan - raspberry-pi

Having installed strongswan on my raspberry pi I want to switch to openswan but it is not working
built openswan and tried sudo make install but it is failing

Related

Raspberry NOOBS: remote desktop / multiple workspaces

I have a Raspberry Pi 4B running under NOOBS. I have installed XRDP to be able to access the Raspberry from Windows.
The remote connection is working fine but whenever I launch an application (ex: Chromium) from Windows, I don't see anything happening. If I check directly on the screen connected on the Raspberry, I see that the application is running there.
It looks like whatever I launch on the remote desktop screen, the output goes to the native screen and I can't see it in the remote desktop window. I'm connected with exactly the same user on both sides.
Do you have any idea how to solve this?
Raspberry is known for not beeing compatible with any VNC Software.
You should try RealVNC first which comes with NOOBS. Make sure you have the latest version.
sudo apt-get update
sudo apt-get install realvnc-vnc-server realvnc-vnc-viewer
At your desktop select Menu > Preferences > Raspberry Pi Configuration > Interfaces.
Ensure that VNC is Enabled.
Now get your RealVNC Application for Windows and youre ready to go.
Another alternative is TightVNC, which works in most cases fine, too.

Running Raspberry Pi 1 OS on Raspberry Pi 3

I have a Raspberry Pi 1 running Raspbian. I tried running the SD card from it on a Raspberry Pi 3 but it didn't boot.
I've read various things about upgrading a Raspberry Pi 2 install to run on Raspberry Pi 3, but little for upgrading from 1 to 3.
Can anyone please help?
All you need to do is update the firmware of your raspberry Pi while the sd card is still plugged in your RPi 1,
Step 1, Update the System, sudo apt-get update
Step 2, Upgrade the System sudo apt-get upgrade
Step 3, Update the firmware itself, sudo apt-get install rpi-update
Reboot and shutdown your RPi 1.
These two links might be helpful for troubleshooting,
Update the Firmware on a Raspberry Pi
Pi 3 cannot boot images
that for with Pi 2?
What is the version of the OS you are running?
uname -a
If it is older than the introduction date of you R Pi2 then it probably will not work. The newer OSs are backward compatible. So I would make a new OS SD boot card.
Have you tried the following commands?
(there is one more command, than Sufiyan wrote, he just installs it, but is not running it)
sudo -s
apt-get update
apt-get dist-upgrade
apt-get install rpi-update
rpi-update
halt
That worked for me, was once migrating some old RasPis to the new ones.
The OS for Raspberry Pi 1 is mainly the same as Pi 3,
so you should be able to install the software for this transfer.
Put NOOBS on the Pi 1's SD and boot. Find the "edit config" area and change the OS to Pi3
First, find a USB to MicroSD card adapter (found on Amazon for dirt cheap). Plug in the Pi 3's SD Card and choose it as the copy to device. Choose the Pi 1's SD as the source, then begin the copy. This can take up to 30 minutes. Next, safely eject the Pi 3's SD Card and format the Pi 1's SD. Next, insert the SDCard into your Pi 3 and boot.
You now have Raspbian Full on the Pi 3.

Raspberry pi freeze when trying to install vlc

I am trying to install vlc on my raspberry pi 3. Using sudo apt-get install vlc. The process starts, but eventually freezes. This is the only time it freezes and it does so every time I try. Cant reboot through ssh either. I use the official stontronica power supply, so doubt that is the problem.
Any help is much appreciated

How to debug application as root in Geany on Raspbian Jessie

Having installed Geany on a Raspberry Pi and added the Debugger plugin, I need the debugger to run the application as root as I am accessing the GPIO libraries and pins on the Raspberry Pi.
I usually run the program using sudo ./programName
I cannot find an option in the debug settings to prefix the debug target with sudo.
Try running geany with sudo geany.

hcitool can't maintain connections on Raspberry Pi

I'm trying to install bluez on a Raspberry Pi. It seems to work, but hcitool lecc always disconnects after ~2 seconds. This happens on a freshly installed os. I follow the steps listed here: http://www.elinux.org/RPi_Bluetooth_LE.
Installing bluez with apt-get instead of building the source seems to have fixed my problem.
sudo apt-get install bluez
sudo apt-get install bluez
will fix this.
When I asked this question, there was no update bluez package in the repos that have bluetooth capability. I must have been compiling from source wrong