Re: NetworkManager, using two networks simultaneously

2016-06-10 Thread Chris Murphy
On Fri, Jun 10, 2016 at 4:30 PM, Rick Stevens  wrote:
> On 06/10/2016 03:07 PM, Chris Murphy wrote:
>>
>> On Fri, Jun 10, 2016 at 1:59 PM, Chris Murphy 
>> wrote:
>>
>>> Clicking the Apply button does not reload the connections, so the
>>> settings change does not take effect. I either have to do 'nmcli c
>>> reload' or in the GUI click on Wired, then change On to Off to back
>>> On. And now it works as expected. GENERAL.DEFAULT is now no for this
>>> wired connection, and ip route show no longer shows it as default via.
>>>
>>> Sooo... if someone wants to test this on Fedora 23 in GNOME to see if
>>> this Apply bug happens there, it would be great to know if it's a
>>> regression or not, and note this in the bug.
>>>
>>> Thanks!
>>
>>
>>
>> OK I replicated this on the Fedora 23 Server NUC and oops, lost ssh
>> entirely. I think what's going on is since wireless is now default,
>> ssh comes up only on wireless and not on wired?
>
>
> I don't believe that's the case. Typically that stuff is dependent on
> if the _network_ (any network) is up or not, NOT what _kind_ of network
> it is. The problem is determining what runs (and when) based on network
> status is driven by the spectacularly over-complicated and broken
> systemd crapola. There might be something in there that breaks in these
> cases. It sure as h*ll wouldn't be the first time systemd was hosed or
> had race conditions.
>
> 
> Using NM for anything headless is a bad idea. Using NM and DHCP for a
> headless unit is a REALLY bad idea. NM, DHCP and wireless for a
> headless unit is bordering on insanity. That's just my opinion, but I
> do manage a data center with about 300 servers and since I don't have
> time (nor the desire) to debug NM-related issues, I don't permit NM on
> them. We only use the old, reliable network script stuff. It's like an
> old VW Beetle...slow, ugly, noisy and smelly, but seems to always run.
> 

It's all worked out in the end. Laptop and NUC use wireless for
internet only, and smb.conf and sshd_config restrict listening to the
wired network.

The biggest confusion was due to the F24 NetworkManger "Apply" bug.
That took hours to discover. And then the next most confusing one,
which was maybe 10 minutes worth was that the router had decided to
hand out a new ip right at the same time I made the changes on the F23
server. So now all the wired stuff is static.




-- 
Chris Murphy
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: NetworkManager, using two networks simultaneously

2016-06-10 Thread Rick Stevens

On 06/10/2016 03:07 PM, Chris Murphy wrote:

On Fri, Jun 10, 2016 at 1:59 PM, Chris Murphy  wrote:


Clicking the Apply button does not reload the connections, so the
settings change does not take effect. I either have to do 'nmcli c
reload' or in the GUI click on Wired, then change On to Off to back
On. And now it works as expected. GENERAL.DEFAULT is now no for this
wired connection, and ip route show no longer shows it as default via.

Sooo... if someone wants to test this on Fedora 23 in GNOME to see if
this Apply bug happens there, it would be great to know if it's a
regression or not, and note this in the bug.

Thanks!



OK I replicated this on the Fedora 23 Server NUC and oops, lost ssh
entirely. I think what's going on is since wireless is now default,
ssh comes up only on wireless and not on wired?


I don't believe that's the case. Typically that stuff is dependent on
if the _network_ (any network) is up or not, NOT what _kind_ of network
it is. The problem is determining what runs (and when) based on network
status is driven by the spectacularly over-complicated and broken
systemd crapola. There might be something in there that breaks in these
cases. It sure as h*ll wouldn't be the first time systemd was hosed or
had race conditions.


Using NM for anything headless is a bad idea. Using NM and DHCP for a
headless unit is a REALLY bad idea. NM, DHCP and wireless for a
headless unit is bordering on insanity. That's just my opinion, but I
do manage a data center with about 300 servers and since I don't have
time (nor the desire) to debug NM-related issues, I don't permit NM on
them. We only use the old, reliable network script stuff. It's like an
old VW Beetle...slow, ugly, noisy and smelly, but seems to always run.

--
- Rick Stevens, Systems Engineer, AllDigitalri...@alldigital.com -
- AIM/Skype: therps2ICQ: 226437340   Yahoo: origrps2 -
--
-   You possess a mind not merely twisted, but actually sprained.-
--
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: NetworkManager, using two networks simultaneously

2016-06-10 Thread Chris Murphy
On Fri, Jun 10, 2016 at 4:07 PM, Chris Murphy  wrote:
> On Fri, Jun 10, 2016 at 1:59 PM, Chris Murphy  wrote:
>
>> Clicking the Apply button does not reload the connections, so the
>> settings change does not take effect. I either have to do 'nmcli c
>> reload' or in the GUI click on Wired, then change On to Off to back
>> On. And now it works as expected. GENERAL.DEFAULT is now no for this
>> wired connection, and ip route show no longer shows it as default via.
>>
>> Sooo... if someone wants to test this on Fedora 23 in GNOME to see if
>> this Apply bug happens there, it would be great to know if it's a
>> regression or not, and note this in the bug.
>>
>> Thanks!
>
>
> OK I replicated this on the Fedora 23 Server NUC and oops, lost ssh
> entirely. I think what's going on is since wireless is now default,
> ssh comes up only on wireless and not on wired?
>
> However:
>
> sshd_config
>
> #Port 22
> #AddressFamily any
> #ListenAddress 0.0.0.0
> #ListenAddress ::
>
> And man sshd_config says
>  ListenAddress
>  Specifies the local addresses sshd(8) should listen on.
> The following forms may be used:
>
>ListenAddress host|IPv4_addr|IPv6_addr
>ListenAddress host|IPv4_addr:port
>ListenAddress [host|IPv6_addr]:port
>
>  If port is not specified, sshd will listen on the address
> and all Port options specified.  The default
>  is to listen on all local addresses.  Multiple
> ListenAddress options are permitted.
>
> I'm not sure what the cause of the problem is yet, but this is what I get now:
>
> ssh: connect to host 192.168.1.115 port 22: No route to host
>
> I'll need to connect HDMI and a keyboard to this NUC to see what's going on.

