Re: Network connection local to devices.

2019-01-30 Thread Alexandre Garreau via networkmanager-list
In what cases here for example?

And are there ways (like a configuration option) to make so that
nm-applet stop creating profiles tied to to a device by default? for me?

And what about that unexisting -g options? is there a way to get that
list of profiles without using it?
___
networkmanager-list mailing list
networkmanager-list@gnome.org
https://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Network connection local to devices.

2019-01-25 Thread Alexandre Garreau via networkmanager-list
My nmcli (version 1.6.2) says -g doesn’t exist…

I simply connected for the first time through nm-applet, selecting the
wifi AP, entering the pass, etc.
___
networkmanager-list mailing list
networkmanager-list@gnome.org
https://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Network connection local to devices.

2019-01-22 Thread Alexandre Garreau via networkmanager-list
Thank you very much for your answer! Indeed, just erasing what’s in
“Device” (under “Ethernet” as you said, but only for wired connections:
for wifi (what’s most likely to change and require auth info), it’s
“Wifi”) works.

On 2019-01-22 at 20:27, Thomas Haller wrote:
>> Why does that work that way by default in GUI? or did I do something
>> wrong at some point maybe?
>
> I think it makes sense to restrict a profile by default to one device.
> Ultimately, that is decided by the client tool (like nm-applet) that
> creates the profile profile in such a way.
>
> It doesn't sound like you did anything wrong. If the setting is not
> best for your case, modify the profile as it suits you.

Then, I’d like to know if there’s a way to make that “device” section
unimportant for every wifi profile, or otherwise, how to erase it for
all of them, or otherwise, in which file is this written so I write a
script to do it.

Also why is this the default for nm-applet (are there other widely used
clients? isn’t this mailing-list the appropriate place for asking about
it? or is there some other development team and mailing-list?)? isn’t
there a way to change that?  So I don’t forget all the connection I
happen to find around each time I change computer…
___
networkmanager-list mailing list
networkmanager-list@gnome.org
https://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Network connection local to devices.

2019-01-22 Thread Alexandre Garreau via networkmanager-list
How do you do that through GUI?

Why does that work that way by default in GUI? or did I do something
wrong at some point maybe?
___
networkmanager-list mailing list
networkmanager-list@gnome.org
https://mail.gnome.org/mailman/listinfo/networkmanager-list


Network connection local to devices.

2019-01-21 Thread Alexandre Garreau via networkmanager-list
I often change computer, but keep my configuration files, or even my
whole system.  Or, sometimes, I only change or add a new wifi card.
Each time I do that, network-manager becomes unable to automatically use
the old registered connection, as it is parametered for a specific
device: is there a way to disable that?
___
networkmanager-list mailing list
networkmanager-list@gnome.org
https://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Using both VPN and non-VPN (default route non-VPN)

2018-12-11 Thread Alexandre Garreau via networkmanager-list
btw bing works with both:

galex-713@portable:~$ ping -c1 -I tun0 ifconfig.me 
PING ifconfig.me (216.239.32.21) from 89.234.186.82 tun0: 56(84) bytes of data.
64 bytes from any-in-2015.1e100.net (216.239.32.21): icmp_seq=1 ttl=55 
time=32.8 ms

--- ifconfig.me ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 32.877/32.877/32.877/0.000 ms
galex-713@portable:~$ ping -c1 -I enp0s25 ifconfig.me 
PING ifconfig.me (216.239.32.21) from 192.168.1.38 enp0s25: 56(84) bytes of 
data.
64 bytes from any-in-2015.1e100.net (216.239.32.21): icmp_seq=1 ttl=57 
time=10.2 ms

--- ifconfig.me ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 10.220/10.220/10.220/0.000 ms
___
networkmanager-list mailing list
networkmanager-list@gnome.org
https://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Using both VPN and non-VPN (default route non-VPN)

2018-12-11 Thread Alexandre Garreau via networkmanager-list
I said it already: it timeouts or stay still forever without receiving
any answer whenever I try to use another interface.  For instance,
currently I didn’t check the checkbox, so by default it uses tun0, and
if I want to use the other interface (currently rj45 cable, that is
enp0s25), here what I see:

galex-713@portable:~$ curl --interface tun0 ifconfig.me; echo
89.234.186.82
galex-713@portable:~$ curl --interface enp0s25 ifconfig.me; echo

And I keep a blank line with that command staying still forever until I
do Ctrl+C or I disconnect.  If I check that checkbox and enp0s25 becomes
the default, the opposite happen: I can do that with enp0s25, but tun0
stop being usable.
___
networkmanager-list mailing list
networkmanager-list@gnome.org
https://mail.gnome.org/mailman/listinfo/networkmanager-list


Re: Using both VPN and non-VPN (default route non-VPN)

2018-12-10 Thread Alexandre Garreau via networkmanager-list
On 2018-12-10 at 18:16, Thomas Haller wrote:
> you need to have the routes configured properly, which depends on your
> environment.

Maybe should I ask on debian mailing-lists (not that much active, not
sure I can get more relevant help than here)?

> Well, NM should get it right automatically. If it doesn't,
> then you should look at the routes to understand what's wrong.
>
> What gives:
>
>   ip route

Currently I’m not at the needed local network, so doing it at home, with
normally configured network, I get:

galex-713@portable:~/doc/comp/src/pharo/opensmalltalk-vm$ ip route
default dev tun0 proto static scope link metric 50 
default via 192.168.1.254 dev enp0s25 proto static metric 100 
89.234.186.64/27 dev tun0 proto kernel scope link src 89.234.186.82 metric 50 
169.254.0.0/16 dev enp0s25 scope link metric 1000 
192.168.1.0/24 dev enp0s25 proto kernel scope link src 192.168.1.38 metric 100 

When enabling “VPN config > IPv4 Settings > Routes… > Use this
connection only for resources on its network” checkbox, I get this:

galex-713@portable:~/doc/comp/src/pharo/opensmalltalk-vm$ ip route
default via 192.168.1.254 dev enp0s25 proto static metric 100 
89.234.186.64/27 dev tun0 proto kernel scope link src 89.234.186.82 metric 50 
89.234.186.190 via 192.168.1.254 dev enp0s25 proto static metric 100 
169.254.0.0/16 dev enp0s25 scope link metric 1000 
192.168.1.0/24 dev enp0s25 proto kernel scope link src 192.168.1.38 metric 100 
192.168.1.254 dev enp0s25 proto static scope link metric 100 

I’m under Debian GNU/Linux stable, x86 (32bits).

Btw ifconfig:
galex-713@portable:~/doc/comp/src/pharo/opensmalltalk-vm$ /sbin/ifconfig
enp0s25: flags=4163  mtu 1500
inet 192.168.1.38  netmask 255.255.255.0  broadcast 192.168.1.255
inet6 2a01:e0a:54:cb90:dd93:58f3:5591:dc39  prefixlen 64  scopeid 
0x0
inet6 fe80::6a50:6fa8:1bc9:b6d1  prefixlen 64  scopeid 0x20
ether 00:1f:16:14:45:a9  txqueuelen 1000  (Ethernet)
RX packets 425383  bytes 300655547 (286.7 MiB)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 94334  bytes 15010937 (14.3 MiB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
device interrupt 20  memory 0xf270-f272  

lo: flags=73  mtu 65536
inet 127.0.0.1  netmask 255.0.0.0
inet6 ::1  prefixlen 128  scopeid 0x10
loop  txqueuelen 1  (Boucle locale)
RX packets 1544  bytes 185223 (180.8 KiB)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 1544  bytes 185223 (180.8 KiB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

tun0: flags=4305  mtu 1500
inet 89.234.186.82  netmask 255.255.255.224  destination 89.234.186.82
inet6 fe80::918:d4aa:a0ae:2b1d  prefixlen 64  scopeid 0x20
inet6 2a00:5884:8305::1  prefixlen 112  scopeid 0x0
unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 100  
(UNSPEC)
RX packets 12  bytes 1476 (1.4 KiB)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 12  bytes 808 (808.0 B)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

both interfaces are only present, but only tun0 works in the first case,
and only enps25 works in the second.
___
networkmanager-list mailing list
networkmanager-list@gnome.org
https://mail.gnome.org/mailman/listinfo/networkmanager-list


Using both VPN and non-VPN (default route non-VPN)

2018-12-10 Thread Alexandre Garreau via networkmanager-list
Hi,

I’ve already asked some help on irc: I have a VPN that provides me a
public IP, which I use to run network servers, but I want to access the
local network I’m connecting too, without passing through the VPN
(otherwise stuff accessible only through local network is not accessible
anywore), while still being able to use the tun0 interface.  It’s a
OpenVPN VPN, configured and ran through network-manager.  I was told to
go in IPv4, routes... and check the last checkbox.

But beside routing, when doing that tun0 becomes inaccessible:
everything ends timeouting, and the other way around while not checking
the checkbox: the wifi interface is inaccessible, only the tun0 answers…

Why that? is it more an openvpn problem?  But if asking openvpn people
will I find a way to apply that through network-manager?

Thank you for any help ^^
___
networkmanager-list mailing list
networkmanager-list@gnome.org
https://mail.gnome.org/mailman/listinfo/networkmanager-list