Koozali.org: home of the SME Server

More ISDN woes

Norrie

More ISDN woes
« on: May 11, 2001, 02:15:47 PM »
Hi everyone,

I've tried twice to configure my ISDN card to work with e-smith without success.  On both occasions hisax loaded and found my card ok.  The first attempt resulted in the card attempting to dial but dropping the connection instantly.  The second attempt (after re-install) resulted in nothing happening when I try to ping.  There are no clues in /var/log/messages.

During the first attempt I copied the templates tree to the templates-custom the edited the isdn4es script.

During the second attempt I created the directories by hand.

Can somone help?  there seems to be some confusion in the "Revisited (ISDN how-to for 4.1.1:here is it!) - A Query" thread as to what version of the howto works.

http://forums.contribs.org/index.php?topic=10530.msg39715#msg39715

Can anyone please point me to some help?  Can ISDN be set up any other way?

Many thanks

Norrie

Kees Blokland

Re: More ISDN woes
« Reply #1 on: May 11, 2001, 11:41:26 PM »
Hi Norrie, .. only set it up twice ?? you have a long way to go!!!

This is where we seem to be in the uk:

Connect using ipppd: is possible in a bare bones situation: Take bits from a succesfull redhat7 installation, and paste them into e-smith.  
You can start the connection by hand, or by a ping and as long as you keep pinging something from the e-smith, the connection stays open:
(Lots of) work needs to be done to understand howto integrate ipppd into e-smith.
....

Klaus Mueller used the modem-emulation for isdn cards.
At the moment I get the same situation as you do:
Dialup and starting the connection seems fine, but after 20-30 secs the connection is dropped, without any clear indication as to why.
during that time, it is not possible to ping, suggesting it's still in the negotiating phase..

My gut feeling is that the connection protocol(s) are not using a chap authentication, at least I have not found a clear pointer in any of the scripts that suggests so.

At this very moment I'm trying to extend the logging and am playing with /understanding the various options in pppd.. ( what can I leave out, what else needs to be there ??)

this is a snippet of my log:
                                                 CONNECT
May 10 17:51:30 www chat[1311]:  -- got it
May 10 17:51:30 www diald[698]: connector: chat:  May 10 17:51:30 CONNECT 64000/HDLC
May 10 17:51:30 www diald[698]: Connected to site 0.0.0.0
May 10 17:51:30 www diald[698]: Running pppd (pid = 1312).
May 10 17:51:30 www diald[1312]: Running pppd: /usr/sbin/pppd -defaultroute -detach modem crtscts mtu 1500 mru 1500 name blokland noauth noipdefault ipparam diald
May 10 17:51:31 www pppd[1312]: pppd 2.4.0 started by root, uid 0
May 10 17:51:31 www pppd[1312]: Using interface ppp0
May 10 17:51:31 www pppd[1312]: Connect: ppp0 <--> /dev/ttyI0
May 10 17:51:31 www kernel: registered device ppp0
May 10 17:51:39 www atalkd[1263]: zip_getnetinfo for eth0
May 10 17:51:49 www atalkd[1263]: config for no router
May 10 17:51:50 www atalkd[1263]: ready 0/0/0
May 10 17:51:50 www atalk: atalkd startup succeeded
May 10 17:51:55 www pppd[1312]: Hangup (SIGHUP)
May 10 17:51:55 www pppd[1312]: Modem hangup

..look familiar ??

Of course, this is a sneaky way to ask for some help from our bright stars..

1: how to get more logging info:  
2: how do I make sure chap gets used (definite need for BT, pap does not work)
3: what is the difference between the UK-isdn and the rest of the world....

kees

Norrie

Re: More ISDN woes
« Reply #2 on: May 14, 2001, 01:32:36 PM »
Kees Blokland wrote:
>
> Hi Norrie, .. only set it up twice ?? you have a long way to
> go!!!

Hi Kees.  Thanks for your reply.  Four times now!

>
> This is where we seem to be in the uk:
>
> Connect using ipppd: is possible in a bare bones situation:
> Take bits from a succesfull redhat7 installation, and paste
> them into e-smith.
> You can start the connection by hand, or by a ping and as
> long as you keep pinging something from the e-smith, the
> connection stays open:
> (Lots of) work needs to be done to understand howto integrate
> ipppd into e-smith.

I'm pretty new to Linux but I've manged to get my ISDN card to work with Mandrake, Red Hat, LRP and Smoothwall but not e-smith as its the only router type distro that doesn't have ippp support.

I managed to set up ISDN on e-smith using conf-isdn-account (rpm) and I could connect and ping by name using isdnctrl but its too complicated for me to try and hack it properly.

In the meantime I'm going back to using Smoothwall as my firewall and maybe e-smith as the router / server until someone more able than me can implement ipppd on e-smith.  I think e-smith will lose out in the uk to Smoothwall if they don't do it (ISDN support) themselves due to the uk being so far behind with broadband access.

Thanks again

Norrie

Charlie

Re: More ISDN woes
« Reply #3 on: May 15, 2001, 06:32:09 AM »
I assume you already own the ISDN modem or T/A, but an ISDN router works well for me. Just set the Gateway address in e-smith to the IP of the router. A ten minute install and setup. ISDN routers can be purchased for a couple hundred dollars (US).Norrie wrote:
>
> Hi everyone,
>
> I've tried twice to configure my ISDN card to work with
> e-smith without success.  On both occasions hisax loaded and
> found my card ok.  The first attempt resulted in the card
> attempting to dial but dropping the connection instantly.
> The second attempt (after re-install) resulted in nothing
> happening when I try to ping.  There are no clues in
> /var/log/messages.
>
> During the first attempt I copied the templates tree to the
> templates-custom the edited the isdn4es script.
>
> During the second attempt I created the directories by hand.
>
> Can somone help?  there seems to be some confusion in the
> "Revisited (ISDN how-to for 4.1.1:here is it!) - A Query"
> thread as to what version of the howto works.
>
> http://forums.contribs.org/index.php?topic=10530.msg39715#msg39715
>
> Can anyone please point me to some help?  Can ISDN be set up
> any other way?
>
> Many thanks
>
> Norrie

Kees Blokland

Re: More ISDN woes
« Reply #4 on: May 15, 2001, 12:25:35 PM »
The question is, I guess, who is your ISDN provider/ which country?

Not al ISDN systems as offered to endcustomers are the same.
And this is our one and only problem.

BT in the UK seems to be different from the rest of the world, as far as I can see.

;-(

kees

Norrie

Re: More ISDN woes
« Reply #5 on: May 15, 2001, 01:54:45 PM »
Charlie, Kees,

Yes I do already own the card and I'm happy with it. But, until there's ISDN support for passive cards built in to e-smith or someone more able than me is able to set up ippp I won't be able to use it as my dial up gateway. ;-(

I was sure that BT supplied pretty standard Euro ISDN2. (?)  It works just fine with ippp... even for the folk using BT as their ISP (chap rather than pap)

Bye for now and thanks for the help.

Norrie

Charlie Brady

Re: More ISDN woes
« Reply #6 on: May 19, 2001, 04:43:40 AM »
Kees Blokland wrote:

> 1: how to get more logging info:

Add " debug" to the pppd_options line in /etc/diald.conf.
 
> 2: how do I make sure chap gets used (definite need for BT,
> pap does not work)

CHAP should be used if the remote end demands it. The required secrets are in place in the chap-secrets file.

> 3: what is the difference between the UK-isdn and the rest of
> the world....

You tell me! :-)

Charlie