Notices


Reply
Thread Tools
Posts: 4 | Thanked: 0 times | Joined on Dec 2009
#1
Hello,

I Have a Nokia N800 with the actual OS2008 Diablo. Kernel Version 2.6.21. Since 2.6.15 theres mppe-128 support i think and hope :-) But this is not the Problem. I Turned Encryption off on my VPN Router for testing.

First my Configs :

options:

lock
noauth
refuse-chap
refuse-mschap
refuse-eap
nobsdcomp
nodeflate
mtu 1416

chap-secrets

"christian" "pptp" "<password>" *

peer config file :

pty "pptp <my.dyndns.adress> --nolaunchpppd"
name christian
remotename PPTP
file /etc/ppp/options.pptp
ipparam home

If i start my tunnel using this command : "pon home debug dump logfd 2 nodetach" I always get an error "no auth is possible" and my Bintec VPN Access 25 says "PAP/CHAP authentication failure"

This is the output of pppd :

/home/user # pon home debug dump logfd 2 nodetach

pppd options in effect:
debug # (from command line)
nodetach # (from command line)
logfd 2 # (from command line)
dump # (from command line)
noauth # (from /etc/ppp/options.pptp)
refuse-chap # (from /etc/ppp/options.pptp)
refuse-mschap # (from /etc/ppp/options.pptp)
refuse-eap # (from /etc/ppp/options.pptp)
name christian # (from /etc/ppp/peers/home)
remotename PPTP # (from /etc/ppp/peers/home)

pty pptp <my.dyndns.adress> --nolaunchpppd # (from /etc/ppp/peers/home)
crtscts # (from /etc/ppp/options)
asyncmap 0 # (from /etc/ppp/options)
mtu 1416 # (from /etc/ppp/options.pptp)
lcp-echo-failure 4 # (from /etc/ppp/options)
lcp-echo-interval 30 # (from /etc/ppp/options)
show-password # (from /etc/ppp/options)
ipparam home # (from /etc/ppp/peers/home)
defaultroute # (from /etc/ppp/options.pptp)
proxyarp # (from /etc/ppp/options)
nobsdcomp # (from /etc/ppp/options.pptp)
nodeflate # (from /etc/ppp/options.pptp)
noipx # (from /etc/ppp/options)
using channel 15
Using interface ppp1
Connect: ppp1 <--> /dev/pts/2

sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3074537d> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x1 <mru 1524> <auth chap MD5> <magic 0x11a1505c> <pcomp> <accomp>] <--------------My Router requests MS-CHAP-V2 ?
No auth is possible

sent [LCP ConfRej id=0x1 <auth chap MD5>] <---------------- My damn Tablet rejects MS-CHAP-V2 ?
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x3074537d> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x3074537d> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x2 <mru 1524> <auth pap> <magic 0xf00c982c> <pcomp> <accomp>]
No auth is possible
sent [LCP ConfRej id=0x2 <auth pap>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x3074537d> <pcomp> <accomp>]
rcvd [LCP TermReq id=0x3]
sent [LCP TermAck id=0x3]

Modem hangup
Connection terminated.
Script pptp <my.dyndns.adress> --nolaunchpppd finished (pid 2406), status = 0x0



Can anyone help me with this problem ? I'am now only interested in an unencryptet pptp tunnel. The mppe thing comes later :-) I Tryed PAP,CHAP and MS-CHAP, too.With the same result.(Of course i changed the "reject-strings" in the options.pptp file)
I read the Howto and FAQ on the sourceforce site of the ppp project,too.

Greetings,

chris
 
speculatrix's Avatar
Posts: 880 | Thanked: 264 times | Joined on Feb 2007 @ Cambridge, UK
#2
there's been qt a bit of discussion about pptp on pfsense mailing list & forum, so it's probably worth checking there

personally, i'd suggest trying openvpn in shared key p-t-p mode, it's very easy!!
__________________
Fujitsu U820, HTC Vision/G2/DesireZ, Nokia N800 770 E71, Zaurus 6000, Palm T3, Zaurus C3100 - stolen
 
Posts: 4 | Thanked: 0 times | Joined on Dec 2009
#3
@speculatrix

I Cant use OpenVPN with my Bintec VPN25 Router. On the Openvpn Project page they say it is not compatible with Harware Routers. I donīt want to use a extra vpn Server.My Bintec is the VPN Server, it still runs a Tunnel to another Network. (Lan2Lan)

Is there NO one out there who is using pptp on the Tablet ??
Why damn Nokia did not add a pptp client to os2008 with a GUI. Theres a pptp client on my ipod "AN MP3 PLAYER", this one runs without problems.On an Internet Tablet is NO pptp client ????? Very Very bad.....Nokia

Greetings chris

Last edited by christian4404; 2009-12-06 at 17:41.
 
Posts: 6 | Thanked: 3 times | Joined on Dec 2009 @ Germany
#4
Hi,

I can't help you acually with your problem but I want to use PPTP as well on my N900.

How did you install the neccessary client ?
My device has no pppd or pptp client installed and I don't know where to find a proper package. What repository can I use ? I only have Nokias repository and maemo+maemo extras.
When I use apt-get install pptp-linux, I get a message saying the package was not found.

Regards,
Chris.
 
Posts: 4 | Thanked: 0 times | Joined on Dec 2009
#5
@svart


you need to type "apt-get install pptp-client". On my N800 OS2008 (latest Diablo) the pptp client was alredy installed.


I got it all working now :-)

It works and i can use RDP to my XP Pro Machine at home over my UMTS Internet Flat with an Bluetooth Cellphone as Modem.

But itīs not very clean by now :-(

- I need to automate the insmod thing (now i'am insmod(ing) the modules from my /home/user/Mydocs Folder at every reboot.
- The poff command doesn't work. I need to wait until my VPN Server Kicks me off. The poff script needs a !bash shell :-(
- My scrips in /etc/ppp/ip-up.d/ are never executed and i simply added "route add -net 192.168.1.0/24 dev ${IFNAME} in the ip-up script located in /etc/ppp/

But this is now the smaller part of my pptp thing.
Iīll try to help everyone here as good as i can. But iam not a Linux professinal :-)

Greetings

Chris
 
Posts: 134 | Thanked: 91 times | Joined on Nov 2009 @ Imperial College London
#6
Originally Posted by christian4404 View Post
- I need to automate the insmod thing (now i'am insmod(ing) the modules from my /home/user/Mydocs Folder at every reboot.
I'm also no professional, but I think if you copy the kernel modules to /lib/module/<kernel version> and maybe do a "depmod -a" the modules will be loaded when you need them. At least that's my experience with the N900.

Originally Posted by christian4404 View Post
- The poff command doesn't work. I need to wait until my VPN Server Kicks me off. The poff script needs a !bash shell :-(
poff doesn't work because it uses the bash getopts command. If you just want to close a connection you can just kill it, which is all poff is really doing anyway. If you only ever have one connection you don't even need to faff about finding the right pid, just use:

Code:
killall pppd
Cheers,
Jan
 
Reply


 
Forum Jump


All times are GMT. The time now is 06:48.