Click here to Skip to main content
15,563,228 members
Home / Discussions / Linux Programming
   

Linux Programming

 
AnswerRe: How to recover - Ubuntu 22.04.1 OS fails to install / activate d bus Pin
Jeremy Falcon2-Nov-22 15:08
professionalJeremy Falcon2-Nov-22 15:08 
GeneralRe: How to recover - Ubuntu 22.04.1 OS fails to install / activate d bus Pin
Member 149687716-Nov-22 6:12
Member 149687716-Nov-22 6:12 
Questionexecute multiple commands assigned to a single variable - bash Pin
raphael Oct202216-Oct-22 21:55
raphael Oct202216-Oct-22 21:55 
AnswerRe: execute multiple commands assigned to a single variable - bash Pin
k505417-Oct-22 5:38
mvek505417-Oct-22 5:38 
GeneralRe: execute multiple commands assigned to a single variable - bash Pin
Richard MacCutchan17-Oct-22 6:10
mveRichard MacCutchan17-Oct-22 6:10 
QuestionBlueZ / bluetoothctl - where to look for specific ( mouse events? ) source code? Pin
Member 1496877113-Oct-22 9:04
Member 1496877113-Oct-22 9:04 
AnswerRe: BlueZ / bluetoothctl - where to look for specific ( mouse events? ) source code? Pin
Richard MacCutchan13-Oct-22 23:06
mveRichard MacCutchan13-Oct-22 23:06 
Questionphp that runs on Debian 11 and connects to another machine on the network. Pin
Member 1579676013-Oct-22 5:52
Member 1579676013-Oct-22 5:52 
I am developing a website that uses javascript, php and jQuery.

One of the screens executes a php that connects to the IP of another PC that
is on the same network as the PC with the web server.

However, this PHP fails because it doesn't have access to the other PC.

Both PCs have Debian 11 installed.

Seeing that in any of them to ping the other, it is necessary to do it with sudo, I thought that the problem may be in that it is necessary to add the web user (www-data) to the netdev group, like so I have executed the command:

$ sudo adduser www-data netdev

Adding user `www-data' to group `netdev' ...
Adding user www-data to group netdev
Done.


But the php is still unable to access the other PC.

Should I configure something else?

Any comment or suggestion is welcome.
AnswerRe: php that runs on Debian 11 and connects to another machine on the network. Pin
k505413-Oct-22 6:07
mvek505413-Oct-22 6:07 
GeneralRe: php that runs on Debian 11 and connects to another machine on the network. Pin
Member 1579676013-Oct-22 8:03
Member 1579676013-Oct-22 8:03 
GeneralRe: php that runs on Debian 11 and connects to another machine on the network. Pin
k505413-Oct-22 8:35
mvek505413-Oct-22 8:35 
GeneralRe: php that runs on Debian 11 and connects to another machine on the network. Pin
Member 1579676014-Oct-22 2:53
Member 1579676014-Oct-22 2:53 
QuestionRemoving unneeded OS partitions Pin
Member 149687716-Oct-22 8:31
Member 149687716-Oct-22 8:31 
AnswerRe: Removing unneeded OS partitions Pin
Jeremy Falcon2-Nov-22 15:10
professionalJeremy Falcon2-Nov-22 15:10 
Questiongrub-rescue flashes then grub menu Pin
tumuxoyu6-Jul-22 0:52
tumuxoyu6-Jul-22 0:52 
QuestionBasic on shell ,Git and vagrant Pin
Ezikiel Odutola22-Jun-22 23:24
Ezikiel Odutola22-Jun-22 23:24 
AnswerRe: Basic on shell ,Git and vagrant Pin
Richard Deeming23-Jun-22 0:57
mveRichard Deeming23-Jun-22 0:57 
QuestionMutiboot grub - run last OS option - all Linux Pin
Member 1496877126-May-22 6:35
Member 1496877126-May-22 6:35 
AnswerRe: Mutiboot grub - run last OS option - all Linux Pin
Richard MacCutchan26-May-22 22:46
mveRichard MacCutchan26-May-22 22:46 
GeneralRe: Mutiboot grub - run last OS option - all Linux Pin
Member 1496877127-May-22 7:50
Member 1496877127-May-22 7:50 
GeneralRe: Mutiboot grub - run last OS option - all Linux Pin
Richard MacCutchan27-May-22 22:53
mveRichard MacCutchan27-May-22 22:53 
AnswerRe: Mutiboot grub - run last OS option - all Linux Pin
Gerry Schmitz27-May-22 9:06
mveGerry Schmitz27-May-22 9:06 
GeneralRe: Mutiboot grub - run last OS option - all Linux Pin
Member 1496877128-May-22 7:46
Member 1496877128-May-22 7:46 
GeneralRe: Mutiboot grub - run last OS option - all Linux Pin
Gerry Schmitz28-May-22 8:47
mveGerry Schmitz28-May-22 8:47 
AnswerRe: Mutiboot grub - run last OS option - all Linux Pin
Member 1496877129-May-22 8:44
Member 1496877129-May-22 8:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.