https://bugzilla.novell.com/show_bug.cgi?id=718741 https://bugzilla.novell.com/show_bug.cgi?id=718741#c0 Summary: Problems connecting to VPN via hso interface with neworkmanager (vpnc) Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: x86-64 OS/Version: openSUSE 11.4 Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: branislav.klocok@orava.sk QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0.2) Gecko/20100101 Firefox/6.0.2 Recently I have received a new USB UMTS stick and for some reason, when I use it to connect to VPN (connection is successful), I get no traffic through. My linux distribution is OpenSuse 11.4. x86_64. Kernel version is 2.6.37.6-0.7-desktop NetworManager version is 0.8.2-15.24.1 NetworkManager-vpnc version is 0.8.2-4.1 NetworkManager-vpnc-kde4 version is 0.9.2.65git.1315875131-88.1 plasmoid-networkmanagement version is 0.9.2.65git.1315875131-88.1 I am using vpnc connection via neworkmanager and plasmoid interface. When I use a vpn over my wireless lan everything works fine. - Working connection: The output of ifconfig shows following: eth0 Link encap:Ethernet HWaddr 68:B5:99:F8:C1:28 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:20 Memory:94700000-94720000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:370 errors:0 dropped:0 overruns:0 frame:0 TX packets:370 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:38989 (38.0 Kb) TX bytes:38989 (38.0 Kb) wlan0 Link encap:Ethernet HWaddr 58:94:6B:9E:8F:40 inet addr:192.168.1.26 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::5a94:6bff:fe9e:8f40/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:243016 errors:0 dropped:0 overruns:0 frame:0 TX packets:190366 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:175680244 (167.5 Mb) TX bytes:17191415 (16.3 Mb) Output of route -n before connecting to vpn is following: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.1.0 0.0.0.0 255.255.255.0 U 2 0 0 wlan0 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 wlan0 After connecting to VPN ifconfig shows following output: eth0 Link encap:Ethernet HWaddr 68:B5:99:F8:C1:28 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:20 Memory:94700000-94720000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:370 errors:0 dropped:0 overruns:0 frame:0 TX packets:370 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:38989 (38.0 Kb) TX bytes:38989 (38.0 Kb) tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 inet addr:172.23.108.81 P-t-P:172.23.108.81 Mask:255.255.255.0 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1412 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:20 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:500 RX bytes:0 (0.0 b) TX bytes:1040 (1.0 Kb) wlan0 Link encap:Ethernet HWaddr 58:94:6B:9E:8F:40 inet addr:192.168.1.26 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::5a94:6bff:fe9e:8f40/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:243775 errors:0 dropped:0 overruns:0 frame:0 TX packets:191110 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:175879896 (167.7 Mb) TX bytes:17262584 (16.4 Mb) After connection route -n shows following: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 200.149.212.149 192.168.1.1 255.255.255.255 UGH 0 0 0 wlan0 172.23.108.0 0.0.0.0 255.255.255.0 U 0 0 0 tun0 192.168.1.0 0.0.0.0 255.255.255.0 U 2 0 0 wlan0 0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 tun0 As I said in the beginning this is the working connection, so I get the access to my office network and can work. - Not working connection: When I connect my usb stick the lsusb for the device shows: Bus 002 Device 004: ID 0af0:d157 Option Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 255 Vendor Specific Class bDeviceSubClass 255 Vendor Specific Subclass bDeviceProtocol 255 Vendor Specific Protocol bMaxPacketSize0 64 idVendor 0x0af0 Option idProduct 0xd157 bcdDevice 1.00 iManufacturer 1 Option Wireless Technology iProduct 2 GlobeTrotter GI1515 iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 154 bNumInterfaces 6 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 (Bus Powered) MaxPower 500mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 255 Vendor Specific Subclass bInterfaceProtocol 255 Vendor Specific Protocol iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x01 EP 1 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 1 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 255 Vendor Specific Subclass bInterfaceProtocol 255 Vendor Specific Protocol iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x89 EP 9 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x02 EP 2 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 0 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 2 bAlternateSetting 0 bNumEndpoints 3 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 255 Vendor Specific Subclass bInterfaceProtocol 255 Vendor Specific Protocol iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x8a EP 10 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x03 EP 3 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x8b EP 11 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x000a 1x 10 bytes bInterval 9 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 3 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 255 Vendor Specific Subclass bInterfaceProtocol 255 Vendor Specific Protocol iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x8c EP 12 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x04 EP 4 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 4 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 255 Vendor Specific Class bInterfaceSubClass 255 Vendor Specific Subclass bInterfaceProtocol 255 Vendor Specific Protocol iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x8d EP 13 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x05 EP 5 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 5 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 8 Mass Storage bInterfaceSubClass 6 SCSI bInterfaceProtocol 80 Bulk (Zip) iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x8e EP 14 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x06 EP 6 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0200 1x 512 bytes bInterval 0 Device Qualifier (for other device speed): bLength 10 bDescriptorType 6 bcdUSB 2.00 bDeviceClass 255 Vendor Specific Class bDeviceSubClass 255 Vendor Specific Subclass bDeviceProtocol 255 Vendor Specific Protocol bMaxPacketSize0 64 bNumConfigurations 0 Device Status: 0x0000 (Bus Powered) Ifconfig shows: eth0 Link encap:Ethernet HWaddr 68:B5:99:F8:C1:28 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:20 Memory:94700000-94720000 hso0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 inet addr:10.24.14.220 P-t-P:10.24.14.220 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1486 Metric:1 RX packets:78 errors:0 dropped:0 overruns:0 frame:0 TX packets:81 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:10 RX bytes:18677 (18.2 Kb) TX bytes:8572 (8.3 Kb) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:258 errors:0 dropped:0 overruns:0 frame:0 TX packets:258 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:29679 (28.9 Kb) TX bytes:29679 (28.9 Kb) Route -n shows Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 hso0 At this point internet connection to internet works fine. Then I connect to VPN. After connection (successful) ifconfic shows: eth0 Link encap:Ethernet HWaddr 68:B5:99:F8:C1:28 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:20 Memory:94700000-94720000 hso0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 inet addr:10.24.14.220 P-t-P:10.24.14.220 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1486 Metric:1 RX packets:470 errors:0 dropped:0 overruns:0 frame:0 TX packets:486 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:10 RX bytes:381047 (372.1 Kb) TX bytes:49481 (48.3 Kb) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:308 errors:0 dropped:0 overruns:0 frame:0 TX packets:308 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:33907 (33.1 Kb) TX bytes:33907 (33.1 Kb) tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 inet addr:172.23.108.119 P-t-P:172.23.108.119 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1398 Metric:1 RX packets:4 errors:0 dropped:0 overruns:0 frame:0 TX packets:11 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:500 RX bytes:660 (660.0 b) TX bytes:812 (812.0 b) And route -n shows: Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 172.23.108.0 0.0.0.0 255.255.255.0 U 0 0 0 tun0 0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 tun0 To me it seems that networkmanger does not setup correctly the routing table. Networkmanager log show following: Sep 18 15:24:11 chspr1l983859a NetworkManager[1619]: <info> Activation (hso0) starting connection 'Orange' Sep 18 15:24:11 chspr1l983859a NetworkManager[1619]: <info> (hso0): device state change: 3 -> 4 (reason 0) Sep 18 15:24:11 chspr1l983859a NetworkManager[1619]: <info> Activation (hso0) Stage 1 of 5 (Device Prepare) scheduled... Sep 18 15:24:11 chspr1l983859a NetworkManager[1619]: <info> Activation (hso0) Stage 1 of 5 (Device Prepare) started... Sep 18 15:24:11 chspr1l983859a NetworkManager[1619]: <info> Activation (hso0) Stage 1 of 5 (Device Prepare) complete. Sep 18 15:24:13 chspr1l983859a NetworkManager[1619]: <info> WWAN now enabled by radio killswitch Sep 18 15:24:17 chspr1l983859a NetworkManager[1619]: <info> Activation (hso0) Stage 2 of 5 (Device Configure) scheduled... Sep 18 15:24:17 chspr1l983859a NetworkManager[1619]: <info> Activation (hso0) Stage 2 of 5 (Device Configure) starting... Sep 18 15:24:17 chspr1l983859a NetworkManager[1619]: <info> (hso0): device state change: 4 -> 5 (reason 0) Sep 18 15:24:17 chspr1l983859a NetworkManager[1619]: <info> Activation (hso0) Stage 2 of 5 (Device Configure) successful. Sep 18 15:24:17 chspr1l983859a NetworkManager[1619]: <info> Activation (hso0) Stage 3 of 5 (IP Configure Start) scheduled. Sep 18 15:24:17 chspr1l983859a NetworkManager[1619]: <info> Activation (hso0) Stage 2 of 5 (Device Configure) complete. Sep 18 15:24:17 chspr1l983859a NetworkManager[1619]: <info> Activation (hso0) Stage 3 of 5 (IP Configure Start) started... Sep 18 15:24:17 chspr1l983859a NetworkManager[1619]: <info> (hso0): device state change: 5 -> 7 (reason 0) Sep 18 15:24:17 chspr1l983859a NetworkManager[1619]: <info> Activation (hso0) Stage 3 of 5 (IP Configure Start) complete. Sep 18 15:24:17 chspr1l983859a NetworkManager[1619]: nm_ip4_config_add_nameserver: assertion `nameserver > 0' failed Sep 18 15:24:17 chspr1l983859a NetworkManager[1619]: <info> Activation (hso0) Stage 4 of 5 (IP4 Configure Get) scheduled... Sep 18 15:24:17 chspr1l983859a NetworkManager[1619]: <error> [1316352257.642639] [nm-device.c:628] activation_source_schedule(): activation stage already scheduled Sep 18 15:24:17 chspr1l983859a NetworkManager[1619]: <info> Activation (hso0) Stage 4 of 5 (IP4 Configure Get) scheduled... Sep 18 15:24:17 chspr1l983859a NetworkManager[1619]: <info> Activation (hso0) Stage 4 of 5 (IP4 Configure Get) started... Sep 18 15:24:17 chspr1l983859a NetworkManager[1619]: <info> (hso0): bringing up device. Sep 18 15:24:17 chspr1l983859a NetworkManager[1619]: <info> Activation (hso0) Stage 5 of 5 (IP Configure Commit) scheduled... Sep 18 15:24:17 chspr1l983859a NetworkManager[1619]: <info> Activation (hso0) Stage 4 of 5 (IP4 Configure Get) complete. Sep 18 15:24:17 chspr1l983859a NetworkManager[1619]: <info> Activation (hso0) Stage 5 of 5 (IP Configure Commit) started... Sep 18 15:24:18 chspr1l983859a NetworkManager[1619]: <info> Clearing nscd hosts cache. Sep 18 15:24:18 chspr1l983859a NetworkManager[1619]: <info> (hso0): device state change: 7 -> 8 (reason 0) Sep 18 15:24:18 chspr1l983859a NetworkManager[1619]: <info> Policy set 'Orange' (hso0) as default for IPv4 routing and DNS. Sep 18 15:24:18 chspr1l983859a NetworkManager[1619]: <info> Activation (hso0) successful, device activated. Sep 18 15:24:18 chspr1l983859a NetworkManager[1619]: <info> Activation (hso0) Stage 5 of 5 (IP Configure Commit) complete. Sep 18 15:24:18 chspr1l983859a nm-dispatcher.action: Script '/etc/NetworkManager/dispatcher.d/autofs' exited with error status 1. Sep 18 15:24:22 chspr1l983859a NetworkManager[1619]: <info> Starting VPN service 'vpnc'... Sep 18 15:24:22 chspr1l983859a NetworkManager[1619]: <info> VPN service 'vpnc' started (org.freedesktop.NetworkManager.vpnc), PID 31443 Sep 18 15:24:22 chspr1l983859a NetworkManager[1619]: <info> VPN service 'vpnc' appeared; activating connections Sep 18 15:24:22 chspr1l983859a NetworkManager[1619]: <info> VPN plugin state changed: 3 Sep 18 15:24:22 chspr1l983859a NetworkManager[1619]: <info> VPN connection 'Vale_vpnc' (Connect) reply received. Sep 18 15:24:24 chspr1l983859a NetworkManager[1619]: <info> VPN connection 'Vale_vpnc' (IP Config Get) reply received. Sep 18 15:24:24 chspr1l983859a NetworkManager[1619]: <info> VPN Gateway: 200.149.212.149 Sep 18 15:24:24 chspr1l983859a NetworkManager[1619]: <info> Tunnel Device: tun0 Sep 18 15:24:24 chspr1l983859a NetworkManager[1619]: <info> Internal IP4 Address: 172.23.109.58 Sep 18 15:24:24 chspr1l983859a NetworkManager[1619]: <info> Internal IP4 Prefix: 24 Sep 18 15:24:24 chspr1l983859a NetworkManager[1619]: <info> Internal IP4 Point-to-Point Address: 172.23.109.58 Sep 18 15:24:24 chspr1l983859a NetworkManager[1619]: <info> Maximum Segment Size (MSS): 0 Sep 18 15:24:24 chspr1l983859a NetworkManager[1619]: <info> Forbid Default Route: no Sep 18 15:24:24 chspr1l983859a NetworkManager[1619]: <info> Internal IP4 DNS: 172.23.72.52 Sep 18 15:24:24 chspr1l983859a NetworkManager[1619]: <info> Internal IP4 DNS: 172.23.72.53 Sep 18 15:24:24 chspr1l983859a NetworkManager[1619]: <info> DNS Domain: 'cvrd.br' Sep 18 15:24:25 chspr1l983859a NetworkManager[1619]: <info> Clearing nscd hosts cache. Sep 18 15:24:25 chspr1l983859a NetworkManager[1619]: <info> VPN connection 'Vale_vpnc' (IP Config Get) complete. Sep 18 15:24:25 chspr1l983859a NetworkManager[1619]: <info> Policy set 'Vale_vpnc' (tun0) as default for IPv4 routing and DNS. Sep 18 15:24:25 chspr1l983859a NetworkManager[1619]: <info> VPN plugin state changed: 4 Sep 18 15:24:25 chspr1l983859a nm-dispatcher.action: Script '/etc/NetworkManager/dispatcher.d/netcontrol_services' exited with error status 127. Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.