Hi, list

I'm setting up Bering 1.2 with ISDN wan connection.

Bering 1.2 booting from hda1
isdn.lrp from http://leaf-project.org/devel/ericw/bering
followed instruction from http://leaf.sourceforge.net/doc/guide/buisdn.html

and it is not working.
ip route show doesnt list any default route.

I made some modification to original files of isdn.lrp:
1. in /etc/init.d/i4l

changed

ip route show | grep "default" || ip route add default via $DUMMYADRES
ip link set $INTERFACE up

to

ip link set $INTERFACE up
ip route show | grep "default" || ip route add default via $DUMMYADRES

after that I got default route at boot time and can dial out, but after
disconnect again I have no default route and cant dial out second time.

2. in /etc/ppp/ip-down

changed

way=`ip route show | grep ippp0 |cut -d/ - f 1`

to

way=`ip addr show | grep ippp0 | grep inet | cut -d" " -f6`

now ip-down script leave useable default route and I can redial after
disconnect.

So my first question: Is this OK?

My second question is: Is there any way that I can force ISDN Bering in auto
dial mode to dial my ISP number by calling Bering box from some other phone.
My ISP is charging by time so I need Bering to bring up line when recive
call from specific number.
I tried to add following lines in /etc/init.d/i4l

isdnctrl addphone $INTERFACE in 123456
isdnctrl callback $INTERFACE in
isdnctrl cbhup $INTERFACE on
isdnctrl cbdelay $INTERFACE 10

but when I try to dial I get ringing tone and
isdn_net: call from 123456,1,0 -> XXXXXX
isdn_net: call from 123456 -> 0 XXXXXX ignored
isdn_tty: call from 123456 -> XXXXXX ignored
 in /var/log/message  (XXXXXX is my MSN on Bering ISDN)

Thx in advance.
Ivica



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to