You are not logged in.

#1 2017-04-12 13:34:52

rsamurti
Member
From: Mysuru, India
Registered: 2006-11-30
Posts: 29

[Solved] SOPHOs Firewall client causes install problem

Hello,

I am trying to install Arch on a machine which is connected to our institution LAN. The network uses SOPHOs Firewall. To get the IP address for the machine from the DHCP server, the client has to execute the an authentication program called caa with proper certificates, username and password.

Now, the problem is when I start caa with proper certificate, username and password, the client is able to connect to the server as I see from the messages I get. To remain connected, I cannot stop the client program.

To continue with Arch installation, I tried to change over to the next terminal by typing Alt+F1. But in this terminal, if I now try ping archlinux.org it is failing.

What am I missing?

Thanks for your help.

Anand

Last edited by rsamurti (2017-04-19 01:31:13)

Offline

#2 2017-04-12 14:46:14

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,774

Re: [Solved] SOPHOs Firewall client causes install problem

Are you in a chroot when you run caa?
Can you work around this by back-grounding caa and continuing with the install?  (either by appending & to the caa command, or by sending caa a ctrl-z followed by the bg command)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2017-04-12 14:48:44

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,544

Re: [Solved] SOPHOs Firewall client causes install problem

Not sure about this setup, but in some, you have to get a new IP after authenticating.

Online

#4 2017-04-13 16:53:23

rsamurti
Member
From: Mysuru, India
Registered: 2006-11-30
Posts: 29

Re: [Solved] SOPHOs Firewall client causes install problem

I tried running the client in background as mentioned above. But same problem persists.

Offline

#5 2017-04-13 18:58:30

loqs
Member
Registered: 2014-03-06
Posts: 17,328

Re: [Solved] SOPHOs Firewall client causes install problem

What about (to try and make the command think it is not connected to a shell by closing stdin, stdout and stderr ( syntax may be bash specific ) )

$ command 0<&- 1>&- 2>&- &

Offline

#6 2017-04-15 05:13:49

rsamurti
Member
From: Mysuru, India
Registered: 2006-11-30
Posts: 29

Re: [Solved] SOPHOs Firewall client causes install problem

caa can be run in the background using the syntax as given above, but ping www.google.com does not work.

Offline

#7 2017-04-15 10:58:29

loqs
Member
Registered: 2014-03-06
Posts: 17,328

Re: [Solved] SOPHOs Firewall client causes install problem

What about Scimmia's suggestion?

Scimmia wrote:

Not sure about this setup, but in some, you have to get a new IP after authenticating.

Does running caa change the output of?

$ ip addr

If not try restarting the dhcpcd service Installation_guide#Connect_to_the_Internet

Offline

#8 2017-04-17 14:04:53

rsamurti
Member
From: Mysuru, India
Registered: 2006-11-30
Posts: 29

Re: [Solved] SOPHOs Firewall client causes install problem

Hello,

I executed caa in Terminal 1 with proper certificates, username and password.

After this, I opened Terminal 2 by pressing Alt+F2 and logged in as root.

In Terminal 2 when I did ping www.google.com it was not showing the desired results. Then, I entered the line nameserver 8.8.8.8 in /etc/resolv.conf. After this www.google.com is pinging properly. That means that the DNS reference is not alright.

By following the steps mentioned above I was able to install the base system.

That means in our setup there is no need to get a new IP after authenticating by caa.

However I have this question:

The institution network uses the following settings

DNS1: 118.151.209.5
DNS2: 118.151.209.6
Default Gateway: 10.24.7.1

How to use these settings during the installation?

Thank you all for your support.

Anand

Last edited by rsamurti (2017-04-18 16:21:42)

Offline

#9 2017-04-17 15:23:37

loqs
Member
Registered: 2014-03-06
Posts: 17,328

Re: [Solved] SOPHOs Firewall client causes install problem

What is the output of

$ systemctl status dhcpcd@$interfacename
$ ip route
$ ip address
$ cat /etc/resolv.conf

Both before and after running caa.
Try restarting dhcpcd@interfacename and check again.
Does stopping dhcpcd@interfacename before running caa change the status of the above?
Start dhcdpcd@interfacename after caa has been run check the status again.
If all the above fails to obtains the settings via DHCP or being set by caa.
Network_configuration#Manual_assignment (to manually set the default gateway)
Resolv.conf#Using_openresolv or by directly editing /etc/resolv.conf (to set the nameservers)

Offline

#10 2017-04-18 16:21:05

rsamurti
Member
From: Mysuru, India
Registered: 2006-11-30
Posts: 29

Re: [Solved] SOPHOs Firewall client causes install problem

loqs wrote:

What is the output of

$ systemctl status dhcpcd@$interfacename
$ ip route
$ ip address
$ cat /etc/resolv.conf

Both before and after running caa.
Try restarting dhcpcd@interfacename and check again.
Does stopping dhcpcd@interfacename before running caa change the status of the above?
Start dhcdpcd@interfacename after caa has been run check the status again.
If all the above fails to obtains the settings via DHCP or being set by caa.
Network_configuration#Manual_assignment (to manually set the default gateway)
Resolv.conf#Using_openresolv or by directly editing /etc/resolv.conf (to set the nameservers)

I checked as explained above. There is no change in the status. The machine on which I am installing Arch is getting proper IP address. Even the default gateway IP is also taken properly. But I found that the DNS entries are not entered in /etc/resolv.conf. After I entered the institution DNS IP addresses in /etc/resolv.conf manually it is working properly.

Anand

Last edited by rsamurti (2017-04-18 16:37:58)

Offline

Board footer

Powered by FluxBB