NetworkManager?
Hervé Fache
Herve at lucidia.net
Mon Sep 18 21:14:18 BST 2006
Sorry, misread your answer. Ignore previous post!
Hervé.
On 9/18/06, Hervé Fache <Herve at lucidia.net> wrote:
> The gateway has to be given in the case of static configuration, so
> you _do_ know its IP.
>
> Hervé.
>
> On 9/18/06, Soren Hansen <sh at linux2go.dk> wrote:
> > On Mon, Sep 18, 2006 at 05:01:54PM -0300, Hervé Fache wrote:
> > > >Any good ideas for how to discover if you're on certain network and
> > > >hence should use a static IP?
> > > Don't know if it's a good idea, but the only way seems to configure
> > > with the static parameters, try to ping the gateway, if fails, try the
> > > dynamic ones.
> >
> > Nah, that wouldn't quite cut it. There's no way to know if you're
> > talking to a gateway of any kind, and there are just too many networks
> > with e.g. a 192.168.0.1 or 192.168.0.254 on them for it to be at all
> > reliable. Maybe something based on the MAC address of something on the
> > network?
>
--
In a world without walls and fences, who needs Windows and Gates?
More information about the ubuntu-devel
mailing list