Cute. For the first time in a month, it decides to be at 192.168.1.116...

So ssh is working on both, but despite using PKA, since that wireless
network is wide open, I'd like ssh to not use that connection. Time to
go to static IPs on this wired connection...


-- 
Chris Murphy
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: NetworkManager, using two networks simultaneously

2016-06-10 Thread Chris Murphy
On Fri, Jun 10, 2016 at 1:59 PM, Chris Murphy  wrote:

> Clicking the Apply button does not reload the connections, so the
> settings change does not take effect. I either have to do 'nmcli c
> reload' or in the GUI click on Wired, then change On to Off to back
> On. And now it works as expected. GENERAL.DEFAULT is now no for this
> wired connection, and ip route show no longer shows it as default via.
>
> Sooo... if someone wants to test this on Fedora 23 in GNOME to see if
> this Apply bug happens there, it would be great to know if it's a
> regression or not, and note this in the bug.
>
> Thanks!


OK I replicated this on the Fedora 23 Server NUC and oops, lost ssh
entirely. I think what's going on is since wireless is now default,
ssh comes up only on wireless and not on wired?

However:

sshd_config

#Port 22
#AddressFamily any
#ListenAddress 0.0.0.0
#ListenAddress ::

And man sshd_config says
 ListenAddress
 Specifies the local addresses sshd(8) should listen on.
The following forms may be used:

   ListenAddress host|IPv4_addr|IPv6_addr
   ListenAddress host|IPv4_addr:port
   ListenAddress [host|IPv6_addr]:port

 If port is not specified, sshd will listen on the address
and all Port options specified.  The default
 is to listen on all local addresses.  Multiple
ListenAddress options are permitted.

I'm not sure what the cause of the problem is yet, but this is what I get now:

ssh: connect to host 192.168.1.115 port 22: No route to host

I'll need to connect HDMI and a keyboard to this NUC to see what's going on.




-- 
Chris Murphy
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: nmcli d wifi list shows no AP's

2016-06-10 Thread Chris Murphy
On Fri, Jun 10, 2016 at 3:34 PM, Chris Murphy  wrote:
> On Fri, Jun 10, 2016 at 3:28 PM, Chris Murphy  wrote:
>> Here we go again!
>>
>> Fedora 23 Server, no GUI, running on an Intel NUC which has Intel
>> Corporation Wireless 3165. The problem is, despite the radio being on
>> and no obvious complaints, no APs are listed with nmcli d list.
>>
>> # nmcli r
>> WIFI-HW  WIFI WWAN-HW  WWAN
>> enabled  enabled  enabled  enabled
>> [root@f23s ~]# nmcli c
>> NAMEUUID  TYPEDEVICE
>> virbr0-nic  9b346e45-60a4-48d4-a4d2-b5452946093b  generic virbr0-nic
>> virbr0  a4bc029b-716c-41d7-82a1-71af8f2a045e  bridge  virbr0
>> enp3s0  5cfa14cc-0d22-4c12-ae08-d61d8f47a011  802-3-ethernet  enp3s0
>> [root@f23s ~]# nmcli d
>> DEVICE  TYPE  STATE  CONNECTION
>> virbr0  bridgeconnected  virbr0
>> enp3s0  ethernet  connected  enp3s0
>> virbr0-nic  tap   connected  virbr0-nic
>> lo  loopback  unmanaged  --
>> wlp2s0  wifi  unmanaged  --
>> [root@f23s ~]# nmcli d wifi list
>> [root@f23s ~]#
>>
>> That's not expected. A laptop sees many APs for this same command, but
>> it's running Workstation so I wonder if there's something Server needs
>> that it doesn't get by default (other than firmware and wpa_supplicant
>> which I installed afterward).
>>
>> Also suspicious:
>>
>> # journalctl -b | grep iwlwifi
>> https://paste.fedoraproject.org/377327/
>>
>> It's a model 3165 but it wants 7265D firmware, which it finds and uses
>> without complaint. But the Carrier: OFF is curious, not sure what that
>> means.
>>
>> Although this is Fedora 23, it is the Fedora 24 kernel and firmware
>> files being used which could be related. But it's the first time I've
>> tried to use this wifi.
>
> Fedora 23 Server
> [chris@f23s ~]$ rpm -qa | grep NetworkManager
> NetworkManager-1.0.12-2.fc23.x86_64
> NetworkManager-libnm-1.0.12-2.fc23.x86_64
>
> Fedora 24 Workstation
> [chris@f24m Downloads]$ rpm -qa | grep NetworkManager
> NetworkManager-wifi-1.2.2-2.fc24.x86_64
> NetworkManager-pptp-1.2.2-1.fc24.x86_64
> NetworkManager-openvpn-gnome-1.2.2-1.fc24.x86_64
> NetworkManager-1.2.2-2.fc24.x86_64
> NetworkManager-bluetooth-1.2.2-2.fc24.x86_64
> NetworkManager-pptp-gnome-1.2.2-1.fc24.x86_64
> NetworkManager-adsl-1.2.2-2.fc24.x86_64
> NetworkManager-openvpn-1.2.2-1.fc24.x86_64
> NetworkManager-wwan-1.2.2-2.fc24.x86_64
> NetworkManager-libnm-1.2.2-2.fc24.x86_64
> NetworkManager-vpnc-gnome-1.2.2-1.fc24.x86_64
> NetworkManager-vpnc-1.2.2-1.fc24.x86_64
> NetworkManager-config-connectivity-fedora-1.2.2-2.fc24.x86_64
> NetworkManager-team-1.2.2-2.fc24.x86_64
> NetworkManager-openconnect-1.2.2-1.fc24.x86_64
> NetworkManager-glib-1.2.2-2.fc24.x86_64
>
>
> OK! So I'm gonna guess it wants at least NetworkManager-wifi...

That did it. It needed some other things also, ModemManager and a few
libraries. But now the command works. And I've connected.


-- 
Chris Murphy
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: nmcli d wifi list shows no AP's

