Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Detecting network settings: (2 Items)
   
Detecting network settings  
I am trying to programmaticaly detect my current network settings in QNX 6.3.  I am able to get netmask and IP address, 
but I can't find a way to detect if DHCP is enabled for a network interface. 

Any idea how I may get this information without parsing net.cfg?  Thanks.
Re: Detecting network settings  
On Fri, Feb 22, 2008 at 11:13:09AM -0500, Kevin Alden wrote:
> I am trying to programmaticaly detect my current network settings in QNX 6.3.  I am able to get netmask and IP address
, but I can't find a way to detect if DHCP is enabled for a network interface. 
> 
> Any idea how I may get this information without parsing net.cfg?  Thanks.
> 

None that I'm aware of.  'dhcp.client' is simply a utility
that uses networking services so it's sort of like asking if
'ping' is enabled on an interface.  You could check if it's
running but that doesn't tell you which interface(s) it's
operating on.

-seanb