/etc/net.cfg

Does any one have or know where to find the complete syntax for the
/etc/net.cfg file?

Doug McNash <dmcnash@yahoo.com> wrote:

Does any one have or know where to find the complete syntax for the
/etc/net.cfg file?

The /etc/net,cfg file is not meant to be modified by the user directly
Phlip should be used to modify the file. If you are using phlip, the
contents of the file can change from what it originally was as phlip
uses this file to both set and get the network configuration. If
you were to use the file only for initialization and not in combination
with phlip, you could use phlip to create the file, but then not use
phlip any longer to view you current configuration (eg if your initial
net.cfg specified dhcp, but the dhcp server was not present, and then
phlip was used to view status, the net.cfg file would be changed to
manual as the dhcp client would have eventually terminated).

Dave

I have a similar scenario where I wish to create a configuration file
for my driver code.

The online documentation describes the cfgopen function in the C
library. Are there any associated manipulation routines?

For example I would like to be able to open the file and then
search for a particular entry and retrieve the value.


Regards

Dave

Dave Brown wrote:

Doug McNash <> dmcnash@yahoo.com> > wrote:

Does any one have or know where to find the complete syntax for the
/etc/net.cfg file?


The /etc/net,cfg file is not meant to be modified by the user directly
Phlip should be used to modify the file. If you are using phlip, the
contents of the file can change from what it originally was as phlip
uses this file to both set and get the network configuration. If
you were to use the file only for initialization and not in combination
with phlip, you could use phlip to create the file, but then not use
phlip any longer to view you current configuration (eg if your initial
net.cfg specified dhcp, but the dhcp server was not present, and then
phlip was used to view status, the net.cfg file would be changed to
manual as the dhcp client would have eventually terminated).

Dave