Soren Hansen sh at
Mon Sep 18 21:05:21 BST 2006

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 or on them for it to be at all
reliable. Maybe something based on the MAC address of something on the

| Soren Hansen    | Linux2Go                  | |
| Seniorkonsulent | Lindholmsvej 42, 2. TH    | +45 46 90 26 42     |
| sh at  | 9400 Norresundby, Denmark | GPG key: E8BDA4E3   |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: Digital signature
Url : 

More information about the ubuntu-devel mailing list