Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user
added 204 characters in body
Source Link

I have made a Linux program that sends UDP packets to a lighting controller. This works under both Ubuntu and Mac OS X. I configured an ethernet port to have a static IP address (with the correct netmask). The ethernet cable pugs straight from the controller device into the Pi.

The app runs on the Pi but I get a 'permission denied' error when trying to open a UDP socket. I edited the dhcpcd.conf file as per these instructions, so I am now able to ping the box and open its web interface in browser; yet I still get the error.

My settings are:

interface eth0
static ip_address=10.0.1.10/24
static routers=10.0.1.1
static domain_name_servers=10.0.1.1

The device's IP is 10.0.1.101, so I have also tried setting those routers and domain_name_servers, to that; but that didn't work either. Is there some additional network configuration I should try that includes specifying the netmask or something?

Any advice is appreciated!

EDIT - It turns out that this only happens when trying to connect to the broadcast IP (10.0.1.255), the other IP works fine. I do need to be able to broadcast though so still looking for a solution...

I have made a Linux program that sends UDP packets to a lighting controller. This works under both Ubuntu and Mac OS X. I configured an ethernet port to have a static IP address (with the correct netmask). The ethernet cable pugs straight from the controller device into the Pi.

The app runs on the Pi but I get a 'permission denied' error when trying to open a UDP socket. I edited the dhcpcd.conf file as per these instructions, so I am now able to ping the box and open its web interface in browser; yet I still get the error.

My settings are:

interface eth0
static ip_address=10.0.1.10/24
static routers=10.0.1.1
static domain_name_servers=10.0.1.1

The device's IP is 10.0.1.101, so I have also tried setting those routers and domain_name_servers, to that; but that didn't work either. Is there some additional network configuration I should try that includes specifying the netmask or something?

Any advice is appreciated!

I have made a Linux program that sends UDP packets to a lighting controller. This works under both Ubuntu and Mac OS X. I configured an ethernet port to have a static IP address (with the correct netmask). The ethernet cable pugs straight from the controller device into the Pi.

The app runs on the Pi but I get a 'permission denied' error when trying to open a UDP socket. I edited the dhcpcd.conf file as per these instructions, so I am now able to ping the box and open its web interface in browser; yet I still get the error.

My settings are:

interface eth0
static ip_address=10.0.1.10/24
static routers=10.0.1.1
static domain_name_servers=10.0.1.1

The device's IP is 10.0.1.101, so I have also tried setting those routers and domain_name_servers, to that; but that didn't work either. Is there some additional network configuration I should try that includes specifying the netmask or something?

Any advice is appreciated!

EDIT - It turns out that this only happens when trying to connect to the broadcast IP (10.0.1.255), the other IP works fine. I do need to be able to broadcast though so still looking for a solution...

deleted 1 character in body
Source Link

I have made a Linux program that sends UDP packets to a lighting controller. This works under both Ubuntu and Mac OS X. I configured an ethernet port to have a static IP address (with the correct netmask). The ethernet cable pugs straight from the controller device into the Pi.

The app runs on the Pi but I get a 'permission denied' error when trying to open a UDP socket. I edited the dhcpcd.conf file as per these instructions, so I am now able to ping the box and open its web interface in browser; yet I still get the error.

My settings are:

interface eth0
static ip_address=10.0.101.10/24
static routers=10.0.1.1
static domain_name_servers=10.0.1.1

The device's IP is 10.0.1.101, so I have also tried setting those routers and domain_name_servers, to that; but that didn't work either. Is there some additional network configuration I should try that includes specifying the netmask or something?

Any advice is appreciated!

I have made a Linux program that sends UDP packets to a lighting controller. This works under both Ubuntu and Mac OS X. I configured an ethernet port to have a static IP address (with the correct netmask). The ethernet cable pugs straight from the controller device into the Pi.

The app runs on the Pi but I get a 'permission denied' error when trying to open a UDP socket. I edited the dhcpcd.conf file as per these instructions, so I am now able to ping the box and open its web interface in browser; yet I still get the error.

My settings are:

interface eth0
static ip_address=10.0.10.10/24
static routers=10.0.1.1
static domain_name_servers=10.0.1.1

The device's IP is 10.0.1.101, so I have also tried setting those routers and domain_name_servers, to that; but that didn't work either. Is there some additional network configuration I should try that includes specifying the netmask or something?

Any advice is appreciated!

I have made a Linux program that sends UDP packets to a lighting controller. This works under both Ubuntu and Mac OS X. I configured an ethernet port to have a static IP address (with the correct netmask). The ethernet cable pugs straight from the controller device into the Pi.

The app runs on the Pi but I get a 'permission denied' error when trying to open a UDP socket. I edited the dhcpcd.conf file as per these instructions, so I am now able to ping the box and open its web interface in browser; yet I still get the error.

My settings are:

interface eth0
static ip_address=10.0.1.10/24
static routers=10.0.1.1
static domain_name_servers=10.0.1.1

The device's IP is 10.0.1.101, so I have also tried setting those routers and domain_name_servers, to that; but that didn't work either. Is there some additional network configuration I should try that includes specifying the netmask or something?

Any advice is appreciated!

I have made a linux appLinux program that sends UDP packets to a lighting controller, this. This works inunder both Ubuntu and OSX -Mac OS X. I just configureconfigured an ethernet port to have a static IP andaddress (with the correct netmask). The ethernet cable pugs straight from the controller device into the Pi.

The app runs on the Pi but I get a 'permission denied' error when trying to open a UDP socket. I edited the dhcpcd.confdhcpcd.conf file as per these instructions, so I am now able to ping the box and open it'sits web interface in browser -browser; yet I still get the error. 

My settings are:

interface eth0
static ip_address=10.0.10.10/24
static routers=10.0.1.1
static domain_name_servers=10.0.1.1

The device isdevice's IP 10.0.1.101is 10.0.1.101, so I have also tried setting those last 2 IPsrouters and domain_name_servers, to thatthat; but itthat didn't work either. Is there some additional network configconfiguration I should try that includes specifying the netmask or something?

Any advice is appreciated!

nay

I have made a linux app that sends UDP packets to a lighting controller, this works in Ubuntu and OSX - I just configure an ethernet port to have a static IP and the correct netmask. The ethernet cable pugs straight from the device into the Pi.

The app runs on the Pi but I get a 'permission denied' error when trying to open a UDP socket. I edited the dhcpcd.conf file as per these instructions, so I am now able to ping the box and open it's web interface in browser - yet I still get the error. My settings are:

interface eth0
static ip_address=10.0.10.10/24
static routers=10.0.1.1
static domain_name_servers=10.0.1.1

The device is IP 10.0.1.101 so I have also tried setting those last 2 IPs to that but it didn't work either. Is there some additional network config I should try that includes specifying the netmask or something?

Any advice appreciated!

nay

I have made a Linux program that sends UDP packets to a lighting controller. This works under both Ubuntu and Mac OS X. I configured an ethernet port to have a static IP address (with the correct netmask). The ethernet cable pugs straight from the controller device into the Pi.

The app runs on the Pi but I get a 'permission denied' error when trying to open a UDP socket. I edited the dhcpcd.conf file as per these instructions, so I am now able to ping the box and open its web interface in browser; yet I still get the error. 

My settings are:

interface eth0
static ip_address=10.0.10.10/24
static routers=10.0.1.1
static domain_name_servers=10.0.1.1

The device's IP is 10.0.1.101, so I have also tried setting those routers and domain_name_servers, to that; but that didn't work either. Is there some additional network configuration I should try that includes specifying the netmask or something?

Any advice is appreciated!

Source Link
Loading