Tôi cố gắng thiết lập kết nối VPN tới ItsHidden trên Ubuntu 9.10. Tôi đã kiểm tra kỹ thông tin đăng nhập của mình trong cấu hình VPN, nhưng tôi không nghĩ rằng đây là vấn đề. Trong syslog của tôi, tôi nhận được những tin nhắn này:
Jan 11 14:38:46 NetworkManager: Starting VPN service 'org.freedesktop.NetworkManager.pptp'...
Jan 11 14:38:46 NetworkManager: VPN service 'org.freedesktop.NetworkManager.pptp' started (org.freedesktop.NetworkManager.pptp), PID 4502
Jan 11 14:38:46 NetworkManager: VPN service 'org.freedesktop.NetworkManager.pptp' just appeared, activating connections
Jan 11 14:38:46 NetworkManager: VPN plugin state changed: 1
Jan 11 14:38:46 NetworkManager: VPN plugin state changed: 3
Jan 11 14:38:46 pppd[4506]: Plugin /usr/lib/pppd/2.4.5//nm-pptp-pppd-plugin.so loaded.
Jan 11 14:38:46 NetworkManager: VPN connection 'ItsHidden' (Connect) reply received.
Jan 11 14:38:46 pppd[4506]: pppd 2.4.5 started by root, uid 0
Jan 11 14:38:46 pppd[4506]: Using interface ppp0
Jan 11 14:38:46 NetworkManager: SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
Jan 11 14:38:46 NetworkManager: SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/ppp0, iface: ppp0): no ifupdown configuration found.
Jan 11 14:38:46 pppd[4506]: Connect: ppp0 /dev/pts/1
Jan 11 14:39:06 pptp[4508]: nm-pptp-service-4502 fatal[get_ip_address:pptp.c:430]: gethostbyname 'vpn.itshidden.com': HOST NOT FOUND
Jan 11 14:39:06 pppd[4506]: Modem hangup
Jan 11 14:39:06 pppd[4506]: Connection terminated.
Jan 11 14:39:06 NetworkManager: VPN plugin failed: 1
Jan 11 14:39:06 NetworkManager: SCPlugin-Ifupdown: devices removed (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
Jan 11 14:39:06 pppd[4506]: Exit.
Jan 11 14:39:06 NetworkManager: VPN plugin failed: 1
Jan 11 14:39:06 NetworkManager: VPN plugin failed: 1
Jan 11 14:39:06 NetworkManager: VPN plugin state changed: 6
Jan 11 14:39:06 NetworkManager: VPN plugin state change reason: 0
Jan 11 14:39:06 NetworkManager: connection_state_changed(): Could not process the request because no VPN connection was active.
Jan 11 14:39:06 NetworkManager: Policy set 'Auto eth0' (eth0) as default for routing and DNS.
Jan 11 14:39:19 NetworkManager: [1263213559.003098] ensure_killed(): waiting for vpn service pid 4502 to exit
Jan 11 14:39:19 NetworkManager: [1263213559.003289] ensure_killed(): vpn service pid 4502 cleaned up
Vì gethostbyname không thành công, tôi cho rằng NetworkManager không biết rằng tôi sử dụng proxy để truy cập Internet. Tôi không chắc chắn rằng đây là vấn đề thực sự.
Bạn có thể cho tôi biết một giải pháp để làm cho gethostbyname không bị lỗi nữa không?