You are not logged in.

#1 2008-08-22 22:57:03

samyray
Member
Registered: 2008-08-22
Posts: 4

Problem with VPN

Hi!
I am new in Archlinux,but I have some experience with Slackware and Fedore.
I read careful Archwiki about VPN,and make like it was there,but nothing(
Help me please!
I have:
/etc/ppp/peers/kpitelecom

name samyray
remotename PPTP
ipparam kpitelecom
lock
deflate 0
defaultroute
lcp-echo-interval 60
lcp-echo-failure 4
lcp-echo-interval 15
pty "/usr/bin/pptp vpn2.ntu-kpi.kiev.ua --nolaunchpppd"

/etc/ppp/chap-secrets

# Secrets for authentication using CHAP
# client        server  secret                  IP addresses
samyray PPTP      my_pass   10.7.2.253

but
/var/log/daemon.log

Aug 23 01:53:52 samyray pppd[11130]: The remote system (PPTP) is required to authenticate itself
Aug 23 01:53:52 samyray pppd[11130]: but I couldn't find any suitable secret (password) for it to use to do so.

And if I understand right,after command pon i must see the new device ppp0,but

ifconfig -a
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:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:400 (400.0 b)  TX bytes:400 (400.0 b)

wlan0     Link encap:Ethernet  HWaddr 00:40:95:00:FF:BE  
          inet addr:10.101.3.14  Bcast:10.101.3.255  Mask:255.255.255.0
          inet6 addr: fe80::240:95ff:fe00:ffbe/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:491529 errors:0 dropped:0 overruns:0 frame:0
          TX packets:358195 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:713864268 (680.7 Mb)  TX bytes:24375165 (23.2 Mb)
          Interrupt:19 Memory:fcff0000-fd000000

Help please)

P.S.Sorry for my english)

Last edited by samyray (2008-08-22 23:05:13)

Offline

#2 2008-08-23 10:04:51

luca
Member
From: Rome
Registered: 2005-10-30
Posts: 280

Re: Problem with VPN

Hi samyray,
I think that /etc/ppp/chap-secrets should be:

# Secrets for authentication using CHAP
# client        server  secret                  IP addresses
samyray PPTP      my_pass   10.7.2.253 *

With * at the end of the line
For more information see this:
http://pptpclient.sourceforge.net/howto … re_by_hand

Offline

#3 2008-08-23 13:11:43

samyray
Member
Registered: 2008-08-22
Posts: 4

Re: Problem with VPN

Thank you very mutch!!!!
Your link was very helpful,now I have working internet and I love Archlinux again)

Offline

Board footer

Powered by FluxBB