0

I have a link-local address set up for an ethernet dongle via netplan:

# For USB eth dongle
network:
  version: 2
  renderer: NetworkManager
  ethernets:
    enx00249b1ec202:
      dhcp4: no
      dhcp6: no
      link-local: [ ipv4, ipv6]
      addresses: [169.254.11.25/16]

I currently have a Raspberry Pi connected to my PC through that dongle. I tried running arp-scan but after running for a while, it couldn't find the Pi.

$ sudo arp-scan -I enx00249b1ec202 -l
Interface: enx00249b1ec202, datalink type: EN10MB (Ethernet)
Starting arp-scan 1.9.5 with 65536 hosts (https://github.com/royhills/arp-scan)

0 packets received by filter, 0 packets dropped by kernel
Ending arp-scan 1.9.5: 65536 hosts scanned in 263.530 seconds (248.69 hosts/sec). 0 responded

How can I have Arp detect it?

Edit: it's a whole different problem

I thought it was the arp-scan problem, but it turns out that netplan didn't apply upon reboot. I ssh-ed to it through WiFi, and that's when I realized it.

this is the Netplan config file for my Pi:

network:
  version: 2
  renderer: networkd
  ethernets:
    eth0:
      dhcp4: no
      dhcp6: no
      addresses: [169.254.2.14/16]

Did I do anything wrong?

  • If I understand correctly, you're saying that the network interface on the Pi wasn't brought up after reboot. What is the output of netplan apply --debug on the Pi? What is the output of journalctl -l -u systemd-networkd? – slangasek Mar 6 at 20:33

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.