Info for NetBSD #47

Closed
opened 2025-01-05 02:50:49 +08:00 by drixter · 1 comment
drixter commented 2025-01-05 02:50:49 +08:00 (Migrated from github.com)

Hi

This is not a issue, but maybe information for others who may need to make it working on NetBSD.
Great app, didn't check the iperf so far, but to make it working correctly on NetBSD below action needs to be done.
You may close this issue right now, just keep in history as informational.

Install mtr and php-posix (in case that you have Apache and PHP, PHP-POSIX is not installed by default from PKGSRC.
Then make a links as suggested with proper paths:

ln -s /usr/pkg/sbin/mtr /usr/bin/mtr
ln -s /usr/pkg/sbin/mtr-packet /usr/bin/mtr-packet

Command which works on NetBSD:

return self::procExecute('ping -c'.$count.' -w 15', $host);
return self::procExecute('ping6 -c'.$count.' -X 15', $host);
return self::procExecute('mtr --raw -n -4 -c '.self::MTR_COUNT, $host);
return self::procExecute('mtr --raw -n -6 -c '.self::MTR_COUNT, $host);
return self::procExecute('traceroute -w 2', $host, $failCount);
return self::procExecute('traceroute6 -w 2', $host, $failCount);

Thanks,

Hi This is not a issue, but maybe information for others who may need to make it working on NetBSD. Great app, didn't check the iperf so far, but to make it working correctly on NetBSD below action needs to be done. You may close this issue right now, just keep in history as informational. Install mtr and php-posix (in case that you have Apache and PHP, PHP-POSIX is not installed by default from PKGSRC. Then make a links as suggested with proper paths: ``` ln -s /usr/pkg/sbin/mtr /usr/bin/mtr ln -s /usr/pkg/sbin/mtr-packet /usr/bin/mtr-packet ``` Command which works on NetBSD: ``` return self::procExecute('ping -c'.$count.' -w 15', $host); return self::procExecute('ping6 -c'.$count.' -X 15', $host); return self::procExecute('mtr --raw -n -4 -c '.self::MTR_COUNT, $host); return self::procExecute('mtr --raw -n -6 -c '.self::MTR_COUNT, $host); return self::procExecute('traceroute -w 2', $host, $failCount); return self::procExecute('traceroute6 -w 2', $host, $failCount); ``` Thanks,
dqos commented 2025-01-05 05:12:05 +08:00 (Migrated from github.com)

Thank you for your contribution. I will add a reference in the README for those who use NetBSD.

Thank you for your contribution. I will add a reference in the README for those who use NetBSD.
Sign in to join this conversation.
No Milestone
No project
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: malhuda/lookingglass#47
No description provided.