Титла: Ubuntu 9.04 + Wireless + VPN проблем Публикувано от: zxvf в Oct 28, 2009, 23:11 Здравейте.
Опитвам се да се свържа с Microsoft PPTP Server като под Windows нямам абсолютно никакви проблеми. Под убунтуто също нямам проблеми когато съм с кабел и не съм през wireless. Прочетох една статия в която се споменава че network-manager-a на убунту по default търси eth0 или eth1 и не би работил с wlan0 както е при мен. Промених си /etc/udev/rules.d/70-persistent-net.rules съответно инструкциите в тази статия но проблема си е същия. root@localhost:/#cat /etc/udev/rules.d/70-persistent-net.rules # This file maintains persistent names for network interfaces. # See udev(7) for syntax. # # Entries are automatically added by the 75-persistent-net-generator.rules # file; however you are also free to add your own entries. # PCI device 0x8086:0x4229 (iwlagn) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:1f:3b:28:ed:e7", ATTR{type}=="1", KERNEL=="wlan*", NAME="eth1" # PCI device 0x8086:0x1049 (e1000e) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:1e:ec:1a:3e:38", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" Ето и /etc/ppp/options.pptp root@localhost:/#cat /etc/ppp/options.pptp lock noauth refuse-eap refuse-chap nobsdcomp nodeflate root@localhost:/#cat /etc/ppp/peers/vpn remotename vpn ipparam vpn pty "/usr/sbin/pptp ***.***.***.*** --nolaunchpppd" name petkov usepeerdns require-mppe-128 refuse-eap noauth file /etc/ppp/options.pptp В /etc/ppp/chap-secrets имам: root@localhost:/#cat /etc/ppp/chap-secrets petkov vpn password * Ето и /var/log/syslog root@localhost:/#tail -f Oct 28 23:15:21 ivo-laptop pppd[5426]: pppd 2.4.5 started by root, uid 0 Oct 28 23:15:21 ivo-laptop pptp[5428]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated Oct 28 23:15:22 ivo-laptop pppd[5426]: Using interface ppp0 Oct 28 23:15:22 ivo-laptop pppd[5426]: Connect: ppp0 <--> /dev/pts/2 Oct 28 23:15:22 ivo-laptop pptp[5438]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Request' Oct 28 23:15:22 ivo-laptop pptp[5438]: anon log[ctrlp_disp:pptp_ctrl.c:739]: Received Start Control Connection Reply Oct 28 23:15:22 ivo-laptop pptp[5438]: anon log[ctrlp_disp:pptp_ctrl.c:773]: Client connection established. Oct 28 23:15:23 ivo-laptop pptp[5438]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request' Oct 28 23:15:23 ivo-laptop pptp[5438]: anon log[ctrlp_disp:pptp_ctrl.c:858]: Received Outgoing Call Reply. Oct 28 23:15:23 ivo-laptop pptp[5438]: anon log[ctrlp_disp:pptp_ctrl.c:897]: Outgoing call established (call ID 0, peer's call ID 10140). Oct 28 23:15:37 ivo-laptop NetworkManager: <info> Trying to start the system settings daemon... Oct 28 23:15:43 ivo-laptop pptp[5438]: anon log[ctrlp_disp:pptp_ctrl.c:788]: Received Stop Control Connection Request. Oct 28 23:15:43 ivo-laptop pptp[5438]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 4 'Stop-Control-Connection-Reply' Oct 28 23:15:43 ivo-laptop pptp[5438]: anon log[callmgr_main:pptp_callmgr.c:258]: Closing connection (shutdown) Oct 28 23:15:43 ivo-laptop pptp[5438]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request' Oct 28 23:15:43 ivo-laptop pptp[5438]: anon log[call_callback:pptp_callmgr.c:79]: Closing connection (call state) Oct 28 23:15:43 ivo-laptop pppd[5426]: Modem hangup Oct 28 23:15:43 ivo-laptop pppd[5426]: Connection terminated. Oct 28 23:15:43 ivo-laptop pppd[5426]: Exit. Странното е че с кабел работи ... :) Благодаря предварително |