2016-06-10 Thread Chris Murphy
On Fri, Jun 10, 2016 at 3:28 PM, Chris Murphy  wrote:
> Here we go again!
>
> Fedora 23 Server, no GUI, running on an Intel NUC which has Intel
> Corporation Wireless 3165. The problem is, despite the radio being on
> and no obvious complaints, no APs are listed with nmcli d list.
>
> # nmcli r
> WIFI-HW  WIFI WWAN-HW  WWAN
> enabled  enabled  enabled  enabled
> [root@f23s ~]# nmcli c
> NAMEUUID  TYPEDEVICE
> virbr0-nic  9b346e45-60a4-48d4-a4d2-b5452946093b  generic virbr0-nic
> virbr0  a4bc029b-716c-41d7-82a1-71af8f2a045e  bridge  virbr0
> enp3s0  5cfa14cc-0d22-4c12-ae08-d61d8f47a011  802-3-ethernet  enp3s0
> [root@f23s ~]# nmcli d
> DEVICE  TYPE  STATE  CONNECTION
> virbr0  bridgeconnected  virbr0
> enp3s0  ethernet  connected  enp3s0
> virbr0-nic  tap   connected  virbr0-nic
> lo  loopback  unmanaged  --
> wlp2s0  wifi  unmanaged  --
> [root@f23s ~]# nmcli d wifi list
> [root@f23s ~]#
>
> That's not expected. A laptop sees many APs for this same command, but
> it's running Workstation so I wonder if there's something Server needs
> that it doesn't get by default (other than firmware and wpa_supplicant
> which I installed afterward).
>
> Also suspicious:
>
> # journalctl -b | grep iwlwifi
> https://paste.fedoraproject.org/377327/
>
> It's a model 3165 but it wants 7265D firmware, which it finds and uses
> without complaint. But the Carrier: OFF is curious, not sure what that
> means.
>
> Although this is Fedora 23, it is the Fedora 24 kernel and firmware
> files being used which could be related. But it's the first time I've
> tried to use this wifi.

Fedora 23 Server
[chris@f23s ~]$ rpm -qa | grep NetworkManager
NetworkManager-1.0.12-2.fc23.x86_64
NetworkManager-libnm-1.0.12-2.fc23.x86_64

Fedora 24 Workstation
[chris@f24m Downloads]$ rpm -qa | grep NetworkManager
NetworkManager-wifi-1.2.2-2.fc24.x86_64
NetworkManager-pptp-1.2.2-1.fc24.x86_64
NetworkManager-openvpn-gnome-1.2.2-1.fc24.x86_64
NetworkManager-1.2.2-2.fc24.x86_64
NetworkManager-bluetooth-1.2.2-2.fc24.x86_64
NetworkManager-pptp-gnome-1.2.2-1.fc24.x86_64
NetworkManager-adsl-1.2.2-2.fc24.x86_64
NetworkManager-openvpn-1.2.2-1.fc24.x86_64
NetworkManager-wwan-1.2.2-2.fc24.x86_64
NetworkManager-libnm-1.2.2-2.fc24.x86_64
NetworkManager-vpnc-gnome-1.2.2-1.fc24.x86_64
NetworkManager-vpnc-1.2.2-1.fc24.x86_64
NetworkManager-config-connectivity-fedora-1.2.2-2.fc24.x86_64
NetworkManager-team-1.2.2-2.fc24.x86_64
NetworkManager-openconnect-1.2.2-1.fc24.x86_64
NetworkManager-glib-1.2.2-2.fc24.x86_64


OK! So I'm gonna guess it wants at least NetworkManager-wifi...





-- 
Chris Murphy
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


nmcli d wifi list shows no AP's

2016-06-10 Thread Chris Murphy
Here we go again!

Fedora 23 Server, no GUI, running on an Intel NUC which has Intel
Corporation Wireless 3165. The problem is, despite the radio being on
and no obvious complaints, no APs are listed with nmcli d list.

# nmcli r
WIFI-HW  WIFI WWAN-HW  WWAN
enabled  enabled  enabled  enabled
[root@f23s ~]# nmcli c
NAMEUUID  TYPEDEVICE
virbr0-nic  9b346e45-60a4-48d4-a4d2-b5452946093b  generic virbr0-nic
virbr0  a4bc029b-716c-41d7-82a1-71af8f2a045e  bridge  virbr0
enp3s0  5cfa14cc-0d22-4c12-ae08-d61d8f47a011  802-3-ethernet  enp3s0
[root@f23s ~]# nmcli d
DEVICE  TYPE  STATE  CONNECTION
virbr0  bridgeconnected  virbr0
enp3s0  ethernet  connected  enp3s0
virbr0-nic  tap   connected  virbr0-nic
lo  loopback  unmanaged  --
wlp2s0  wifi  unmanaged  --
[root@f23s ~]# nmcli d wifi list
[root@f23s ~]#

That's not expected. A laptop sees many APs for this same command, but
it's running Workstation so I wonder if there's something Server needs
that it doesn't get by default (other than firmware and wpa_supplicant
which I installed afterward).

Also suspicious:

# journalctl -b | grep iwlwifi
https://paste.fedoraproject.org/377327/

It's a model 3165 but it wants 7265D firmware, which it finds and uses
without complaint. But the Carrier: OFF is curious, not sure what that
means.

Although this is Fedora 23, it is the Fedora 24 kernel and firmware
files being used which could be related. But it's the first time I've
tried to use this wifi.


-- 
Chris Murphy
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: NetworkManager, using two networks simultaneously

2016-06-10 Thread Chris Murphy
On Fri, Jun 10, 2016 at 1:40 PM, Chris Murphy  wrote:
> On Fri, Jun 10, 2016 at 1:25 PM, Chris Murphy  wrote:
>> On Fri, Jun 10, 2016 at 12:50 PM, Gordon Messmer
>>  wrote:
>>> On Fri, Jun 10, 2016 at 9:42 AM, Chris Murphy  
>>> wrote:

 I would have though for wired, setting "Use this connection only for
 resources on its network" would do that, but it doesn't.
