View previous topic :: View next topic |
Author |
Message |
ppwaskie n00b
Joined: 10 Sep 2015 Posts: 12
|
Posted: Fri Sep 11, 2015 1:09 am Post subject: NetworkManager 1.0.6 broken with openconnect MTU settings |
|
|
I recently updated my networkmanager install from 1.0.2-r1 to 1.0.6 in portage. Once that happened, my openconnect VPN adapter failed to set the MTU when connecting to what was negotiated with the gateway. I was getting these failures:
Code: |
Sep 10 17:31:25 fawkes openconnect[12978]: SIOCSIFMTU: Operation not permitted
|
The MTU on the tun device, vpn0, would default to 1500 bytes, where it normally sits around 1406. This was causing ssh connections to fail, and other TCP traffic to be unpredictable. I could force the MTU with ifconfig back to 1406, and that would alleviate the issue until I reconnected the VPN.
Downgrading back to net-misc/networkmanager-1.0.2-r1 fixed the issue. My tun device, vpn0, now properly sets its VPN from what was negotiated with the VPN gateway.
Any additional info I can provide please let me know. |
|
Back to top |
|
|
poncho Tux's lil' helper
Joined: 06 Mar 2011 Posts: 92
|
|
Back to top |
|
|
ppwaskie n00b
Joined: 10 Sep 2015 Posts: 12
|
Posted: Fri Sep 11, 2015 9:46 pm Post subject: |
|
|
Yes, that is the bug. Thanks for posting that, I couldn't find it when poking around. Cheers. |
|
Back to top |
|
|
Pednick n00b
Joined: 19 Nov 2014 Posts: 21
|
Posted: Sun Sep 13, 2015 3:06 am Post subject: |
|
|
I just installed gnome systemd and the networkmanager isn't appearing, the network seems to work but there's no icon on top.
Is this the same bug? |
|
Back to top |
|
|
ppwaskie n00b
Joined: 10 Sep 2015 Posts: 12
|
Posted: Sun Sep 13, 2015 6:28 am Post subject: |
|
|
No, the bug is when connecting to a VPN, the MTU isn't getting set correctly based on what is negotiated with the VPN gateway.
It sounds like you might need to install gnome-extra/nm-applet if you haven't already. |
|
Back to top |
|
|
Pednick n00b
Joined: 19 Nov 2014 Posts: 21
|
Posted: Sun Sep 13, 2015 12:23 pm Post subject: |
|
|
ppwaskie wrote: | No, the bug is when connecting to a VPN, the MTU isn't getting set correctly based on what is negotiated with the VPN gateway.
It sounds like you might need to install gnome-extra/nm-applet if you haven't already. |
No, it's installed, networkmanager doesn't appear in the processes, I must have made some mistake
during the install, need to figure out what. |
|
Back to top |
|
|
kikko Apprentice
Joined: 29 Apr 2014 Posts: 276 Location: Milan, IT
|
|
Back to top |
|
|
ppwaskie n00b
Joined: 10 Sep 2015 Posts: 12
|
Posted: Mon Sep 14, 2015 3:21 am Post subject: |
|
|
@kikko: yes, if I have NetworkManager 1.0.6 installed, but connect using the command line with openconnect (thus eliminating NetworkManager from the equation) then the VPN works fine. |
|
Back to top |
|
|
Pednick n00b
Joined: 19 Nov 2014 Posts: 21
|
Posted: Tue Sep 15, 2015 12:14 am Post subject: |
|
|
Nevermind I found out I just had to add this:
root #systemctl enable NetworkManager
Thanks kikko, I just saw your reference after I posted, I found
it in that same place, thank you for your help. |
|
Back to top |
|
|
|