ISDN in Linux

Nikolaos Kefalas nkef at otenet.gr
Sun May 12 09:40:01 EEST 2002


Euxaristo gia thn boh8eia 8a to dokimaso kai
8a  anafero an petyxe .

Jim Kopsomitis wrote:

> Kalispera,
>
> Ego xrisimopio to ippp me ena Crypto ISDN 128 PCI TA (den exo dokimasei
> multilink)
>
> Ta script poy trexo einai:
>
> sto /etc/rc.d/rc.isdn:
>
> #!/bin/sh
> #
> # /etc/rc.d/rc.isdn:  Configure the ISDN set-up
> #
> echo "Configuring ISDN Interface...."
> MYMSN=02210xxxxx    Your MSN
> ISPMSN=0962545555
> #ISPMSN_FALLBACK=0962545555
> MYIP=192.168.1.3    Your IP
> #ISPIP=212.205.222.195
> ISPIP=0.0.0.0
> MYNAME=sysplhr    Your username
> ISPNAME=otenet
> /sbin/hisaxctrl HiSax 1 0x3ff
> /sbin/hisaxctrl HiSax 11 0x3ff
> /sbin/hisaxctrl HiSax 13 0x3ff
> /sbin/isdnctrl verbose 3
> /sbin/isdnctrl system on
> /sbin/isdnctrl addif ippp0
> /sbin/isdnctrl pppbind ippp0
> /sbin/isdnctrl eaz ippp0 $MYMSN
> #/sbin/isdnctrl addphone ippp0 out $ISPMSN_FALLBACK
> /sbin/isdnctrl addphone ippp0 out $ISPMSN
> /sbin/isdnctrl huptimeout ippp0 600
> /sbin/isdnctrl l2_prot ippp0 hdlc
> /sbin/isdnctrl l3_prot ippp0 trans
> /sbin/isdnctrl encap ippp0 syncppp
> /sbin/ifconfig ippp0 $MYIP pointopoint $ISPIP
> /sbin/route add $ISPIP ippp0
> #/sbin/route add default gw $ISPIP metric 1
> /sbin/ifconfig ippp0 -arp -broadcast
> /sbin/ipppd ippp0 name $MYNAME file /etc/ppp/ioptions &
> #sleep 2
>
> sto /etc/ppp/ioptions:
>
> # /etc/ppp/options for ipppd
> # comment out the following three lines if you don't need
> # dynamic IP negotiation.
> ipcp-accept-local
> ipcp-accept-remote
> noipdefault
> lock
> mru 1500
> mtu 1500
> debug
> useifip
> -vjccomp
> -ac
> -pc
> -detach
> -bsdcomp
> -vj
> name sysplhr    Your username
> remotename otenet
> defaultroute
> #-mp
> #+chap
> -pap
> #auth
>
> sto /usr/local/bin/isdn-on :
>
> #! /bin/sh
> /sbin/isdnctrl dial ippp0               #  build up connection
> sleep 2                                 #  wait until line open
> /sbin/route add default dev ippp0       #  set route
>
> kai sto /usr/local/bin/isdn-off :
>
> #! /bin/sh
> /sbin/isdnctrl hangup ippp0     #  hangup connection
> /sbin/route del default         #  and delete route again
>
> Epishs 8a prepei na exeis sosto to /etc/ppp/chap-secrets
>
> Elpizo na boh8hsa
>
> Jim Kopsomitis
>
> Information Systems S.A.
> sysplhr at otenet.gr
>
> --
> linux-greek-users mailing list -- http://lists.hellug.gr

--
NKef (Kefalas Nikolaos) <nkef at otenet.gr>
Studying Electrical & Computer Engineering @ UPatras






More information about the Linux-greek-users mailing list