Re: Content of /etc/ethers

2024-01-04 Thread Rick Thomas
Thank you for mentioning "dnsmasq". I do the same thing on my home network and it works very well. Rick On Wed, Jan 3, 2024, at 9:29 PM, Stefan Monnier wrote: >> Which tools read /etc/ethers, what do they expect in there, what do >> they do with the contents? > > AFAIK it's mostly unused

Re: Content of /etc/ethers

2024-01-04 Thread Fred
On 1/3/24 18:07, Steve Keller wrote: Which tools read /etc/ethers, what do they expect in there, what do they do with the contents? Is it only used to show names to a user or take names from a user instead of MAC addresses, like in tcpdump? The Linux man page says the entries in /etc/ethers

Re: Content of /etc/ethers

2024-01-03 Thread Mike Castle
On Wed, Jan 3, 2024 at 6:58 PM Greg Wooledge wrote: > What's not really stated anywhere is *why* these library functions > exist. I don't see many practical application for a library function > that reads a text file full of MAC addresses and hostnames, looks up > one of them, and spits out the

Re: Content of /etc/ethers

2024-01-03 Thread Stefan Monnier
> Which tools read /etc/ethers, what do they expect in there, what do > they do with the contents? AFAIK it's mostly unused nowadays. I have such a file on my DHCP server, where `dnsmasq` reads it (lets me give static IP addresses to some of my machines, even though they're configured via DHCP,

Re: Content of /etc/ethers

2024-01-03 Thread Kushal Kumaran
On Wed, Jan 03 2024 at 08:35:41 PM, Nicholas Geovanis wrote: > On Wed, Jan 3, 2024, 8:23 PM John Hasler wrote: > >> The man page for /etc/ethers (a file) is in net-tools. The file does >> not exist on my Sid system. >> >> The man page: >> >> NAME >>ethers - Ethernet address to IP

Re: Content of /etc/ethers

2024-01-03 Thread Greg Wooledge
On Wed, Jan 03, 2024 at 08:35:41PM -0600, Nicholas Geovanis wrote: > On Wed, Jan 3, 2024, 8:23 PM John Hasler wrote: > > > The man page for /etc/ethers (a file) is in net-tools. The file does > > not exist on my Sid system. > > > > The man page: > > > > NAME > >ethers - Ethernet

Re: Content of /etc/ethers

2024-01-03 Thread Nicholas Geovanis
On Wed, Jan 3, 2024, 8:23 PM John Hasler wrote: > The man page for /etc/ethers (a file) is in net-tools. The file does > not exist on my Sid system. > > The man page: > > NAME >ethers - Ethernet address to IP number database > Isn't that file a somehow surviving BSD-ism? > -- >

Re: Content of /etc/ethers

2024-01-03 Thread John Hasler
The man page for /etc/ethers (a file) is in net-tools. The file does not exist on my Sid system. The man page: NAME ethers - Ethernet address to IP number database DESCRIPTION /etc/ethers contains 48 bit Ethernet addresses and their corresponding IP numbers, one line for each

Re: Content of /etc/ethers

2024-01-03 Thread Greg Wooledge
On Thu, Jan 04, 2024 at 02:07:06AM +0100, Steve Keller wrote: > Which tools read /etc/ethers, what do they expect in there, what do > they do with the contents? unicorn:~$ ls -ld /etc/ethers ls: cannot access '/etc/ethers': No such file or directory > Is it only used to show names to a user or >

Content of /etc/ethers

2024-01-03 Thread Steve Keller
Which tools read /etc/ethers, what do they expect in there, what do they do with the contents? Is it only used to show names to a user or take names from a user instead of MAC addresses, like in tcpdump? The Linux man page says the entries in /etc/ethers should be numeric IP addresses or names