I have a Brother HL-2170W laser printer that I want to connect to a computer running Debian Gnu/Linux via a crossover cable. The printer is wireless-capable but I’d be happy enough just getting a hardwired ethernet link to work.
I used this command to assign an IP address to the computer’s ethernet iface.:
sudo ifconfig enp2s0 192.0.0.1
I chose this IP because the documentation for the printer says that in the absence of APIPA, the print server built-in to the printer has IP 192.0.0.192.
It apparently follows that I must find the MAC of the printer and I tried using this:
arp -v -i enp2s0
The result is
Entries: 4 Skipped: 4 Found: 0
arp: in 4 entries no match found.