>>>
>>> What does "ip route show" output when you set that option?  Also, are
>>> you setting that option for both ipv4 and ipv6?
>>
>> Wireless On, Wired Off = Internet works
>>
>> [root@f24m ~]# ip route show
>> default via 172.19.11.1 dev wlp3s0b1  proto static  metric 600
>> 172.19.11.0/24 dev wlp3s0b1  proto kernel  scope link  src
>> 172.19.11.35  metric 600
>> 192.168.124.0/24 dev virbr0  proto kernel  scope link  src
>> 192.168.124.1 linkdown
>>
>> Wirless On, Wired On with "Use this connection only for resources on
>> its network" unchecked = No internet
>>
>> [root@f24m ~]# ip route show
>> default via 192.168.1.1 dev enp2s0f0  proto static  metric 100
>> default via 172.19.11.1 dev wlp3s0b1  proto static  metric 600
>> 172.19.11.0/24 dev wlp3s0b1  proto kernel  scope link  src
>> 172.19.11.35  metric 600
>> 192.168.1.0/24 dev enp2s0f0  proto kernel  scope link  src
>> 192.168.1.185  metric 100
>> 192.168.124.0/24 dev virbr0  proto kernel  scope link  src
>> 192.168.124.1 linkdown
>>
>> Wirless On, Wired On with "Use this connection only for resources on
>> its network" checked = No internet
>>
>> [root@f24m ~]# ip route show
>> default via 192.168.1.1 dev enp2s0f0  proto static  metric 100
>> default via 172.19.11.1 dev wlp3s0b1  proto static  metric 600
>> 172.19.11.0/24 dev wlp3s0b1  proto kernel  scope link  src
>> 172.19.11.35  metric 600
>> 192.168.1.0/24 dev enp2s0f0  proto kernel  scope link  src
>> 192.168.1.185  metric 100
>> 192.168.124.0/24 dev virbr0  proto kernel  scope link  src
>> 192.168.124.1 linkdown
>>
>> Two default via's? Seems like a bad idea. Is this a bug? I can't
>> imagine that I'm the only person with two ethernets, it doesn't really
>> matter one of them is wireless, and I have a prefered default routing.
>>
>> https://developer.gnome.org/NetworkManager/stable/ref-settings.html
>> says that ipv4.never-default yes should mean "this connection will
>> never be the default connection for this IP type, meaning it will
>> never be assigned the default route by NetworkManager." But this is
>> definitely not true. There's a bug somewhere, either my reading
>> comprehension is flawed, the documentation is flawed, or
>> NetworkManager should work the way the doc and I think it should work.
>
> Aha! The "Use this connection only for resources on its network"
> causes ipv4.never-default to change from no to yes. i.e. unchecked
> it's no, and checked it's yes.
>
> So why doesn't this do what I'm thinking it ought to do?

Answer! It's a bug!

https://bugzilla.redhat.com/show_bug.cgi?id=1344788

Clicking the Apply button does not reload the connections, so the
settings change does not take effect. I either have to do 'nmcli c
reload' or in the GUI click on Wired, then change On to Off to back
On. And now it works as expected. GENERAL.DEFAULT is now no for this
wired connection, and ip route show no longer shows it as default via.

Sooo... if someone wants to test this on Fedora 23 in GNOME to see if
this Apply bug happens there, it would be great to know if it's a
regression or not, and note this in the bug.

Thanks!




-- 
Chris Murphy
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: NetworkManager, using two networks simultaneously

2016-06-10 Thread Chris Murphy
On Fri, Jun 10, 2016 at 1:25 PM, Chris Murphy  wrote:
> On Fri, Jun 10, 2016 at 12:50 PM, Gordon Messmer
>  wrote:
>> On Fri, Jun 10, 2016 at 9:42 AM, Chris Murphy  
>> wrote:
>>>
>>> I would have though for wired, setting "Use this connection only for
>>> resources on its network" would do that, but it doesn't.
>>
>> What does "ip route show" output when you set that option?  Also, are
>> you setting that option for both ipv4 and ipv6?
>
> Wireless On, Wired Off = Internet works
>
> [root@f24m ~]# ip route show
> default via 172.19.11.1 dev wlp3s0b1  proto static  metric 600
> 172.19.11.0/24 dev wlp3s0b1  proto kernel  scope link  src
> 172.19.11.35  metric 600
> 192.168.124.0/24 dev virbr0  proto kernel  scope link  src
> 192.168.124.1 linkdown
>
> Wirless On, Wired On with "Use this connection only for resources on
> its network" unchecked = No internet
>
> [root@f24m ~]# ip route show
> default via 192.168.1.1 dev enp2s0f0  proto static  metric 100
> default via 172.19.11.1 dev wlp3s0b1  proto static  metric 600
> 172.19.11.0/24 dev wlp3s0b1  proto kernel  scope link  src
> 172.19.11.35  metric 600
> 192.168.1.0/24 dev enp2s0f0  proto kernel  scope link  src
> 192.168.1.185  metric 100
> 192.168.124.0/24 dev virbr0  proto kernel  scope link  src
> 192.168.124.1 linkdown
>
> Wirless On, Wired On with "Use this connection only for resources on
> its network" checked = No internet
>
> [root@f24m ~]# ip route show
> default via 192.168.1.1 dev enp2s0f0  proto static  metric 100
> default via 172.19.11.1 dev wlp3s0b1  proto static  metric 600
> 172.19.11.0/24 dev wlp3s0b1  proto kernel  scope link  src
> 172.19.11.35  metric 600
> 192.168.1.0/24 dev enp2s0f0  proto kernel  scope link  src
> 192.168.1.185  metric 100
> 192.168.124.0/24 dev virbr0  proto kernel  scope link  src
> 192.168.124.1 linkdown
>
> Two default via's? Seems like a bad idea. Is this a bug? I can't
> imagine that I'm the only person with two ethernets, it doesn't really
> matter one of them is wireless, and I have a prefered default routing.
>
> https://developer.gnome.org/NetworkManager/stable/ref-settings.html
> says that ipv4.never-default yes should mean "this connection will
> never be the default connection for this IP type, meaning it will
> never be assigned the default route by NetworkManager." But this is
> definitely not true. There's a bug somewhere, either my reading
> comprehension is flawed, the documentation is flawed, or
> NetworkManager should work the way the doc and I think it should work.

Aha! The "Use this connection only for resources on its network"
causes ipv4.never-default to change from no to yes. i.e. unchecked
it's no, and checked it's yes.

So why doesn't this do what I'm thinking it ought to do?



-- 
Chris Murphy
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: NetworkManager, using two networks simultaneously

