Ubuntu

如何調試 Ubuntu/Cisco VPN 問題

  • October 21, 2010

我正在嘗試將 Ubuntu 筆記型電腦 (9.10) 與某種 Cisco VPN 設備連接;我不知道另一端是什麼,也不太可能確切地知道是什麼。我知道我的公司允許來自 Linux 客戶端的 VPN,因為它們提供了一個我無法安裝的 VPN(它無法編譯)。我對這個network-manager-vpnc包裹最幸運,但我不知道是什麼失敗了。當我嘗試連接時,我從 libnotify 收到此消息:

The VPN connection 'XXX' failed.

這不是很有幫助。我已經搜尋了系統日誌,我能找到的是:

Dec 27 12:57:45 jcasadon-lap NetworkManager: <info>  Starting VPN service 'org.freedesktop.NetworkManager.vpnc'...
Dec 27 12:57:45 jcasadon-lap NetworkManager: <info>  VPN service 'org.freedesktop.NetworkManager.vpnc' started (org.freedesktop.NetworkManager.vpnc), PID 2672
Dec 27 12:57:45 jcasadon-lap NetworkManager: <info>  VPN service 'org.freedesktop.NetworkManager.vpnc' just appeared, activating connections
Dec 27 12:58:00 jcasadon-lap NetworkManager: <info>  VPN plugin state changed: 3
Dec 27 12:58:00 jcasadon-lap NetworkManager: <info>  VPN connection 'AmericasEast' (Connect) reply received.
Dec 27 12:58:00 jcasadon-lap NetworkManager:    SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/tun0, iface: tun0)
Dec 27 12:58:00 jcasadon-lap kernel: [ 6144.529002] tun0: Disabled Privacy Extensions
Dec 27 12:58:00 jcasadon-lap NetworkManager:    SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/tun0, iface: tun0): no ifupdown configuration found.
Dec 27 12:58:15 jcasadon-lap NetworkManager:    SCPlugin-Ifupdown: devices removed (path: /sys/devices/virtual/net/tun0, iface: tun0)
Dec 27 12:58:15 jcasadon-lap NetworkManager: <info>  VPN plugin failed: 1
Dec 27 12:58:15 jcasadon-lap NetworkManager: <info>  VPN plugin state changed: 6
Dec 27 12:58:15 jcasadon-lap NetworkManager: <info>  VPN plugin state change reason: 0
Dec 27 12:58:15 jcasadon-lap NetworkManager: <WARN>  connection_state_changed(): Could not process the request because no VPN connection was active.
Dec 27 12:58:15 jcasadon-lap NetworkManager: <info>  (wlan0): writing resolv.conf to /sbin/resolvconf
Dec 27 12:58:15 jcasadon-lap NetworkManager: <info>  Policy set 'Northbound Train' (wlan0) as default for routing and DNS.
Dec 27 12:58:27 jcasadon-lap NetworkManager: <debug> [1261936707.002971] ensure_killed(): waiting for vpn service pid 2672 to exit
Dec 27 12:58:27 jcasadon-lap NetworkManager: <debug> [1261936707.003175] ensure_killed(): vpn service pid 2672 cleaned up

我不知道從這裡去哪裡。明天我會問 IT/IS 人員是否有什麼他們可以告訴我的,但我不知道他們是否能告訴我任何事情。有任何想法嗎?謝謝!

我首先將 Ubuntu 9.10 vpnc 連接到 cisco VPN 設備:

1)在我的情況下為Windows主機(Win XP)安裝Cisco VPN客戶端,安裝網路/安全管理員提供的配置文件,並讓它在Windows上執行

  1. 將所需的網路連接 -> VPN 選項與 Window 客戶端的各種螢幕進行比較。

我沒有嘗試編譯 Cisco Linux 客戶端——我在 Ubuntu 和 Ubuntu 9.10 的標準網路配置中使用了內置 vpnc。對於我們的網路配置來說,每台大概需要15分鐘(windows端客戶端安裝用時最多,ubuntu端交叉比較用時最多。

您是否嘗試從 shell 執行 vpnc,而不是通過網路管理器?

壁畫

引用自:https://serverfault.com/questions/97590