ISDN with Linux
Last Modified: Monday, 18-Apr-2011 17:21:38 UTC


GOAL:

To integrate auto dialing up with ippp into an exisitng dialup environment.

So I took the exisitng pppd setups and hacked around until I got it working.


EQUIPMENT I USED:


TIPS:

 

PROBLEMS:

Maybe the GURU's could refine/redo my scripts!!!!

We assume your ISDN card is installed correctly and works.

  1. have a file /etc/ppp/ioptions

    # /etc/ppp/ioptions
    /dev/ippp0
    debug
    ipcp-accept-local
    ipcp-accept-remote
    noipdefault
    defaultroute
    user auserid
    # put your userid here
    +pwlog
    nobsdcomp
    noipx
    vj-max-slots 16

    Edit to suit

  2. have a file /etc/sysconfig/network-scripts/ifcfg-ippp0

    DEVICE=ippp0
    USERCTL=yes
    ONBOOT=yes
    BOOTPROTO=none
    BROADCAST=
    NETWORK=
    REMIP=158.152.1.222
    # Your ISP gateway
    NETMASK=255.255.0.0
    IPADDR=
    PPPOPTIONS=ioptions
    PAPNAME=pap-secrets
    DEFROUTE=yes


    Edit to suit

  3. have a script /etc/sysconfig/network-scripts/ifup-ippp

  4. have a script /etc/sysconfig/network-scripts/ifdown-ippp

  5. have a script /etc/rc.d/init.d/isdn
    In this script edit your own telephone numbers and other relevant details to your setup

  6. Create a run level for this script I choose run level 5 and gave it the start number 05 so it starts right after kerneld but before network. You can do this using X's run level editor.

  7. In /etc/rc.d/rc.local I have a dial command (after I run my firewall script, also from rc.local):-
    /sbin/isdnctrl dial ippp0

  8. make sure you change the outgoing device in your firewall script from ppp0 to the new device ippp0

  9. I assume the pap-secrets file exists and is correct.

  10. REBOOT (gulp!!!)

NB: when a file is to be a script then use:-
chmod 755 filename

[back to wiZdom]

[an error occurred while processing this directive]