You are not logged in.

#1 2015-12-28 21:19

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,989

Ping not working for normal user

Hi, I have just installed mythtv-frontend to test it on q4os, and am having problems connecting to my backend, I noticed from the logs that :-

A CoreContext mythcontext.cpp:427 (FindDatabase) Cannot find (ping) database host 192.168.XXX.XXX on the network

So I went to console and tried to ping it and was given the error message

ping: icmp open socket: Operation not permitted

Is there a simple fix for this? I need it to work for all users.

Dai

Offline

#2 2015-12-28 21:25

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,989

Re: Ping not working for normal user

Sorry I should have googled first, in case anyone else gets stuck with it the answer is to :-

sudo chmod u+s `which ping`

Offline

#3 2015-12-29 11:52

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,230
Website

Re: Ping not working for normal user

Something went probably wrong, as 'ping' is always available for ordinary users in Q4OS.

Offline

#4 2015-12-29 18:53

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,989

Re: Ping not working for normal user

I thought it should have worked, the next time i do a reinstall I will check and see if it works, and if not maybe look into why...
Thanks
Dai

Offline

#5 2016-01-30 15:44

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,989

Re: Ping not working for normal user

I have checked a fresh 1.4.6 installation and 2.0.2 and both are still suffering from this issue, would this be cleared in a future release?

It's only a problem as my memory isn't that good and all I could remember was mythtv had an issue but had to search here to find what it was when installing mythtv-frontend to another pc.

I know it's an easy cli fix here and probably needs quite a bit more work to get it fixed in the installation routines, but I for one would greatly appreciate it. Fingers crossed smile

Dai

Offline

#6 2016-01-30 16:01

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,230
Website

Re: Ping not working for normal user

We are not able to anyhow reproduce, 'ping' command for normal user goes well as expected.

Fresh Q4OS installation with IP address 10.0.0.5:
$ ping 10.0.0.101
64 bytes from 10.0.0.101: icmp_seq=1 ttl=64 time=0.273 ms
64 bytes from 10.0.0.101: icmp_seq=2 ttl=64 time=0.232 ms
---

$ ping 127.0.0.1
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.037 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.134 ms
---

$ sudo ifconfig eth0
eth0      Link encap:Ethernet  Hardware Adresse 08:00:27:af:4f:f2
          inet Adresse:10.0.0.5  Bcast:10.0.0.255  Maske:255.255.255.0
          inet6-Adresse: fe80::a00:27ff:feaf:4ff2/64 Gültigkeitsbereich:Verbindung
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metrik:1
          RX packets:162 errors:0 dropped:0 overruns:0 frame:0
          TX packets:173 errors:0 dropped:0 overruns:0 carrier:0
          Kollisionen:0 Sendewarteschlangenlänge:1000
          RX bytes:17794 (17.3 KiB)  TX bytes:16314 (15.9 KiB)


We would need to specify exact steps to reproduce this issue to be able to fix it.
Which media did you install Q4OS from ? 'Live CD' or 'Install CD' ?

Offline

#7 2016-01-30 16:50

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,230
Website

Re: Ping not working for normal user

Reproduced. This glitch is related to Live CD installations, we will take a look and let findings here.

Offline

#8 2016-01-30 17:13

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,230
Website

Re: Ping not working for normal user

It will be fixed in the next Q4OS release. You can now fix it by this workaround:
$ sudo apt-get --reinstall install iputils-ping

Offline

#9 2016-01-30 17:19

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,989

Re: Ping not working for normal user

Many thanks wink

Dai

Offline

#10 2016-02-19 17:23

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,989

Re: Ping not working for normal user

Just done a fresh install with amd64 1.4.7 live-cd and this issue remains... sad

Dai

Offline

#11 2016-02-19 17:36

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,230
Website

Re: Ping not working for normal user

Sorry, in the Q4OS-1.4.8 should be finally fixed.

Offline

#12 2016-02-19 17:45

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,989

Re: Ping not working for normal user

Many Thanks smile

Dai

Offline

Board footer

Powered by FluxBB