Log in

Bekijk de volledige versie : PPPD debug level



Kitsok
28-02-2005, 07:43
Hi all!

Just bought 500g after crash of flashcard with Pebble on my home Linux-based-AP...


Firmware is 1.9.2.7-3c, box runs as "static IP" 'mode'.
I have usual for Russia configuration - "inter-house network" with inet access. So I connect WAN port to that network (static IP) and then have to establish pptp connection to VPN concentrator.

First of all, why not to implement this mode of operations? I have to create custom pppd options file (because default one did not contain VPN concentrator address):
<->
pty "/usr/sbin/pptp 192.168.0.5 --nolaunchpppd"
name ***
password '***'
remotename PPTP
ipparam pptp
defaultroute
persist
maxfail 999
lock noauth nobsdcomp nodeflate
mtu 1400
ipcp-accept-local
ipcp-accept-remote
-chap
-vj
asyncmap 0
noauth
crtscts
lock
<->

and add line
pppd file /usr/local/etc/ppp/peers/pptp
to /usr/local/sbin/post-boot.

First Q: is it the right way of doing things like that?

Second.
After pptp link is up and running it (pptp) puts a lot of lines like
Feb 28 10:38:44 pptp[107]: anon log[decaps_gre:pptp_gre.c:404]: buffering packet 1729 (expecting 1728, lost or reordered)
Feb 28 10:38:44 pptp[107]: anon log[decaps_gre:pptp_gre.c:404]: buffering packet 1730 (expecting 1728, lost or reordered)
Feb 28 10:38:44 pptp[107]: anon log[decaps_gre:pptp_gre.c:404]: buffering packet 1731 (expecting 1728, lost or reordered)
Feb 28 10:38:44 pptp[107]: anon log[decaps_gre:pptp_gre.c:404]: buffering packet 1732 (expecting 1728, lost or reordered)
Feb 28 10:38:44 pptp[107]: anon log[decaps_gre:pptp_gre.c:404]: buffering packet 1733 (expecting 1728, lost or reordered)

to syslog.tmp.
The second Q: is it possible to reduce debug level of pptp by command line parameter?

Thanks!

Oleg
28-02-2005, 09:14
Well, PPTP mode is exactly like this - static IP address and PPTP server.
The only common problem is that PPTP server could be in a different subnet. If this is the case for you - send PM to me.
As for "debug" messages, which is in fact kernel output, not pppd, I've disabled them now and this would be available in the next custom firmware. In the mean time I could send you beta.

Kitsok
28-02-2005, 20:30
No, we are in the same network, so I don't see problem here.

Problem is - how to compile 2 modes - pptp and static IP.

Oleg
28-02-2005, 21:36
just select pptp, that's all. you will to input your ip address/netmask then.

Kitsok
01-03-2005, 07:15
No way.
In case I select something other that PPoE I can't enter VPN concentrator IP.

Am I missing something?

Oleg
01-03-2005, 07:19
Yes, you should enter it to the gateway field. I think this is clearly written in the user manual.