Centos7 on Rpi3

Issues related to configuring your network
Post Reply
infectedgti
Posts: 6
Joined: 2017/02/06 09:48:27

Centos7 on Rpi3

Post by infectedgti » 2017/06/11 17:14:54

Hi, I installed Centos7 (CentOS-Userland-7-armv7hl-Minimal-1611-RaspberryPi3.img) on my Raspberry3.
Just after login, if I want to restart network's services I receive an error Failed to start LSB and I didn't change network setting.
I found a topic where the fix is to create /etc/sysconfig/network and paste NETWORK="yes"
After this step, I can restart network's services.
So I change my IP with static, it works, I can ping my new IP, but I can't SSH on it. I have the prompt user, password, but nothing more.

Do you have an idea ?

tunk
Posts: 1206
Joined: 2017/02/22 15:08:17

Re: Centos7 on Rpi3

Post by tunk » 2017/06/11 18:09:41

On the Rpi can you run ps -ef|grep ssh? There should be an sshd process.
If you have another linux box can you run nmap ip.address.of.rpi on it and see if port 22 is open on the Rpi?

infectedgti
Posts: 6
Joined: 2017/02/06 09:48:27

Re: Centos7 on Rpi3

Post by infectedgti » 2017/06/16 07:04:52

Hi,

I just retried this morning with fresh install of centos.
No problem, I just did
cat > /etc/sysconfig/network << EOF
NETWORK=”yes”

EOF

Change the ip with nmtui and restart network.
[root@ansible ~]# nmap newip

Starting Nmap 6.40 ( http://nmap.org ) at 2017-06-16 09:00 CEST
Nmap scan report for 192.168.252.120
Host is up (0.00061s latency).
Not shown: 999 filtered ports
PORT STATE SERVICE
22/tcp open ssh
MAC Address: B8:27:EB:3B:A9:89 (Raspberry Pi Foundation)

We can close this topic, thanks for your help

Post Reply