interface

Failed to send 300 byte long packet over fallback interface

  • by

1.0 Error

While configuring a server, the following errors were noted in the logfiles.

send_packet: Operation not permitted
dhclient.c:2386: Failed to send 300 byte long packet over fallback interface.
DHCPREQUEST on eth0  port 67 (xid=0x1580bfd0)
...

2.0 Solution

There are two possibilities depending upon whether DHCP is being used for getting the network IP address or not.… Read more

Alarm, sleep and High Resolution Timers

  • by

Alarm system call

The alarm system call arranges for the SIGALRM signal to be sent to the calling process after s seconds.

#include <unistd.h>

unsigned int alarm (unsigned int s);

Any previously set alarm is cleared. And if s is 0, no alarm is set.… Read more