General :: Creating Stable, Automatically Reconnecting PPTP Connection In Ubuntu
Aug 13, 2010
I've been using network-manager-pptp to create a PPTP VPN connection in my Ubuntu virtual machine for a while now, but I have constant problems with random disconnects. I don't know what the cause of the problem is, but I suspect that network-manager-pptp is not the most well-written piece of software around...
Is there another way of instantiating PPTP connections in a more robust manner? The same PPTP server works reasonably OK with Windows 7 (some disconnects, fewer than in Ubuntu, and Windows has an auto-reconnect feature).
I read some guides on using the pptp command, but they all seemed pretty low-level, messing around with ppp. I never found the time to figure out how it all was supposed to fit together. Has anyone accomplished what I'm trying and is willing to share the knowledge?
EDIT: Tried kvpnc, and it seems the stability is more or less the same as network-manager-pptp. The error message is "Modem hangup".
To clarify, I understand that the connection can go down, but I want to be able to reconnect automatically when disconnected.
View 1 Replies
ADVERTISEMENT
Dec 26, 2010
Since I completely switched to Opensuse11.3 From MS-Windows OS. The Problem I had is a PPTP VPN connection in windows, Which I used to connect Via a connection, The VPN provider gave me. Since these connection are for MS-Windows , I can't create a connection manually in Opensuse. I used , KDE control module/Network connection/VPN/add -> PPTP then I entered the host ip in NT DOMAIN field , my username, and password, and left all other options (including Gateway) the way it was. After that, every time I try to connect to this connection, NOTHING happens.
View 2 Replies
View Related
Jul 26, 2011
I installed Fedora Linux and I am using GNOME. I've created a vpn connection and is connected to the server without problem (Please see attached photos); But after being connected, Upon opening the site ,Vpn will automatically disconnect.
View 1 Replies
View Related
Mar 16, 2010
Since OpenSuse 11.2 doesn't reconnect samba shares upon a resume from suspend, I wrote a small, ugly script to do so. It's placed in /etc/pm/sleep.d/66samba-remount
#!/bin/bash
case $1 in
hibernate)
echo "Hey guy, we are going to suspend to disk!"
/etc/init.d/smbfs stop ;;
suspend)
/etc/init.d/smbfs stop ;;
thaw)
echo "oh, suspend to disk is over, we are resuming..."
sleep 15
/etc/init.d/smbfs restart ;;
resume)
sleep 15
/etc/init.d/smbfs restart ;;
*) echo "somebody is calling me totally wrong." ;;
esac
and made it executable
(as root)
chmod +x /etc/pm/sleep.d/66samba-remount
The 15 seconds sleep time is useful to me to postpone the remount after WiFi is back online. Perhaps there are way more elegant ways to do so (check for x times if WiFi is on, for example), but I'm no good at bash, and this serves me well. How do I file a wishlist for 11.3? If someone puts a samba share in fstab, I'd assume he wants it connected mostly everytime (at startup for sure... so why not over a standby?) I hope 11.3 just reconnects in-fstab samba shares in a polished way, out of the box.
View 1 Replies
View Related
Jan 10, 2011
I've just loaded the new Hamachi2 Linux beta with Haguichi for a GUI. Everything installed & connects OK, but the connection at the hub is dropping & reconnecting every minute or so. I tried adding a line to the sshd_config file to keep it alaive but it didn't make a difference.
View 3 Replies
View Related
Sep 26, 2010
I am running F13 on my Desktop (with a Ralink RT2870 wireless card) and also on my Laptop (Acer Aspire 5738Z) and am connecting to the internet via a NetGear router. On my Laptop I can connect to the internet fine with no problems. However on my Desktop when I turn my computer on it connects to the internet fine, and works, however after some time (maybe 5-10 minutes) it disconnects and the box asking for the password reappears, then I click connect but no joy.
The connection box just keeps reappearing and it won't connect again until I restart the computer (although sometimes it takes more than 1 restart!). This is not a signal issue, as my Desktop also has a Windows partition and that connects to the internet fine and does not drop off. I have installed the RT2870 driver through rpmfusion, which didn't fix the problem, although uninstalling the driver didn't stop the card from working.
View 1 Replies
View Related
Apr 2, 2010
I have serious sound breakup with fedora 12. When I try I get: gnome-volume-control: WARNING **: Connection failed, reconnecting over and over. I know there is a price to be paid in terms of time and effort to run Linux. But I don't really want to have to fiddle with my sound system each time I upgrade. Every time I get my hopes up that Linux is easy enough to attract wide appeal, something comes along to show me I'm wrong. Most people don't want to live with the hassle. I will continue whether I get an answer or not. I will figure this out one way or another. But if more people were attracted to use Linux it would be easier for all of us.
View 4 Replies
View Related
Mar 9, 2010
I have a Dell Inspiron 6000 laptop running Fedora 12. Recently my wireless connection has begun dropping every few hours and not reconnecting. After trying for about 30-45 seconds, the WPA password prompt comes up but still doesn't connect.
Fedora release 12 (Constantine)
Kernel Linux 2.6.32.9-67.fc12.i686
GNOME 2.28.2
Memory: 2.0 GB
Processor: Intel Pentium R 1.60 GHz
View 14 Replies
View Related
Nov 25, 2008
I have servers in remote locations where I have no control over the network routers or firewalls. I need to have a VPN connection to my servers.Is there a way to create a PPTP VPN connection automatically? I don't want to initiate it, I just want it to phone home, and keep phoning home if the connection is dropped.
View 1 Replies
View Related
Mar 12, 2010
I setup a PPTP VPN connection in ubuntu 9.10 (x86_64) using NetworkManager. After enabling the VPN connection, I can browse web pages (it's perfect) but after a while the vpn connection is terminated! The following is my syslog after connecting and terminating:
Code:
Mar 12 22:10:10 amir-desktop NetworkManager: <info> Starting VPN service 'org.freedesktop.NetworkManager.pptp'...
Mar 12 22:10:10 amir-desktop NetworkManager: <info> VPN service 'org.freedesktop.NetworkManager.pptp' started (org.freedesktop.NetworkManager.pptp), PID 2204
[Code]....
View 7 Replies
View Related
Jan 29, 2011
I recently installed Kubuntu 10.10 on my machine, and I configured the PPTP VPN connection through which I connect to the internet. I can successfully connect, but it works really slowly. Slower than it does on Windows 7 on the same computer, with the same settings for the PPTP dialer. In about 20 minutes after I connect, the connection fails and even the modem restarts itself. I tried setting the MTU for the pptp connection to 1400 (I checked, and 1372 is the maximum value before the packets start to fragment + 28 bytes for the IP/ICMP headers), but nothing seems to help.
View 3 Replies
View Related
Feb 11, 2010
I tried to configure my vpn connection using pptp from the shell following following tutorial: [URL] now, if i use Code: pppd call novax to connect to my vpn i see following appearing in /var/log/messages:
Code:
Feb 10 21:11:57 reg-laptop pppd[2655]: pppd 2.4.5 started by root, uid 0
Feb 10 21:11:57 reg-laptop pppd[2655]: Using interface ppp0
Feb 10 21:11:57 reg-laptop pppd[2655]: Connect: ppp0 <--> /dev/pts/0
Feb 10 21:11:58 reg-laptop pppd[2655]: CHAP authentication succeeded
Feb 10 21:11:59 reg-laptop pppd[2655]: MPPE 128-bit stateless compression enabled
Feb 10 21:12:00 reg-laptop pppd[2655]: local IP address 10.243.249.22
Feb 10 21:12:00 reg-laptop pppd[2655]: remote IP address 10.243.249.20
verifying with ifconfig, my ppp0 ip is correctly set to 10.243.249.22 - i can also ping this ip but i tried to ping other ips in our network and i can't reach any of them - did i mess up the route maybe? Content of my /etc/ppp/ip-up.d/route-traffic:
[Code]...
View 1 Replies
View Related
Mar 6, 2010
I'm using Kubuntu 9.10, my pppd version is 2.4.5 and pptp is 1.7.2 I'm trying to connect to the iPredator VPN service, but I keep running into problems with LCP. I've tried using knetworkmanager, nm-applet, kvpnc and plain old text-based configuration to no avail. Here's a snippet of pppd's output:
[Code].....
(I've got "defaultroute" in my /etc/ppp/peers/ipred config file.) Any ideas what could be causing this? Could it even be my router? It claims to support PPTP, but considering it claims a lot of other things which aren't true, I wouldn't be surprised if it was the culprit.
View 4 Replies
View Related
Sep 15, 2010
i set a pptp -vpn connection.but i cant post anything in facebook. is there any specific settings i have to do?
View 1 Replies
View Related
Sep 20, 2010
I am using relakks.com VPN Service and set it up with gnome's default nm-manager interface. Everything is just perfect when I'm browsing the web. I can do it for hours and nothing happens. On the other hand, when I open up a torrent client - after 15 seconds to 2 minutes - I get a nice kick off the VPN.
It goes like this:
Code:
Sep 20 08:25:11 NPC pptp[3496]: nm-pptp-service-3490 warn[decaps_gre:pptp_gre.c:426]: discarding bogus packet 94236 (expecting 93663)
Sep 20 08:25:11 NPC pptp[3496]: nm-pptp-service-3490 warn[decaps_gre:pptp_gre.c:426]: discarding bogus packet 94237 (expecting 93663)
[Code].....
View 9 Replies
View Related
Oct 6, 2010
I managed to set up a PPTP VPN connection in Ubuntu 10.04, and it worked first time.This was about 3 months ago. It was working yesterday (Oct 05 2010), but when I came to log in to the VPN today it doesn't work. I tried the same VPN connection on my wife's laptop which runs Vista and it works. I have tried re-entering the details, even deleting and setting up from scratch via network manager. And yes I have the correct VPN plugins. what I should do. Is there a log file so I can have a look at it to see what the problem is. If there is where is it located. The computer is able to connect to the internet without any problems, just can't connect to the VPN. The only thing I can think of is that the update manager popped up this morning so a few things have got updated today. maybe something in there broke the VPN connection.
View 4 Replies
View Related
Jul 20, 2011
I am unable to make my VPN connection to my university work correctly. Before, it would work some of the time without changing any settings. Now it never works. Unfortunately my institution does not provide support to linux users (outrageous!) so I'm on my own. Here is a link to the configuration instructions for windows and mac users, I've tried to configure mine based on this information but I have not been able to do it.
View 2 Replies
View Related
Nov 26, 2010
I'm unable to connect to a windows vpn connection using pptp this was working yesterday but for some strange reason it stopped working. My other vpn tunnels to cisco and so on are working great. I have the following log:
[Code]....
Nov 26 17:05:15 falx NetworkManager[1319]: <info> VPN service 'pptp' disappeared I have the latest updates, so that means that selinux was updated today. My selinux policy was enforcing but I changed it to disable and allready rebooted. Iḿ using Fedora 14 (I already regret for making the upgrade from 13, also have a problem with display drivers or something, but thats another story) does anyone encounter a problem like mine with pptp? can you share the solution if there is one?
Alexandre. Update: At the moment after connecting by Ethernet cable to my home network the connection wold be established but no address would work to the remote network, I've disconnected the cable and resumed using my wifi connection and the VPN connection is working again!! I don't have a clue about what just happened.. since itś working I need to get some work done and will provide more info on this matter if I found something new.
View 3 Replies
View Related
Apr 6, 2011
I am using OpenSuse 11.4 and trying to set up pptp. I think I am almost there but cant seem to make a connection. Here is the log: -
[Code]....
View 1 Replies
View Related
Jun 26, 2011
I have just managed to setup a small server were I run rtorrent through och VPN tunnel pptp based. When I start up my server without starting the tunnel it looks like this.
[Code]...
I guess that something happen with the VPN connection, assigned a new ip number maybe and that that made the change.
View 3 Replies
View Related
Feb 21, 2011
everything works fine, clients can connect to the vpn server with no problems and they can ping local machines! but no internet access through the vpn connection unless i uncheck the default gateway option on my client machine which is not what i want. I want my clients to get my server's ip address. my server is behind a router (router's ip : 192.168.0.1 | server's local ip: 192.168.0.100) so i used localip 192.168.0.100 & remoteip 192.168.0.234-238 in pptpd.conf. it think there is something wrong with routing or firewall rules, because it seems that the DNS resolution works .. when i try to browse a website my browser says "Waiting for xxxxx.com..." and it stays on that stage forever ! the funny part is that google.com works fine (don't know how).
p.s :
* I have already opened the port in on my router. I even tried it locally to make sure that the router is not the problem here. * already added ms-dns 208.67.222.222 / ms-dns 208.67.220.220 to pptpd-options. (found another guide that suggested to do this, before adding these two lines even dns resolution was not working.)
View 1 Replies
View Related
Mar 14, 2010
I tried since yesterday to get a VPN-connection but it seems that until now I'm not able to reach the Company-network. Our company use the pptp connection. I tried many different setup's but without sucess. I use Ubuntu 9.10 and installed the pptp-manager.
Following settings:
Gateway (set)
Username (set)
MSCHAPv2 (check)
Point to point (check)
Stateful (check)
BSD (check)
Deflate (check)
TCP (check)
Below you find the result from the syslog, what can I do now?
Code:
Mar 14 13:03:58 snofla-desktop pptp[2767]: nm-pptp-service-2756 log[ctrlp_disp:pptp_ctrl.c:950]: PPTP_SET_LINK_INFO received from peer_callid 0
Mar 14 13:03:58 snofla-desktop pptp[2767]: nm-pptp-service-2756 log[ctrlp_disp:pptp_ctrl.c:953]: send_accm is FFFFFFFF, recv_accm is FFFFFFFF
Mar 14 13:03:58 snofla-desktop pptp[2767]: nm-pptp-service-2756 warn[ctrlp_disp:pptp_ctrl.c:956]: Non-zero Async Control Character Maps are not supported!
Mar 14 13:03:58 snofla-desktop pppd[2759]: Connection terminated.
Mar 14 13:03:58 snofla-desktop NetworkManager: <info> VPN plugin failed: 1 ......
View 1 Replies
View Related
Dec 27, 2010
Here's my setup: Slackware 13.1 External IFace = eth0 / DHCP (assigned from comcast) Internal IFace = eth1 / 192.168.0.0/24 I've made it connect/authenticate, but I can't get anything to route through it..
[Code]...
Really wanting to try and get this setup to where all computers on my lan are forced through the VPN, i've tried most of all things I've googled, and no real luck.
View 1 Replies
View Related
May 16, 2010
Does anyone have a way to use this type of encryption? I have read many posts but have not gotten a solution yet. I am trying to get this to work at a friend's house. I know the SSID and the super-long ascii code (with symbols?). gnome nm and wicd have been useless. I have been connecting to my school's wpa2 using wpa_supplicant + dhclient directly, so I tried adding it in there:
network={
ssid="name"
scan_ssid=0
proto=WPA
key_mgmt=WPA-PSK
pairwise=CCMP
group=CCMP
psk="horribly long thing"
}
What happens is a string of connects and then immediate disconnects when runnign wpa_supplicant. It says "CTRL-EVENT-DISCONNECTED - disconnect event - remove keys" then starts all over. Can't get a stable connection but I must be close?
View 1 Replies
View Related
Jan 7, 2011
I am trying to connect to a PPTP VPN at work, and I cannot accomplish that. Both server and client are using Ubuntu 10.10.
Code:
Jan 7 11:32:26 multicore-dev03 NetworkManager: <info> Starting VPN service 'org.freedesktop.NetworkManager.pptp'...
[code]....
View 9 Replies
View Related
Apr 3, 2011
I am new to linux.Use broadband wire-line internet connection that requires username and password. Using GUI in Administration--Network I see realtek 8129 fast ethernet configured. However when I try to create new connection and activate it, it shows could not activate. eth0 inactive.
I am able to use my broadband connection in windows XP.
View 2 Replies
View Related
Feb 25, 2010
I have updated the system this morning and the vpn stopped working!It gives me an error: invalid secrets.I use network manager to connect to a pptp vpn connection, I use fedora 12.Does anyone know the problem?
View 2 Replies
View Related
Nov 11, 2009
I am trying to connect to our work server (windows), however, without succes In the log I get the message: "Failed to parse server response"
And when I close the vpn connection window I get "there were no valid vpn secrets"
I Use F10 with xfce on an aspire one.
View 2 Replies
View Related
Apr 2, 2010
recently i rent a xen vps intended to setup a PPTPD vpn server for me and my friends. so we can by-pass the great firewall in china and get back on ....., facebook and stuff. i have already setup the server and i can connect to it without any problem. but i still want to do some further configuration the server:
1. i want to limit the bandwidth to 400k/s per connection.
2. i also want to limit the max connection per user a/c
i have some thoughts on the 2nd requirement. in the user configuration file of /etc/ppp/chap-secret, you can specify the range of ip the user can get, does it limit the max connection per user a/c? or they can connect anyway, just every now and then a box pop up says conflict in IP address?
View 1 Replies
View Related
Mar 13, 2010
i have a VPN server PPTPD on Centos 5.3
eth0: 62.2.2.x (public on the internet)
GW: 62.2.2.1 (cisco router)
i want to configure my ppptp server to allow users access internet with their own public ips of class 62.2.3.0 62.2.4.0 62.2.5.0
every time i configure my server all users can get thier IPs but they only go out with my server IP same as NAT not routing.
can you show me the proper configuration to make my users connect with public IP and have internet access. use specific DNS ( i did this but some users can not brows by DNS)
is there any way to specify an expired date for each pptp user.
View 1 Replies
View Related