2016-06-10 Thread Earl Ramirez
On Fri, 2016-06-10 at 13:25 -0600, Chris Murphy wrote:
> On Fri, Jun 10, 2016 at 12:50 PM, Gordon Messmer
>  wrote:
> > 
> > On Fri, Jun 10, 2016 at 9:42 AM, Chris Murphy  > com> wrote:
> > > 
> > > 
> > > I would have though for wired, setting "Use this connection only
> > > for
> > > resources on its network" would do that, but it doesn't.
> > What does "ip route show" output when you set that option?  Also,
> > are
> > you setting that option for both ipv4 and ipv6?
> Wireless On, Wired Off = Internet works
> 
> [root@f24m ~]# ip route show
> default via 172.19.11.1 dev wlp3s0b1  proto static  metric 600
> 172.19.11.0/24 dev wlp3s0b1  proto kernel  scope link  src
> 172.19.11.35  metric 600
> 192.168.124.0/24 dev virbr0  proto kernel  scope link  src
> 192.168.124.1 linkdown
> 
> Wirless On, Wired On with "Use this connection only for resources on
> its network" unchecked = No internet
> 
> [root@f24m ~]# ip route show
> default via 192.168.1.1 dev enp2s0f0  proto static  metric 100
> default via 172.19.11.1 dev wlp3s0b1  proto static  metric 600
> 172.19.11.0/24 dev wlp3s0b1  proto kernel  scope link  src
> 172.19.11.35  metric 600
> 192.168.1.0/24 dev enp2s0f0  proto kernel  scope link  src
> 192.168.1.185  metric 100
> 192.168.124.0/24 dev virbr0  proto kernel  scope link  src
> 192.168.124.1 linkdown
> 
> Wirless On, Wired On with "Use this connection only for resources on
> its network" checked = No internet
> 
> [root@f24m ~]# ip route show
> default via 192.168.1.1 dev enp2s0f0  proto static  metric 100
> default via 172.19.11.1 dev wlp3s0b1  proto static  metric 600

If you want wireless to be your default you will have to change the
route metric, your LAN has a metric of 100; therefore, it will always
be the default route.

You can delete both route, add the wireless route with lower metric or
use 100 and add the LAN route with a higher metric and you should be
set.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: NetworkManager, using two networks simultaneously

2016-06-10 Thread Chris Murphy
On Fri, Jun 10, 2016 at 12:50 PM, Gordon Messmer
 wrote:
> On Fri, Jun 10, 2016 at 9:42 AM, Chris Murphy  wrote:
>>
>> I would have though for wired, setting "Use this connection only for
>> resources on its network" would do that, but it doesn't.
>
> What does "ip route show" output when you set that option?  Also, are
> you setting that option for both ipv4 and ipv6?

Wireless On, Wired Off = Internet works

[root@f24m ~]# ip route show
default via 172.19.11.1 dev wlp3s0b1  proto static  metric 600
172.19.11.0/24 dev wlp3s0b1  proto kernel  scope link  src
172.19.11.35  metric 600
192.168.124.0/24 dev virbr0  proto kernel  scope link  src
192.168.124.1 linkdown

Wirless On, Wired On with "Use this connection only for resources on
its network" unchecked = No internet

[root@f24m ~]# ip route show
default via 192.168.1.1 dev enp2s0f0  proto static  metric 100
default via 172.19.11.1 dev wlp3s0b1  proto static  metric 600
172.19.11.0/24 dev wlp3s0b1  proto kernel  scope link  src
172.19.11.35  metric 600
192.168.1.0/24 dev enp2s0f0  proto kernel  scope link  src
192.168.1.185  metric 100
192.168.124.0/24 dev virbr0  proto kernel  scope link  src
192.168.124.1 linkdown

Wirless On, Wired On with "Use this connection only for resources on
its network" checked = No internet

[root@f24m ~]# ip route show
default via 192.168.1.1 dev enp2s0f0  proto static  metric 100
default via 172.19.11.1 dev wlp3s0b1  proto static  metric 600
172.19.11.0/24 dev wlp3s0b1  proto kernel  scope link  src
172.19.11.35  metric 600
192.168.1.0/24 dev enp2s0f0  proto kernel  scope link  src
192.168.1.185  metric 100
192.168.124.0/24 dev virbr0  proto kernel  scope link  src
192.168.124.1 linkdown

Two default via's? Seems like a bad idea. Is this a bug? I can't
imagine that I'm the only person with two ethernets, it doesn't really
matter one of them is wireless, and I have a prefered default routing.

https://developer.gnome.org/NetworkManager/stable/ref-settings.html
says that ipv4.never-default yes should mean "this connection will
never be the default connection for this IP type, meaning it will
never be assigned the default route by NetworkManager." But this is
definitely not true. There's a bug somewhere, either my reading
comprehension is flawed, the documentation is flawed, or
NetworkManager should work the way the doc and I think it should work.



-- 
Chris Murphy
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: NetworkManager, using two networks simultaneously

2016-06-10 Thread Tom Horsley
Just a random thought here: If you really want NM to use only
the wireless, you could create a

/etc/sysconfig/network-scripts/ifcfg-

file and set

NM_CONTROLLED="no"

and 

ONBOOT="no"

and then NetworkManager and network should both ignore
it by default.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: NetworkManager, using two networks simultaneously

2016-06-10 Thread Gordon Messmer
On Fri, Jun 10, 2016 at 9:42 AM, Chris Murphy  wrote:
>
> I would have though for wired, setting "Use this connection only for
> resources on its network" would do that, but it doesn't.

What does "ip route show" output when you set that option?  Also, are
you setting that option for both ipv4 and ipv6?
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: NetworkManager, using two networks simultaneously

2016-06-10 Thread Mike Wright

On 06/10/2016 10:38 AM, Chris Murphy wrote:

On Fri, Jun 10, 2016 at 11:01 AM, Rick Stevens  wrote:

On 06/10/2016 09:42 AM, Chris Murphy wrote:


Hi,

How do I tell NetworkManager to default to wireless? The environment
I'm in provides internet only via wireless, so that needs to be the
default route, if that's the proper term. Right now it's defaulting to
wired and since there's no internet via that route, the web browser
hangs.


Hi Chris,

You could try a technique used by VPNs that avoids redefining the 
default route.  The default route is used when nothing else matches so 
you create a "virtual" default route that takes precedence by splitting 
the ipv4 address space in two.


ip r a 0.0.0.0/1 via "wireless gateway ip" dev wireless_device
ip r a 128.0.0.0/1 via "wireless gateway ip" dev wireless_device

That should accomplish what you want.

Mike Wright
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: NetworkManager, using two networks simultaneously

2016-06-10 Thread Chris Murphy
On Fri, Jun 10, 2016 at 12:11 PM, Chris Murphy  wrote:
> On Fri, Jun 10, 2016 at 11:58 AM, Fred Smith
>  wrote:
>> On Fri, Jun 10, 2016 at 11:38:22AM -0600, Chris Murphy wrote:
>>> On Fri, Jun 10, 2016 at 11:01 AM, Rick Stevens  wrote:
>>> > On 06/10/2016 09:42 AM, Chris Murphy wrote:
>>> >>
>>> >> Hi,
>>> >>
>>> >> How do I tell NetworkManager to default to wireless? The environment
>>> >> I'm in provides internet only via wireless, so that needs to be the
>>> >> default route, if that's the proper term. Right now it's defaulting to
>>> >> wired and since there's no internet via that route, the web browser
>>> >> hangs.
>>> >>
>>> >> I would have though for wired, setting "Use this connection only for
>>> >> resources on its network" would do that, but it doesn't.
>>> >
>>> >
>>> > I don't even have that option in my NM applet. I could untick
>>> > "Automatically connect to this network when it is available" in my NM
>>> > applet for the wired connection.
>>>
>>> If you click on IPv4 and scroll down under Routes, "Use this
>>> connection only for resources on its network" but I have no idea what
>>> that does.
>>
>> did  you ever connect to a VPN and discover that you then cannot access
>> anything on your localnetwork, or out on the internet?
>
> Yes.
>
>
>> if you check that box it doesn't block all those other systems/networks,
>> sending only the things that need to go to that connection to it and
>> letting everything else be routed as it always has before.
>
> That's very cool but I think I'd stick it in the VPN connection
> configuration. I suspect whether you want this passthrough to work
> might depend on which VPN connection you're using. But anyway...
>
>
> So what I think is going on here, when I look at the output from
> 'nmcli c show' for wifi and wired connections is this:
>
> Wired:
> GENERAL.DEFAULT:yes
>
> Wireless:
> GENERAL.DEFAULT:no

# nmcli c modify e9e610f6-c5e0-4853-87ac-89248ca1a531 GENERAL.DEFAULT yes
Error: invalid or not allowed setting 'GENERAL': 'GENERAL' not among
[connection, 802-11-wireless (wifi), 802-11-wireless-security
(wifi-sec), 802-1x, ipv4, ipv6].

There's ipv4.never-default but setting that from no to yes for wired
and reloading changes nothing. Its GENERAL.DEFAULT is still yes, and
web browser still hangs.

There's connection.autoconnect-priority which if wired is set to 0 and
wireless set to 1, should mean wireless gets priority, but no,
GENERAL.DEFAULT for wired is still yes and for wireless still no. And
browser still hangs.

So I'm out of ideas. This is really rudimentary for like > 10 years in
Windows and OS X, I'm more than a little surprised it's this difficult
to figure out in the NetworkManager GUI, but really surprised it's
obscure even in the cli. I can't believe no one is multihoming and has
to pick which network they prefer?


-- 
Chris Murphy
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: NetworkManager, using two networks simultaneously

2016-06-10 Thread Rick Stevens

On 06/10/2016 11:11 AM, Chris Murphy wrote:

On Fri, Jun 10, 2016 at 11:58 AM, Fred Smith
 wrote:

On Fri, Jun 10, 2016 at 11:38:22AM -0600, Chris Murphy wrote:

On Fri, Jun 10, 2016 at 11:01 AM, Rick Stevens  wrote:

On 06/10/2016 09:42 AM, Chris Murphy wrote:


Hi,

How do I tell NetworkManager to default to wireless? The environment
I'm in provides internet only via wireless, so that needs to be the
default route, if that's the proper term. Right now it's defaulting to
wired and since there's no internet via that route, the web browser
hangs.

I would have though for wired, setting "Use this connection only for
resources on its network" would do that, but it doesn't.



I don't even have that option in my NM applet. I could untick
"Automatically connect to this network when it is available" in my NM
applet for the wired connection.


If you click on IPv4 and scroll down under Routes, "Use this
connection only for resources on its network" but I have no idea what
that does.


did  you ever connect to a VPN and discover that you then cannot access
anything on your localnetwork, or out on the internet?


Yes.



if you check that box it doesn't block all those other systems/networks,
sending only the things that need to go to that connection to it and
letting everything else be routed as it always has before.


That's very cool but I think I'd stick it in the VPN connection
configuration. I suspect whether you want this passthrough to work
might depend on which VPN connection you're using. But anyway...


So what I think is going on here, when I look at the output from
'nmcli c show' for wifi and wired connections is this:

Wired:
GENERAL.DEFAULT:yes

Wireless:
GENERAL.DEFAULT:no

That's the only meaningful difference I can see between these two.
While I can change this with nmcli, I don't see anything in the GUI
for choosing a preferred or default connection/interface.


I was just going to suggest using nmcli.

Yes, I don't think they provide that functionality in the NM GUI. A lot
of GUIs are "incomplete" in that regard (not all features are available
in the GUI)--not just NM. Often there are so many options that the GUI
would be incredibly cluttered and confusing, so just the stuff "most
commonly used" is put in.
--
- Rick Stevens, Systems Engineer, AllDigitalri...@alldigital.com -
- AIM/Skype: therps2ICQ: 226437340   Yahoo: origrps2 -
--
-  I won't rise to the occasion, but I'll slide over to it.  -
--
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: NetworkManager, using two networks simultaneously

2016-06-10 Thread Chris Murphy
On Fri, Jun 10, 2016 at 11:58 AM, Fred Smith
 wrote:
> On Fri, Jun 10, 2016 at 11:38:22AM -0600, Chris Murphy wrote:
>> On Fri, Jun 10, 2016 at 11:01 AM, Rick Stevens  wrote:
>> > On 06/10/2016 09:42 AM, Chris Murphy wrote:
>> >>
>> >> Hi,
>> >>
>> >> How do I tell NetworkManager to default to wireless? The environment
>> >> I'm in provides internet only via wireless, so that needs to be the
>> >> default route, if that's the proper term. Right now it's defaulting to
>> >> wired and since there's no internet via that route, the web browser
>> >> hangs.
>> >>
>> >> I would have though for wired, setting "Use this connection only for
>> >> resources on its network" would do that, but it doesn't.
>> >
>> >
>> > I don't even have that option in my NM applet. I could untick
>> > "Automatically connect to this network when it is available" in my NM
>> > applet for the wired connection.
>>
>> If you click on IPv4 and scroll down under Routes, "Use this
>> connection only for resources on its network" but I have no idea what
>> that does.
>
> did  you ever connect to a VPN and discover that you then cannot access
> anything on your localnetwork, or out on the internet?

