Hi guys,
I'm trying to install PTPd-2.3.1 on a Beaglebone Black running Debian Wheezy, after executing the make command and updating the client-e2e-socket.conf (ptpengine:interface = ethernet) I got the following error messages:
Interface eth0 seems to be down. PTPd will not operate correctly until it's up.
So I run 'ifconfig eth0 up' and ./src/ptpd2 -c test/client-e2e-socket.conf
This time around I got the same message plus a new one:
Interface eth0 seems to be down. PTPd will not operate correctly until it's up.
Another ptpd2 instance is running: /var/run/ptpd2.lock locked by PID 6312
Error: file lock failed (use -L or global:ignore_lock to ignore lock file)
PTPDv2 startup failed
Any thoughts about how can I solve it?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm not sure why the interface is reporting down, but it looks like you do already have another PTPd running, you need to stop it. Maybe you installed a system package, ptpd 2.2.x that came with Wheezy - stop the ptpd service and uninstall the ptpd package first.
What is "ifconfig eth0" showing ?
Thanks,
Wojciech
Last edit: Wojciech Owczarek 2015-11-24
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
thanks for the fast reply! I realized I was using the wrong interface setting, eth0 instead of usb0 ( the beaglebone is connected via usb), after this correction and killing the other ptpd instance it worked!
Regards
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi guys,
I'm trying to install PTPd-2.3.1 on a Beaglebone Black running Debian Wheezy, after executing the make command and updating the client-e2e-socket.conf (ptpengine:interface = ethernet) I got the following error messages:
So I run 'ifconfig eth0 up' and ./src/ptpd2 -c test/client-e2e-socket.conf
This time around I got the same message plus a new one:
Any thoughts about how can I solve it?
Hi,
I'm not sure why the interface is reporting down, but it looks like you do already have another PTPd running, you need to stop it. Maybe you installed a system package, ptpd 2.2.x that came with Wheezy - stop the ptpd service and uninstall the ptpd package first.
What is "ifconfig eth0" showing ?
Thanks,
Wojciech
Last edit: Wojciech Owczarek 2015-11-24
Hi,
thanks for the fast reply! I realized I was using the wrong interface setting, eth0 instead of usb0 ( the beaglebone is connected via usb), after this correction and killing the other ptpd instance it worked!
Regards