./bin/setup
bundle install
+ bundle install
Using rake 13.0.1
Using pcaprub 0.13.1
Using packetfu 1.1.13
Using arp_standin 0.1.0 from source at `.` and installing its executables
Using bundler 2.4.8
Bundle complete! 2 Gemfile dependencies, 5 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
bundle exec rake install
arp_standin 0.1.0 built to pkg/arp_standin-0.1.0.gem.
arp_standin (0.1.0) installed.
# Create systemd service
sudo cp arp-standin.example.service /etc/systemd/system/arp-standin.service
sudo nano /etc/systemd/system/arp-standin.service
# Be sure to set the three configuration environment variables:
# STANDIN_MAC_ADDR: The MAC address of the machine to answer on behalf of.
# STANDIN_IP_ADDR: The IP address of the machine to answer on behalf of.
# NETWORK_INTERFACE: The network interface to send/receive on.
# โ
done
sudo systemctl daemon-reload
sudo systemctl enable arp-standin.service
sudo systemctl start arp-standin.service
systemctl status arp-standin.service # ๐ error see below
arp-standin.service - ARP Stand-in
Loaded: loaded (/etc/systemd/system/arp-standin.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2023-04-23 17:21:36 PDT; 4s ago
Process: 8173 ExecStart=/usr/local/bin/arp_standin (code=exited, status=203/EXEC)
Main PID: 8173 (code=exited, status=203/EXEC)
CPU: 33ms
Apr 23 17:21:36 torrentpi systemd[1]: Started ARP Stand-in.
Apr 23 17:21:36 torrentpi systemd[8173]: arp-standin.service: Failed to locate executable /usr/local/bin/arp_standin: No such file or di>
Apr 23 17:21:36 torrentpi systemd[8173]: arp-standin.service: Failed at step EXEC spawning /usr/local/bin/arp_standin: No such file or d>
Apr 23 17:21:36 torrentpi systemd[1]: arp-standin.service: Main process exited, code=exited, status=203/EXEC
lines 1-11...skipping...
โ arp-standin.service - ARP Stand-in
โ arp-standin.service - ARP Stand-in
Loaded: loaded (/etc/systemd/system/arp-standin.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2023-04-23 17:21:36 PDT; 4s ago
Process: 8173 ExecStart=/usr/local/bin/arp_standin (code=exited, status=203/EXEC)
Main PID: 8173 (code=exited, status=203/EXEC)
CPU: 33ms
Apr 23 17:21:36 torrentpi systemd[1]: Started ARP Stand-in.
Apr 23 17:21:36 torrentpi systemd[8173]: arp-standin.service: Failed to locate executable /usr/local/bin/arp_standin: No such file or di>
Apr 23 17:21:36 torrentpi systemd[8173]: arp-standin.service: Failed at step EXEC spawning /usr/local/bin/arp_standin: No such file or d>
Apr 23 17:21:36 torrentpi systemd[1]: arp-standin.service: Main process exited, code=exited, status=203/EXEC
Apr 23 17:21:36 torrentpi systemd[1]: arp-standin.service: Failed with result 'exit-code'.
ruby -v
ruby 3.2.2 (2023-03-30 revision e51014f9c0) [armv7l-linux-eabihf]