[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: isdn (ipppd)



Es geschah am Mittwoch, 22. Mai 2002 12:50 als Nicos Gollan schrieb:
> On Tuesday 21 May 2002 21:59, Christian Schoenebeck wrote:!
> >
> > I'm fighting with the problem that ipppd doesn't connect correctly to my
> > ISP. It dials, connects, but also disconnects immediately after that. So
> > I had a look at /var/log/isdn/isdnlog and noticed that ipppd calls the
> > wrong number. Instead of just calling REMOTEMSN, it always calls:
> >
> > 	+COUNTRYCODE AREACODE/REMOTEMSN
> >
> > and also cuts the last number(s) in REMOTEMSN to a 9 digit number. Is
> > this the normal behaviour, and if yes, where can I change it.
>
> For a Q&D hack, have a look at /etc/isdn/devece.ipppX where X is the number
> of the ISDN network device (probably 0). In there you should find lines
> like this:
>
> if [ ! -z "$REMOTEMSN ]
> then
>   for MSN in $REMOTEMSN; do
>     isdnctrl addphone ${device} out $LEADINGZERO$MSN
>   done
> fi
>
> The important part is the $LEADINGZERO$MSN. In your case it probably reads
> like +$COUNTRYCODE$AREACODE/$REMOTEMSN. If you just change that and adjust
> the LEADINGZERO variable further up the script, you should be fine.

Ok, got it. In the actual woody version of the default device.ipppX script 
the $LEADINGZERO variable is completely missing. I was used to the potato 
version where you must not add the leading zero to ther REMOTEMSN, because it 
was done by the script. Now you have to.
I'm just wondering why the comments have not been changed.

> > And as I'm already asking: ipppd (unlike pppd) handles just one ISP
> > number, right? Then what is the sense behind the last block of
> > /etc/isdn/isdn.conf: ...
> > 	[NUMBER]
> > 	NUMBER = 019282500
> > 	ALIAS = surflos Internet by Call
> > 	COMMENT1 = 01019019282500 (User:beliebig; pw:beliebig)
> >
> > 	[NUMBER]
> > 	NUMBER = 01929
> > 	ALIAS = 01019Freenet
> > 	COMMENT1 = 0101901929     (User:beliebig; pw:beliebig) (Mobilcom)
> >
> > Future purpose?
>
> Read the isdnctrl manpage, search for addphone. An interface can have
> multiple outgoing numbers that are tried in reverse order of addition upon
> automatic dialup.

Yes, I know. Maybe I haven't explained exactly enough what I meant and that 
also doesn't explain the purpose of the isdn.conf block above, but doesn't 
matter, it's not that important.

Thank you anyway!

Christian Schoenebeck


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: