Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Jul 2005 15:59:08 -0500
From:      Eric Schuele <e.schuele@computer.org>
To:        racerx@makeworld.com
Cc:        rsh.lists@comcast.net, freebsd-questions@freebsd.org, Glenn Dawson <glenn@antimatter.net>
Subject:   Re: network info
Message-ID:  <42EBEA1C.7000802@computer.org>
In-Reply-To: <42EBB43B.1080108@makeworld.com>
References:  <42EB97FA.1080904@comcast.net>	<6.1.0.6.2.20050730095840.13b30e40@cobalt.antimatter.net> <42EBB43B.1080108@makeworld.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Chris wrote:
> Glenn Dawson wrote:
> 
>>At 08:08 AM 7/30/2005, Sean wrote:
>>
>>
>>>What command can display all the network parameters assigned from
>>>dhcp, such DNS?
>>>I have looked at ifconfig and netstat but unless I missed a switch I
>>>do not see them as correct choices.
>>
>>
>>Not exactly one command, but you could do
>>
>>ifconfig && cat /etc/resolv.conf
> 
> 
> Toss an extra && sockstat -4 for even more info.
> 

And a pinch of '&& netstat -r' may be useful.

> 
>>If it's something you need to do frequently, you could make an alias for
>>it, or a shell script.
>>
>>-Glenn
>>
>>
>>
>>>Basically the equiv of ipconfig /all in Windows?
>>>
>>>                        Thanks
>>>                        Sean
> 
> 
> 
> 


-- 
Regards,
Eric



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42EBEA1C.7000802>