MPD web UI and comand interface issu

Larry Li
2012-09-21
2013-03-27
  • Larry Li
    Larry Li
    2012-09-21

    I just recently installed MPD5 on my freebsd LNS, tested, it works fine, but the problem is when I'm using MPD under prompt, show link, Children is 0, on the other hand, when using web UI, children is 2. I have two l2tp seesion on the router. It would be great if someone can tell me why is that.

    #mpd5
    show link

    Link state:
            Children       : 0

     
  • Larry Li
    Larry Li
    2012-09-21

    I have another LNS which using l2tpconfig, so when I use ( #l2tpconfig session show tunnel_id=$tunnelid session_id=$sessionid ) it will pull up each ppp-users's information. Is it possible to do the same under freebsd, I would like to pull up all ppp-users's information using one command such as #mpd5 show auth.

    Please advise

     
  • What's about `show summary` and `show sessions`?

     
  • Larry Li
    Larry Li
    2012-09-22

    Thanks for the reply, here is the show summary and whats under web UI. Since there is no children under L1 (at shell prompt)  that mean I couldn't link to L1-1 or bund to B-1. Web UI operates fine.

    Web U
    Bund Iface IPCP IPV6CP CCP ECP Link LCP User Device Peer IP State
      L1 Initial l2tp DOWN
    B Down Initial Initial Initial Initial
    B-1 ng0 Up Opened Initial Initial Initial L1-1 Opened test123@domain.com l2tp UP 100.100.100.100 190.00.00.0 <= bas303400000699

    Show Summary
    Current daemon status summary
    Iface   Bund            Link    LCP     Device          User            From
                            L1      Initial l2tp    DOWN
            B       Down

     
  • Larry Li
    Larry Li
    2012-09-22

    when I use Link L1-1, it says L1-1" is not defined.

    #mpd5
    link L1-1
    Error in 'link L1-1': Link "L1-1" is not defined