Indeed, confirming: the gateway is "correctly" marked as mandatory since
it is for most connection setups.
As a workaround you may want to use "Link-local only" if both systems
don't need to be using a specific IP address -- the IP will be defined
automatically by avahi/zeroconf, and both systems should be reachable by
name via the ".local" domain (as per avahi again, and M-DNS). For
instance:
ssh pc1.local (from pc2)
ssh pc2.local (from pc1)
And both would have an IP address in the 169.254.0.0 range, selected
randomly by the software on each system.
Otherwise you'll need to use a "dummy" gateway. If you really need to
avoid having the gateway set as default and override wifi, for example;
then you can check the "Use this connection only for the resources on
its network" checkbox under Routes.
Since this was explicitly done as a conscious decision to avoid issues
with users who may not have a strong knowledge of networking; I'll close
this as Won't Fix. We can revisit and reopen as necessary and once
discussion has been done with upstream.
** Changed in: network-manager-applet (Ubuntu)
Status: New => Won't Fix
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager-applet in Ubuntu.
https://bugs.launchpad.net/bugs/969422
Title:
cannot save connection without specifying a gateway
Status in “network-manager-applet” package in Ubuntu:
Won't Fix
Bug description:
I have a dedicated network adapter in my computer that is directly
connected to my nas (no router/switch involved). Both have a dedicated
IP address. When I want to set up the connection, it insists on
specifying a gateway address. As the two are connected directly there
is no gateway and it does not even makes sense. However without a
gateway address specified the connection cannot be saved.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: network-manager-gnome 0.9.3.995+git.20120313t141231.c89224f-0ubuntu2
ProcVersionSignature: Ubuntu 3.2.0-20.33-generic 3.2.12
Uname: Linux 3.2.0-20-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 1.95-0ubuntu1
Architecture: amd64
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211
not found.
Date: Fri Mar 30 19:41:51 2012
IfupdownConfig:
auto lo
iface lo inet loopback
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120328)
NetworkManager.state:
[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true
WimaxEnabled=true
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
RfKill:
SourcePackage: network-manager-applet
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager-applet/+bug/969422/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp