Saturday, June 3, 2017

Networking with Icaros hosted on OpenSUSE Linux

Icaros Desktop should be usable in hosted mode under any Linux distribution, however startup and configuration scripts were written with Debian-based distros in mind (in practice: Icaros should work at its best with Ubuntu, Mint and derivatives). Unfortunately, we simply haven't the power, the time and the resources to support other Linux 'implementations', but luckily we have a very smart community of proactive users helping us even without asking them! So, if you have issues configuring the network on your hosted installation of Icaros Desktop running on OpenSUSE, please read and follow these instructions from AROS-EXEC's user Superchicken:

"After 2 months of tinkering, I finally figured out how to make networking work in Linux Hosted Icaros on OpenSuse Linux.

Symptom:
After installing, Icaros can ping the host controller, but cannot access or ping the outside network and no internet access.

Problem:
The problem is that SuSEfirewall2 is not configured properly and blocks IPs that are not configured. Turning the firewall off WILL NOT work as the virtual networking adapter won't work when the firewall is off in OpenSuse.

Solution:
You need to edit the SuSEfirewall2 config file at /etc/sysconfig/SuSEfirewall2 and find the line with "FW_FORWARD_MASQ" and change it to reflect what adapter is forwarded to what IP. Ex:

FW_FORWARD_MASQ="10.0.0.198,192.168.166.1,tcp,80"

The first IP will be your host adapter IP address (use your host's IP here). The second IP being the Icaros GATEWAY IP, not the adapter IP inside Icaros. Then tcp and port 80.

After saving the file, you need to restart the firewall using
"sudo systemctl restart SuSEfirewall2". After that you will be able to access the internet with Icaros. Since the adapter is not started at boot, you will need to restart the firewall after the adapter is started. To do that, I just edited the "tap_on" script to include "sudo systemctl restart SuSEfirewall2" AFTER the adapter is brought up.
After this, you are ready to surf the internet in Icaros hosted by OpenSuse."

Translate