Problem with VPN connection (PPTP) to Internet-provider

Anton Shaleyev interlinguamaster at gmail.com
Sun Sep 30 11:07:42 BST 2007


Hello!
For this PPTP connection in Ubuntu i used "sudo pon/poff". Now i
installed Edubuntu and I cannot connect using this utility.
What i do to connect?
1. I install pptp-linux and network-manger-pptp.
2. Edit options.pptp in /etc/ppp, I delete all and add three lines
"lock , noauth , persist"
3. Then i create provider file in /etc/ppp/peers/ic and add next lines:
maxfail 0
lcp-echo-interval 60
lcp-echo-failure 4
defaultroute
pty "pptp 192.168.149.1 --nolaunchpppd"
name Enterprise
remotename PPTP
file /etc/ppp/options.pptp
ipparam ic
deflate 15,15
mtu 1412
4. Edit /etc/ppp/chap-secrets
login PPTP password *
5. After it i edit /etc/network/interfaces
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp

auto eth1                                  # I use this network card
iface eth0 inet static
address 192.168.172.15
netmask 255.255.255.192
up route add -net 192.168.0.0 netmask 255.255.0.0 gw 192.168.172.1 dev eth1

6. sudo /etc/init.d/networking restart
This command don't write any problems.

7. Then i check interfaces with using "ifconfig"
It give me 3 interfaces: eth0, eth1, lo
8. Ping address of gateway and PPTP-server. All ping is good.
9. Edit /etc/resolv.conf
search
nameserver  195.98.64.65
nameserver  195.98.64.66

10. Then i write "sudo pon ic". And look ifconfig output. There are no
connection with name ppp.
In Ubuntu this work all right.

Where I have mistake? May be I didn't install some package?

Or I can connect to PPTP in other way?
I have
login
password
PPTP address  192.168.149.1
DNS address    195.98.64.65 195.98.64.66
local IP address 10.0.32.130
Subnet mask 255.255.255.192
Gateway        10.0.32.129



More information about the edubuntu-users mailing list