Web lists-archives.com

[Samba] ipconfig equivalent in linux samba specific

In general for what most people do ipconfig is equivalent to ifconfig
(getting phased out) or ip in linux.

What I am trying to do is create ipconfig script that acts identical
to the windows behavior's output so I can create better scripts in
powershell that work on both platforms.

ipconfig has few options that are not listed with ifconfig or ip.
The Windows IP Configuration section has two values I am unsure of
Specifically "Node type" output from ipconfig. Is there a way in linux
to get the nodetype? I don't think it applies in general. Is it used
in Samba?
Wins Proxy Enabled

I can get hostname and primary dns suffix from the hostname command
I can get DNS Suffix Search List from /etc/resolv.conf
I think I can get Description from dmesg
ip routing enabled I can probably get by doing an analysis of the
routes and if there are more than one I might want to output yes
there might be better ways

Are these set in samba? is there a command I can use to get these
values that you guys know of?

To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba