staging.inyokaproject.org

Keine VPN-Verbindung mehr möglich

Status: Ungelöst | Ubuntu-Version: Xubuntu
Antworten |

linux42

Anmeldungsdatum:
31. Juli 2014

Beiträge: Zähle...

Hallo liebes Forum,

ich wollte mich gerade wieder über das Netzwerk-Menü im xfce4-panel mit einem VPN verbinden.

Nach einiger Zeit erscheint eine Blase, die sagt, dass es nicht funktioniert hat. Leider gibt es keine weiteren Informationen, sodass ich nicht weiß, was ich jetzt tun soll.

Ich habe verschiedene VPNs versucht, alle von anderen Computern funktionierend.

Wo fange ich an..?

linux42

Moderiert von noisefloor:

Änderung Nutzername gem. Antrag an PL

linux42

(Themenstarter)

Anmeldungsdatum:
31. Juli 2014

Beiträge: 34

Ich habe mittels sudo tail -f /var/log/syslog mal ins log geguckt. Allerdings weiß ich nicht, was ich jetzt tun soll.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Feb 12 21:18:03 linux42 NetworkManager[939]: <info>  Starting VPN service 'pptp'...
Feb 12 21:18:03 linux42 NetworkManager[939]: <info>  VPN service 'pptp' started (org.freedesktop.NetworkManager.pptp), PID 14373
Feb 12 21:18:03 linux42 NetworkManager[939]: <info>  VPN service 'pptp' appeared; activating connections
Feb 12 21:18:03 linux42 NetworkManager[939]: <info>  VPN plugin state changed: init (1)
Feb 12 21:18:04 linux42 NetworkManager[939]: <info>  VPN connection 'HAMNET DBØTV' (ConnectInteractive) reply received.
Feb 12 21:18:04 linux42 NetworkManager[939]: <info>  VPN plugin state changed: starting (3)
Feb 12 21:18:04 linux42 NetworkManager[939]: <info>  VPN connection 'HAMNET DBØTV' (Connect) reply received.
Feb 12 21:18:04 linux42 pppd[14377]: Plugin /usr/lib/pppd/2.4.6/nm-pptp-pppd-plugin.so loaded.
Feb 12 21:18:04 linux42 pppd[14377]: pppd 2.4.6 started by root, uid 0
Feb 12 21:18:04 linux42 pppd[14377]: Using interface ppp0
Feb 12 21:18:04 linux42 pppd[14377]: Connect: ppp0 <--> /dev/pts/24
Feb 12 21:18:04 linux42 NetworkManager[939]: nm_device_get_device_type: assertion 'NM_IS_DEVICE (self)' failed
Feb 12 21:18:04 linux42 NetworkManager[939]: <info>  (ppp0): new Generic device (carrier: UNKNOWN, driver: 'unknown', ifindex: 5)
Feb 12 21:18:04 linux42 pptp[14380]: nm-pptp-service-14373 log[main:pptp.c:350]: The synchronous pptp option is NOT activated
Feb 12 21:18:04 linux42 NetworkManager[939]: <info>  devices added (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
Feb 12 21:18:04 linux42 NetworkManager[939]: <info>  device added (path: /sys/devices/virtual/net/ppp0, iface: ppp0): no ifupdown configuration found.
Feb 12 21:18:17 linux42 kernel: [23418.325100] [UFW BLOCK] IN=wlan2 OUT= MAC= SRC=fe80:0000:0000:0000:0997:7b96:aca2:5964 DST=ff02:0000:0000:0000:0000:0000:0000:0003 LEN=81 TC=0 HOPLIMIT=1 FLOWLBL=0 PROTO=UDP SPT=33445 DPT=33445 LEN=41 
Feb 12 21:18:35 linux42 pppd[14377]: LCP: timeout sending Config-Requests
Feb 12 21:18:35 linux42 pppd[14377]: Connection terminated.
Feb 12 21:18:35 linux42 avahi-daemon[580]: Withdrawing workstation service for ppp0.
Feb 12 21:18:35 linux42 NetworkManager[939]: <warn>  VPN plugin failed: connect-failed (1)
Feb 12 21:18:35 linux42 NetworkManager[939]: <info>  devices removed (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
Feb 12 21:18:35 linux42 NetworkManager[939]: <warn>  (ppp0): failed to disable userspace IPv6LL address handling
Feb 12 21:18:35 linux42 pppd[14377]: Modem hangup
Feb 12 21:18:35 linux42 NetworkManager[939]: <warn>  VPN plugin failed: connect-failed (1)
Feb 12 21:18:37 linux42 kernel: [23438.324658] [UFW BLOCK] IN=wlan2 OUT= MAC= SRC=fe80:0000:0000:0000:0997:7b96:aca2:5964 DST=ff02:0000:0000:0000:0000:0000:0000:0003 LEN=81 TC=0 HOPLIMIT=1 FLOWLBL=0 PROTO=UDP SPT=33445 DPT=33445 LEN=41 
Feb 12 21:18:38 linux42 NetworkManager[939]: <error> [1455308318.863940] [platform/nm-linux-platform.c:2440] sysctl_set(): platform-linux: sysctl: failed to set '/proc/sys/net/ipv6/conf/wlan2/mtu' to '1500': (22) Das Argument ist ungültig
Feb 12 21:18:40 linux42 pppd[14377]: Exit.
Feb 12 21:18:40 linux42 NetworkManager[939]: <warn>  VPN plugin failed: connect-failed (1)
Feb 12 21:18:40 linux42 NetworkManager[939]: <info>  VPN plugin state changed: stopped (6)
Feb 12 21:18:40 linux42 NetworkManager[939]: <info>  VPN plugin state change reason: unknown (0)
Feb 12 21:18:40 linux42 NetworkManager[939]: <warn>  error disconnecting VPN: Could not process the request because no VPN connection was active.
Feb 12 21:18:57 linux42 kernel: [23458.320424] [UFW BLOCK] IN=wlan2 OUT= MAC= SRC=fe80:0000:0000:0000:0997:7b96:aca2:5964 DST=ff02:0000:0000:0000:0000:0000:0000:0003 LEN=81 TC=0 HOPLIMIT=1 FLOWLBL=0 PROTO=UDP SPT=33445 DPT=33445 LEN=41 
Feb 12 21:18:59 linux42 NetworkManager[939]: <info>  VPN service 'pptp' disappeared

linux42

Bearbeitet von Vej:

Macadressen auf Nutzerwunsch anonymisiert (die relevanten Teile sind hier ausgewürfelt)

Moderiert von noisefloor:

Änderung Nutzername gem. Antrag an PL

praseodym Team-Icon

Supporter
Avatar von praseodym

Anmeldungsdatum:
9. Februar 2009

Beiträge: 22076

Er scheint über die Schnittstelle wlan2 verbinden zu wollen. Wieviele Netzwerkkarten werden verwendet?

cat /etc/udev/rules.d/70-persistent-net.rules
ifconfig -a
iwconfig
lspci -nnk | grep -iA2 net
lsusb

Welche Plugins werden verwendet/sollen verwendet werden?

https://wiki.ubuntuusers.de/NetworkManager/VPN_Plugins/

linux42

(Themenstarter)

Anmeldungsdatum:
31. Juli 2014

Beiträge: 34

Hallo,

es werden je nach Verbindung network-manager-pptp und network-manager-openvpn genutzt. Beide funktionieren nicht.

cat /etc/udev/rules.d/70-persistent-net.rules

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# This file was automatically generated by the /lib/udev/write_net_rules
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.

# PCI device 0x8086:0x10f5 (e1000e)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:1c:25:99:10:f5", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

# PCI device 0x8086:0x4236 (iwlwifi)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:16:ea:e6:42:36", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"

# USB device 0x:0x (rndis_host)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="80:00:60:0f:42:cb", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"

# PCI device 0x8086:0x10f5 (e1000e)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:27:13:6a:c8:8a", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth2"

# PCI device 0x8086:0x4237 (iwlwifi)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:26:c6:86:83:27", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan1"

# PCI device 0x8086:0x10f5 (e1000e)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:1c:25:9c:18:3a", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth3"

# PCI device 0x8086:0x4236 (iwlwifi)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:16:ea:ee:5a:23", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan2"

# USB device 0x:0x (rt2800usb)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:06:4f:79:72:55", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan3"

# USB device 0x:0x (rt2800usb)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0f:60:01:b3:19", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan4"

ifconfig -a

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
eth3      Link encap:Ethernet  Hardware Adresse 00:1c:25:9c:18:3a  
          UP BROADCAST MULTICAST  MTU:1500  Metrik:1
          RX-Pakete:0 Fehler:0 Verloren:0 Überläufe:0 Fenster:0
          TX-Pakete:0 Fehler:0 Verloren:0 Überläufe:0 Träger:0
          Kollisionen:0 Sendewarteschlangenlänge:1000 
          RX-Bytes:0 (0.0 B)  TX-Bytes:0 (0.0 B)
          Interrupt:20 Speicher:fc000000-fc020000 

lo        Link encap:Lokale Schleife  
          inet Adresse:127.0.0.1  Maske:255.0.0.0
          inet6-Adresse: ::1/128 Gültigkeitsbereich:Maschine
          UP LOOPBACK RUNNING  MTU:65536  Metrik:1
          RX-Pakete:142596 Fehler:0 Verloren:0 Überläufe:0 Fenster:0
          TX-Pakete:142596 Fehler:0 Verloren:0 Überläufe:0 Träger:0
          Kollisionen:0 Sendewarteschlangenlänge:0 
          RX-Bytes:7186207 (7.1 MB)  TX-Bytes:7186207 (7.1 MB)

wlan2     Link encap:Ethernet  Hardware Adresse 00:16:ea:ee:5a:23  
          inet Adresse:192.168.2.186  Bcast:192.168.2.255  Maske:255.255.255.0
          inet6-Adresse: *IP*/128 Gültigkeitsbereich:Global
          inet6-Adresse: fe80::216:eaff:feee:fbf8/64 Gültigkeitsbereich:Verbindung
          inet6-Adresse: *IP*/64 Gültigkeitsbereich:Global
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metrik:1
          RX-Pakete:309746 Fehler:0 Verloren:0 Überläufe:0 Fenster:0
          TX-Pakete:276754 Fehler:0 Verloren:0 Überläufe:0 Träger:0
          Kollisionen:0 Sendewarteschlangenlänge:1000 
          RX-Bytes:103747591 (103.7 MB)  TX-Bytes:49983682 (49.9 MB)

iwconfig

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
wlan2     IEEE 802.11abgn  ESSID:"Hamnet_DC7IA"  
          Mode:Managed  Frequency:2.462 GHz  Access Point: E8:94:F6:6A:27:11   
          Bit Rate=65 Mb/s   Tx-Power=15 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=69/70  Signal level=-41 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:3584   Missed beacon:0

eth3      no wireless extensions.

lo        no wireless extensions.

lspci -nnk | grep -iA2 net

1
2
3
4
5
6
7
00:19.0 Ethernet controller [0200]: Intel Corporation 82567LM Gigabit Network Connection [8086:10f5] (rev 03)
	Subsystem: Lenovo Device [17aa:20ee]
	Kernel driver in use: e1000e
--
03:00.0 Network controller [0280]: Intel Corporation Ultimate N WiFi Link 5300 [8086:4236]
	Subsystem: Intel Corporation Device [8086:1011]
	Kernel driver in use: iwlwifi

lsusb

1
2
3
4
5
6
7
8
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

linux42

Bearbeitet von Vej:

Teile der Macadressen auf Nutzerwunsch ausgewürfelt.

Moderiert von noisefloor:

Änderung Nutzername gem. Antrag an PL

praseodym Team-Icon

Supporter
Avatar von praseodym

Anmeldungsdatum:
9. Februar 2009

Beiträge: 22076

Die Schnittstellenbezeichnungen ändern sich.

sudo mv /etc/udev/rules.d/70-persistent-net.rules /etc/udev/rules.d/70-persistent-net.bak
sudo udevadm trigger
sudo service udev reload
sudo service udev restart

Evtl. alle Plugins inkl. NM reinstallieren:

sudo apt-get install --reinstall network-manager-openvpn network-manager-openvpn-gnome network-manager-pptp network-manager-pptp-gnome network-manager network-manager-gnome 

linux42

(Themenstarter)

Anmeldungsdatum:
31. Juli 2014

Beiträge: 34

Das habe ich, das hat nichts geändert.

Danke für deine Antwort.

linux42

Moderiert von noisefloor:

Änderung Nutzername gem. Antrag an PL

Antworten |