Neutrino Gateway setup?

I was wondering if someone could shed some light on this:

I am trying to work out how to set a network gateway within Neutrino?

I can set IP netmask etc etc but can’t seem to work out how to set the
gateway and DNS servers.

Am I just missing something in the doc’s?

Cheers Ben.

You’ve set up the default route then?

The resolver library is configured by /etc/resolv.conf, it lists
the nameservers by ip address, and has some options to say whether
/etc/hosts is checked, checked before or after DNS, etc. It
should be documented, you just have to know what you’re looking for…

Drop me a line if its not working for you.

Sam

Previously, Benjamin Rogers wrote in comp.os.qnx:

I was wondering if someone could shed some light on this:

I am trying to work out how to set a network gateway within Neutrino?

I can set IP netmask etc etc but can’t seem to work out how to set the
gateway and DNS servers.

Am I just missing something in the doc’s?

Cheers Ben.
\


Sam Roberts (sam@cogent.ca), Cogent Real-Time Systems (www.cogent.ca)
“News is very popular among its readers.” - RFC 977 (NNTP)

Tiny (default) stack does not support IP forwarding. There is big stack
on the conference CD, although it is undocumented. You could try it, but
you’ll need to find a way to set things up. It should support all
standard ioctls.

Benjamin Rogers wrote:

I was wondering if someone could shed some light on this:

I am trying to work out how to set a network gateway within Neutrino?

I can set IP netmask etc etc but can’t seem to work out how to set the
gateway and DNS servers.

Am I just missing something in the doc’s?

Cheers Ben.

I forgot, you can also use that phlib utility, but you can’t run it from the
shelf, because you must be root to change the config. Unless
you run the entire desktop as root, which is something akin to scratching
your head with the tip of a loaded gun.

Sam

Previously, Sam Roberts wrote in comp.os.qnx:

You’ve set up the default route then?

The resolver library is configured by /etc/resolv.conf, it lists
the nameservers by ip address, and has some options to say whether
/etc/hosts is checked, checked before or after DNS, etc. It
should be documented, you just have to know what you’re looking for…

Drop me a line if its not working for you.

Sam

Previously, Benjamin Rogers wrote in comp.os.qnx:
I was wondering if someone could shed some light on this:

I am trying to work out how to set a network gateway within Neutrino?

I can set IP netmask etc etc but can’t seem to work out how to set the
gateway and DNS servers.

Am I just missing something in the doc’s?

Cheers Ben.



\

Sam Roberts (> sam@cogent.ca> ), Cogent Real-Time Systems (> www.cogent.ca> )
“News is very popular among its readers.” - RFC 977 (NNTP)


Sam Roberts (sam@cogent.ca), Cogent Real-Time Systems (www.cogent.ca)
“News is very popular among its readers.” - RFC 977 (NNTP)