NetworkManager?
Soren Hansen
sh at linux2go.dk
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 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?
--
| Soren Hansen | Linux2Go | http://Linux2Go.dk/ |
| Seniorkonsulent | Lindholmsvej 42, 2. TH | +45 46 90 26 42 |
| sh at linux2go.dk | 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 : https://lists.ubuntu.com/archives/ubuntu-devel/attachments/20060918/e8718c18/attachment.pgp
More information about the ubuntu-devel
mailing list