On Sun 14 May 2023 at 07:10:02 (+0200), Vincent Lefevre wrote: > On 2023-05-13 18:41:12 +0800, hl wrote: > > On 5/13/23 18:01, Vincent Lefevre wrote: > > > On 2023-05-13 17:19:01 +0800, hl wrote: > > > > but ifconfig isn't available in buster > > > I've used it for many years, and it is still there, currently in > > > the net-tools package (try "apt-file search bin/ifconfig"). > > > > > Thank Vincent! i install net-tools, but it doesn't work as i have hoped > > > > root@debian:~# /sbin/ifconfig wlx12345 list regdomain > > list: Unknown host > > ifconfig: `--help' gives usage information. > > root@debian:~# > > Indeed, "ifconfig --help" doesn't mention a "list" feature. > ifconfig accepts some other keywords, otherwise an address > (possibly specified as a hostname), hence the "Unknown host" > error.
The OP is on freebsd. It seems every linux/unix has its own version of ifconfig, all different. Cheers, David.