Yes.


> if you check that box it doesn't block all those other systems/networks,
> sending only the things that need to go to that connection to it and
> letting everything else be routed as it always has before.

That's very cool but I think I'd stick it in the VPN connection
configuration. I suspect whether you want this passthrough to work
might depend on which VPN connection you're using. But anyway...


So what I think is going on here, when I look at the output from
'nmcli c show' for wifi and wired connections is this:

Wired:
GENERAL.DEFAULT:yes

Wireless:
GENERAL.DEFAULT:no

That's the only meaningful difference I can see between these two.
While I can change this with nmcli, I don't see anything in the GUI
for choosing a preferred or default connection/interface.



-- 
Chris Murphy
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: NetworkManager, using two networks simultaneously

2016-06-10 Thread Fred Smith
On Fri, Jun 10, 2016 at 11:38:22AM -0600, Chris Murphy wrote:
> On Fri, Jun 10, 2016 at 11:01 AM, Rick Stevens  wrote:
> > On 06/10/2016 09:42 AM, Chris Murphy wrote:
> >>
> >> Hi,
> >>
> >> How do I tell NetworkManager to default to wireless? The environment
> >> I'm in provides internet only via wireless, so that needs to be the
> >> default route, if that's the proper term. Right now it's defaulting to
> >> wired and since there's no internet via that route, the web browser
> >> hangs.
> >>
> >> I would have though for wired, setting "Use this connection only for
> >> resources on its network" would do that, but it doesn't.
> >
> >
> > I don't even have that option in my NM applet. I could untick
> > "Automatically connect to this network when it is available" in my NM
> > applet for the wired connection.
> 
> If you click on IPv4 and scroll down under Routes, "Use this
> connection only for resources on its network" but I have no idea what
> that does.

did  you ever connect to a VPN and discover that you then cannot access
anything on your localnetwork, or out on the internet?

if you check that box it doesn't block all those other systems/networks,
sending only the things that need to go to that connection to it and
letting everything else be routed as it always has before.

-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
  "And he will be called Wonderful Counselor, Mighty God, Everlasting Father,
  Prince of Peace. Of the increase of his government there will be no end. He 
 will reign on David's throne and over his kingdom, establishing and upholding
  it with justice and righteousness from that time on and forever."
--- Isaiah 9:7 (niv) --
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: NetworkManager, using two networks simultaneously

2016-06-10 Thread Chris Murphy
On Fri, Jun 10, 2016 at 11:01 AM, Rick Stevens  wrote:
> On 06/10/2016 09:42 AM, Chris Murphy wrote:
>>
>> Hi,
>>
>> How do I tell NetworkManager to default to wireless? The environment
>> I'm in provides internet only via wireless, so that needs to be the
>> default route, if that's the proper term. Right now it's defaulting to
>> wired and since there's no internet via that route, the web browser
>> hangs.
>>
>> I would have though for wired, setting "Use this connection only for
>> resources on its network" would do that, but it doesn't.
>
>
> I don't even have that option in my NM applet. I could untick
> "Automatically connect to this network when it is available" in my NM
> applet for the wired connection.

If you click on IPv4 and scroll down under Routes, "Use this
connection only for resources on its network" but I have no idea what
that does.



-- 
Chris Murphy
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: NetworkManager, using two networks simultaneously

2016-06-10 Thread Rick Stevens

On 06/10/2016 09:42 AM, Chris Murphy wrote:

Hi,

How do I tell NetworkManager to default to wireless? The environment
I'm in provides internet only via wireless, so that needs to be the
default route, if that's the proper term. Right now it's defaulting to
wired and since there's no internet via that route, the web browser
hangs.

I would have though for wired, setting "Use this connection only for
resources on its network" would do that, but it doesn't.


I don't even have that option in my NM applet. I could untick
"Automatically connect to this network when it is available" in my NM
applet for the wired connection.
--
- Rick Stevens, Systems Engineer, AllDigitalri...@alldigital.com -
- AIM/Skype: therps2ICQ: 226437340   Yahoo: origrps2 -
--
-If Windows isn't a virus, then it sure as hell is a carrier!-
--
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


NetworkManager, using two networks simultaneously

2016-06-10 Thread Chris Murphy
Hi,

How do I tell NetworkManager to default to wireless? The environment
I'm in provides internet only via wireless, so that needs to be the
default route, if that's the proper term. Right now it's defaulting to
wired and since there's no internet via that route, the web browser
hangs.

I would have though for wired, setting "Use this connection only for
resources on its network" would do that, but it doesn't.

Thanks,

-- 
Chris Murphy
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: copying images out of pdfs

2016-06-10 Thread Robert Moskowitz



On 06/10/2016 04:41 AM, Klaus-Peter Schrage wrote:

Am 09.06.2016 um 19:58 schrieb Robert Moskowitz:

I want to pull out specific figures to include in a presentation. Not 
convert the entire pdf to an image.


Like this fig 9-2:
If you really want to pull a vector graphic like this in a clean way, 
you can do it with Inkscape (any other vector editing tool capable of 
handling pdf works as well, but I often use this one):


 * as Inkscape only seems to be able to open a single pdf page, first
   extract the page in question (e. g. page 39) with a tool of your 
liking

 * open page39.pdf in Inkscape
 * with the selection tool, draw a rectangle which covers all elements
   of your figure
 * copy and paste the selection to a new empty drawing
 * save as fig9_2.svg or fig9_2.eps


I  got it to paste right into LibreOffice Impress.  Of course it is the 
full graphic with all the elements showing!  Not a pixel image when I 
use Okular!


thanks
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: copying images out of pdfs

2016-06-10 Thread Gregory P. Ennis

Again Fedora 22 Xfce.

