<br /> Two lines with ISDN with MPPP – Debian Planet

Welcome to Debian Planet

News for Debian. Stuff that *really* matters

Debian
These are important Debian sites one should not be without!

  • Official Debian site
  • Package search
  • Mailing list archives
  • Bug reports
  • Debian on CD
  • Debian Weekly News — excellent news source!
  • Unofficial APT sources
    (apt-get.org)

  • Developers’ Corner
  • Community
    Need help? You’re not alone on this planet.

  • Planet Debian
  • debianHELP
    (User support site)

  • Debian International
  • DebianForum.de
    (Deutsch)

  • DebianForum.dk
    (Dansk)

  • EsDebian
    (Español)

  • DebianWorld
    (Français)

  • Debian-Fr
    (Français)

  • MaximumDebian
    (Italiano)

  • DebianUsers
    (한국어)

  • Debian-BR
    (Português)

  • DebianHOWTO
    (Deutsch)

  • Russian Debian
  • Debian-JP
    (日本語)
  • Debian Suisse
    (Suisse)
  • Contribute
    Got that latest or greatest scoop? Perhaps you have some important news for the Debian community? Submit a news item!

    Or perhaps you’ve written a rather ground breaking insight into some aspect of Debian and you feel compelled to share it with others? Knock up a longer editorial article and send it to the editors.

    General feedback should be sent to staff@debianplanet.org

    IRC
    The place to get help on a Debian problem (after reading docs) or to just chat and chill is #debian on irc.oftc.net.

    Many of the Debian Planet staff live there so pop by and say hello.

    Debian Planet also has its own channel on the same network called #debianplanet.

    Sponsorship

    DP is sponsored by Xinit Systems.

    Domains paid for and hosted by uklinux.net.

    Buy your Debian merchandise at DebianShop.com.

    Donate
    Support Debian through Bytemark Hosting. At least £7 will be given for each new account

    Syndicate
    XML

    Two lines with ISDN with MPPP
    Submitted by robster on Monday, April 02, 2001 – 21:30
    Yes, two lines with ISDN are quite useful and cheap in some places,
    like here.. i decided to set it up a while back but dropped it because
    i had to edit so many files. This time around i had to re-edit the files
    to test our new dial-in configuration. And here it is.
    First of all, this is not easy, and i’m going to use MPPP for multilink.
    MPPP is the trickier one of the two.those of you who don’t feel up to this,
    please.. BACK UP YOUR /etc/isdn DIRECTORY!! I didn’t, i had
    to reconfigure everything twice to fetch some pages from the internet while
    configuring this..

    this also is a crude hack, if someone has a better way.. please let
    me know.

    So. i expect you to have a working configuration at this point. this
    is not a ISDN-Setup-HOWTO.

    first of all we copy device.ippp0 to device.ippp1 and
    edit device.ippp0. we look up a line ifconfig ${device}$LOCALIP…
    Right before that line we add

            isdnctrl addslave ippp0 ippp1        isdnctrl l2_prot ippp1 hdlc        isdnctrl encap ippp1 $ENCAP

    This has to be done here before the network device ippp0 is configured..
    afterwards it would give you an error.

    in device.ippp1 we comment out much of the lines, like
    isdnctrl addif
    and ALL ifconfig lines. we also comment
    out the lines we added above.

    ok. now we should have a working configuration for bringing up the devices,
    now we start editing init.d.functions and we look up the line which
    starts ipppd (it’s in the function start_ipppd() ) at the moment it should
    say:

     start-stop-daemon --start --quiet  --pidfile /var/run/ipppd.$device.pid  --exec /usr/sbin/ipppd -- file $optionfile /dev/$device &

    we change it to:

     start-stop-daemon --start --quiet  --pidfile /var/run/ipppd.$device.pid  --exec /usr/sbin/ipppd -- file $optionfile /dev/ippp0 /dev/ippp1 &

    this will make ipppd start with two devices instead of one. this is
    the biggest downfall with Debian isdnutils. OK.

    now you stop isdnutils and start them again and try your config. you
    still need to remember that the second line doesn’t come up automatically
    with MPPP like it does with raw, you have to bring it up manually. The command
    to add a line is isdnctrl dial ippp1 and dropping link, isdnctrl
    hangup ippp1

    I hope this gives you an idea how it is done. i worked on this for an hour or so.. going through about all possible mistakes.. so it is not going to be easy.
    Most useful link with isdn4linux would be Isdn4Linux.org
    ressu

    Update: ok… today i had some trouble with my ISDN and noticed that i forgot to mention +MP, which should be in ipppd.ippp0, and there was some trouble with the config.. so i uploaded my config too…


    Search articles



    Category
    ·News (282)
    ·Features (5)
    ·Site News (11)
    ·HOWTOs (50)
    ·Tips (11)
    ·Opinion (21)
    ·Q & A (21)
    ·Sponsorship (1)
    ·Press Releases

    Log in
    Username:

    Password:

    Remember me

    » Register
    » New password

    Debian Security Announcements
    DSA-527 pavuk
    DSA-526 webmin
    DSA-525 apache
    DSA-524 rlpr
    DSA-523 www-sql
    DSA-522 super
    DSA-521 sup
    DSA-520 krb5
    DSA-519 cvs
    DSA-518 kdelibs

    Planet Debian
    Sean Harshbarger: 15 Jul 2004
    Edd Dumbill: On the radar
    Gerfried Fuchs: Debian-Installer tried, Fillets NG, djb
    Mike Beattie: Making your Backup MX do recipient verification with Exim…
    Adam Kessel: PHP Perils
    Simon Law: OSM
    Marco d’Itri: Call for USB coldplugging testers
    Todd Troxell: >_<
    Steve McIntyre: JTE 1.6 released
    Debian Weekly News

    Latest poll: How often would you like to see a Debian release?
    3 months
    5%
       
    6 months
    18%
       
    9 months
    10%
       
    1 year
    46%
     
    1.5 years
    12%
       
    2 years
    6%
       
    3 years
    3%
       

    Total votes: 615
    8 comments · older polls

    home · archives · news feeds · about · polls · search · sections · user account

    Powered by the amazing Drupal

    Debian Planet is not officially related to the Debian Project.
    Debian and the Debian logo are trademarks of Software in the Public Interest, Inc.