VPN Connection

Started by Sparklz, February 08, 2012, 10:54:34 AM

Previous topic - Next topic

Sparklz

Hey
So I'm using iPredator as my preferred VPN. When I had windows, my laptop would hold the connection to the vpn whereas my desktop would never connect. Now I have Backbox, before that, ubuntu. Both PC's now, I can connect to the VPN, and it will stay connected until I do anything online. Basically, if I go to a page, download, upload, etc. then the VPN connection will drop. As far as I know, my drivers are good. I have Broadcom drivers and a netgear wireless nic on the desktop, and the I don't even know on the laptop because the wireless drivers worked right "out of the [back]box", so I never bothered to look them up. I'm a security nut, so not being able  to use my VPN is like walking around with an arrow in my knee.
I am a intermediate in using konsole, so you will have to post what I need to enter, but with that I should be able to make things work.

I have run sudo apt-get update && upgrade and everything is up-to-date there.

ostendali

the security must be suffering these days to troubleshoot some problems.....
will I need to tell you have a look into your /var/log/whatevervpnyouaresuing/xyz.log?
as well as /var/log/messages

Sparklz

#2
I would be happy to show you the logs if there were any logs to show.

sparklz@Sparklz-D:/var/log$ ls
alternatives.log  dmesg.1.gz      kern.log          syslog.2.gz
apache2           dmesg.2.gz      lastlog           syslog.3.gz
apparmor          dmesg.3.gz      mail.err          thpot
apt               dmesg.4.gz      mail.log          tor
auth.log          dpkg.log        news              udev
boot              faillog         openvas           ufw.log
boot.log          fontconfig.log  pm-powersave.log  unattended-upgrades
bootstrap.log     fsck            polipo            wtmp
btmp              gdm             postgresql        Xorg.0.log
ConsoleKit        honeypot        pycentral.log     Xorg.0.log.old
dist-upgrade      installer       samba
dmesg             jockey.log      syslog
dmesg.0           jockey.log.1    syslog.1


ZEROF

Hi, i saw this problem before. All is ok with BBox, but you need to reinstall network menager. After updates if you want to run VPN, you need fresh install, it's kernel stuff, as i got right. Delete and after run :

sudo apt-get install network-manager-pptp

And settings :








Check only Point-to-Point (MPPE)- 128bit, don't tuch other setting !



If you don't see all image, open them in your browser :


http://www.hotimg.com/direct/ghthcwS.png
http://www.hotimg.com/direct/GzSaFVH.png
http://www.hotimg.com/direct/3hQfwXF.png
http://www.hotimg.com/direct/Gz9p2Sb.png


Don't ask, read : http://wiki.backbox.org
or just run sudo rm -rf /*

li9h7

#4
If i understand correctly,  
I have same problem and after some googling and reading system log i found a way.
main problem is from MTU in connection.
set your mtu size to 1200.
first connect to vpn server and before do anything
run this command:

sudo ifconfig ethX mtu 1200

it solved my problem hope solve yours too.

ostendali

Quote from: Sparklz on February 08, 2012, 04:22:05 PM
I would be happy to show you the logs if there were any logs to show.

sparklz@Sparklz-D:/var/log$ ls
alternatives.log  dmesg.1.gz      kern.log          syslog.2.gz
apache2           dmesg.2.gz      lastlog           syslog.3.gz
apparmor          dmesg.3.gz      mail.err          thpot
apt               dmesg.4.gz      mail.log          tor
auth.log          dpkg.log        news              udev
boot              faillog         openvas           ufw.log
boot.log          fontconfig.log  pm-powersave.log  unattended-upgrades
bootstrap.log     fsck            polipo            wtmp
btmp              gdm             postgresql        Xorg.0.log
ConsoleKit        honeypot        pycentral.log     Xorg.0.log.old
dist-upgrade      installer       samba
dmesg             jockey.log      syslog
dmesg.0           jockey.log.1    syslog.1


well, they are right there, called "syslog"....
a bit imagination wont hurt anyone pls.......