It seems Evince lacks being able to copy an image out of a pdf so I
can 
paste said image into a presentation.  Select text seems to be the
only 
option.


It was sad when we lost Acrobat reader for Linux.


What other tool can read in pdfs and provide selecting an image (e.g.
a 
figure in an IEEE standard) that I can then copy over to Libre Office?


thanks


--

I use gimp.  You are limited to one page at a time, but it is easy to
select and area and then create the kind of file that you want.

Greg Ennis
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: copying images out of pdfs

2016-06-10 Thread Klaus-Peter Schrage

Am 10.06.2016 um 11:42 schrieb Robert Moskowitz:



On 06/10/2016 04:41 AM, Klaus-Peter Schrage wrote:

Am 09.06.2016 um 19:58 schrieb Robert Moskowitz:

I want to pull out specific figures to include in a presentation. 
Not convert the entire pdf to an image.


Like this fig 9-2:
If you really want to pull a vector graphic like this in a clean way, 
you can do it with Inkscape (any other vector editing tool capable of 
handling pdf works as well, but I often use this one):


 * as Inkscape only seems to be able to open a single pdf page, first
   extract the page in question (e. g. page 39) with a tool of your 
liking

 * open page39.pdf in Inkscape
 * with the selection tool, draw a rectangle which covers all elements
   of your figure
 * copy and paste the selection to a new empty drawing
 * save as fig9_2.svg or fig9_2.eps


I will look into Inkscape, I see it in the F22 repo.  But what is a 
svg or eps file?  Can they be imported into a Libreoffice 
presentation?  And then Powerpoint?


Thanks 

They are both vector graphics formats:
https://en.wikipedia.org/wiki/Scalable_Vector_Graphics
https://en.wikipedia.org/wiki/Encapsulated_PostScript
Libreoffice impress can import svg files, but for reasons I dont know, 
it doesn't read eps, at least the ones created with Inkscape.

Powerpoint (2010), on the other hand, imports eps, but not svg ...

If you want to try the files, you can download fig 9-2 in eps and svg 
format from here:

https://www.dropbox.com/sh/8c1ua34sxv27dth/AACpb_fM3ieiwzvV_OyVxefRa?dl=0
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: copying images out of pdfs

2016-06-10 Thread Robert Moskowitz



On 06/10/2016 04:41 AM, Klaus-Peter Schrage wrote:

Am 09.06.2016 um 19:58 schrieb Robert Moskowitz:

I want to pull out specific figures to include in a presentation. Not 
convert the entire pdf to an image.


Like this fig 9-2:
If you really want to pull a vector graphic like this in a clean way, 
you can do it with Inkscape (any other vector editing tool capable of 
handling pdf works as well, but I often use this one):


 * as Inkscape only seems to be able to open a single pdf page, first
   extract the page in question (e. g. page 39) with a tool of your 
liking

 * open page39.pdf in Inkscape
 * with the selection tool, draw a rectangle which covers all elements
   of your figure
 * copy and paste the selection to a new empty drawing
 * save as fig9_2.svg or fig9_2.eps


I will look into Inkscape, I see it in the F22 repo.  But what is a svg 
or eps file?  Can they be imported into a Libreoffice presentation?  And 
then Powerpoint?


Thanks
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: thunderbird locks up

2016-06-10 Thread Maikel van Leeuwen
Hey,
I have the same situation, but then on a Debian workstation. Especially
when Thunderbird has big maildir's.
My solution is the following:

icedove clean cache:
cd /home/maikel/.icedove   <-- first find your thunderbird dir.
find . -name "*.msf" -exec rm -rf {} \;

This will delete the caching files.

Salute,


On 06/10/2016 09:47 AM, Peter Lesterhuis wrote:
>> Date: Thu, 9 Jun 2016 10:29:03 -0400
>> From: Robert Moskowitz 
>> Subject: Re: Thunderbird locks up
>> To: Community support for Fedora users 
>> Message-ID: 
>> Content-Type: text/plain; charset=utf-8; format=flowed
>>
>>
>>
>> On 06/09/2016 10:02 AM, peterlesterh...@tiscali.nl wrote:
>>>
>>> How did you do that, recreating your TB setup?
>> You rename your Thunderbird directory.  I think the default is somewhere 
>> around ~/.mozilla
>>
>> Start TB and it will create a whole new directory structure. Configure 
>> your account and soforth.  then shutdown TB, copy over your mail 
>> directories, filters, address book, sigs and restart. There will be a 
>> little more config fixing, and you have a 'clean' setup with just your data.
>
> I've got it working again!!
> Like you suggested I did a "clean setup".
> Thanks all of you for helping me to solve this problem.
>
>
> --
> users mailing list
> users@lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: copying images out of pdfs

2016-06-10 Thread Klaus-Peter Schrage

Am 09.06.2016 um 19:58 schrieb Robert Moskowitz:

I want to pull out specific figures to include in a presentation. Not 
convert the entire pdf to an image.


Like this fig 9-2:
If you really want to pull a vector graphic like this in a clean way, 
you can do it with Inkscape (any other vector editing tool capable of 
handling pdf works as well, but I often use this one):


 * as Inkscape only seems to be able to open a single pdf page, first
   extract the page in question (e. g. page 39) with a tool of your liking
 * open page39.pdf in Inkscape
 * with the selection tool, draw a rectangle which covers all elements
   of your figure
 * copy and paste the selection to a new empty drawing
 * save as fig9_2.svg or fig9_2.eps
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


re: thunderbird locks up

2016-06-10 Thread Peter Lesterhuis

Date: Thu, 9 Jun 2016 10:29:03 -0400
From: Robert Moskowitz
Subject: Re: Thunderbird locks up
To: Community support for Fedora users
Message-ID:
Content-Type: text/plain; charset=utf-8; format=flowed



On 06/09/2016 10:02 AM,peterlesterh...@tiscali.nl  wrote:


How did you do that, recreating your TB setup?

You rename your Thunderbird directory.  I think the default is somewhere
around ~/.mozilla

Start TB and it will create a whole new directory structure. Configure
your account and soforth.  then shutdown TB, copy over your mail
directories, filters, address book, sigs and restart. There will be a
little more config fixing, and you have a 'clean' setup with just your data.


I've got it working again!!
Like you suggested I did a "clean setup".
Thanks all of you for helping me to solve this problem.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org