Results 1 to 6 of 6

Thread: PPPD debug level

  1. #1

    PPPD debug level

    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_greptp_gre.c:404]: buffering packet 1729 (expecting 1728, lost or reordered)
    Feb 28 10:38:44 pptp[107]: anon log[decaps_greptp_gre.c:404]: buffering packet 1730 (expecting 1728, lost or reordered)
    Feb 28 10:38:44 pptp[107]: anon log[decaps_greptp_gre.c:404]: buffering packet 1731 (expecting 1728, lost or reordered)
    Feb 28 10:38:44 pptp[107]: anon log[decaps_greptp_gre.c:404]: buffering packet 1732 (expecting 1728, lost or reordered)
    Feb 28 10:38:44 pptp[107]: anon log[decaps_greptp_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!

  2. #2
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356
    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.

  3. #3
    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.

  4. #4
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356
    just select pptp, that's all. you will to input your ip address/netmask then.

  5. #5
    No way.
    In case I select something other that PPoE I can't enter VPN concentrator IP.

    Am I missing something?

  6. #6
    Join Date
    Dec 2003
    Location
    Russian Federation
    Posts
    8,356
    Yes, you should enter it to the gateway field. I think this is clearly written in the user manual.

Similar Threads

  1. Simple clients signal level measuring
    By pekr in forum WL-500g Custom Development
    Replies: 8
    Last Post: 20-12-2005, 05:15
  2. What is the use of /sbin/pppd
    By monnier in forum WL-500g Custom Development
    Replies: 1
    Last Post: 09-09-2004, 18:46
  3. How to debug applications on the WL500
    By Dex in forum WL-500g/WL-500gx Tutorials
    Replies: 2
    Last Post: 16-08-2004, 16:46

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •