🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: demon.tech.unix
Article #168

Re: failure to connect with ISDN, but modems okay - suggestions

#168
From: Mike Hudson
Date: Sat, 28 Feb 1998 00:00
137 lines
5478 bytes
In article <34f58757.4101113@news.demon.co.uk>, Paul Thomas
<thomski@hotmail.com> writes
>I had my system up and running with a modem connection, I was happy
>with everything so I decided to switch to ISDN. However, I am having a
>tiny bit of trouble.....
Not too good on UNIX but a simple principle may be the answer.
With a modem connection, the communications are async.
You are still using an async port from your unix box but the ISDN
connection will need to be SYNC. In your TA you hopefully will find a
setting to convert async to sync ppp. This may fix it.
>
>I am using diald with Caldera OpenLinux v1.1
>
>
>
>
>On tailing the end of the /var/log/messages file it shows;
>==========================================================
>Feb 26 15:13:44 gcsintranet chat[336]: abort on (\nNO ANSWER\r)
>Feb 26 15:13:44 gcsintranet chat[336]: abort on
>(\nRINGING\r\n\r\nRINGING\r)
>Feb 26 15:13:44 gcsintranet chat[336]: send (rAT^M)
>Feb 26 15:13:45 gcsintranet chat[336]: expect (OK)
>Feb 26 15:13:45 gcsintranet chat[336]: rAT^M^M
>Feb 26 15:13:45 gcsintranet chat[336]: OK -- got it
>Feb 26 15:13:45 gcsintranet chat[336]: send (ATH0^M)
>Feb 26 15:13:45 gcsintranet chat[336]: timeout set to 30 seconds
>Feb 26 15:13:45 gcsintranet chat[336]: expect (OK)
>Feb 26 15:13:45 gcsintranet chat[336]: ^M
>Feb 26 15:13:45 gcsintranet chat[336]: ATH0^M^M
>Feb 26 15:13:45 gcsintranet chat[336]: OK -- got it
>Feb 26 15:13:45 gcsintranet chat[336]: send (ATDT08453535667^M)
>Feb 26 15:13:45 gcsintranet chat[336]: timeout set to 3 seconds
>Feb 26 15:13:45 gcsintranet diald[228]: Running pppd (pid = 337).
>Feb 26 15:13:45 gcsintranet syslog: IPX support is not present in the
>kernel
>Feb 26 15:13:45 gcsintranet pppd[337]: pppd 2.2.0 started by root, uid
>0
>Feb 26 15:13:45 gcsintranet pppd[337]: Using interface ppp0
>Feb 26 15:13:45 gcsintranet pppd[337]: Connect: ppp0 <--> /dev/cua0
>Feb 26 15:14:04 gcsintranet pppd[337]: local  IP address
>194.222.134.168
>Feb 26 15:14:04 gcsintranet pppd[337]: remote IP address 158.152.1.222
>
>
>
>The output of 'route -n' shows me (before connection init.);
>=========================================================
>[root@gcsintranet /root]# route -n
>Kernel IP routing table
>Destination     Gateway         Genmask         Flags Metric Ref
>Use Iface
>158.152.1.222   0.0.0.0         255.255.255.255 UH    1      0
>0 sl0
>192.168.1.0     0.0.0.0         255.255.255.0   U     0      0
>2 eth0
>127.0.0.0       0.0.0.0         255.0.0.0       U     0      0
>1 lo
>0.0.0.0         0.0.0.0         0.0.0.0         U     1      0
>0 sl0    
>
>The output of 'route' shows me (after connection init.);
>=========================================================
>[root@gcsintranet /root]# route -n
>Kernel IP routing table
>Destination     Gateway         Genmask         Flags Metric Ref
>Use Iface
>158.152.1.222   0.0.0.0         255.255.255.255 UH    0      0
>0 ppp0
>158.152.1.222   0.0.0.0         255.255.255.255 UH    1      0
>0 sl0
>192.168.1.0     0.0.0.0         255.255.255.0   U     0      0
>4 eth0
>127.0.0.0       0.0.0.0         255.0.0.0       U     0      0
>1 lo
>0.0.0.0         0.0.0.0         0.0.0.0         U     0      0
>2 ppp0
>0.0.0.0         0.0.0.0         0.0.0.0         U     1      0
>2 sl0    
>
>DIALD.CONF
>==========
>mode ppp
>connect /usr/local/etc/demon_ppp
>device /dev/cua0
>speed 115200
>modem
>lock
>crtscts
>local 194.222.134.168
>remote 158.152.1.222
>defaultroute
>include /usr/lib/diald/standard.filter
>
>
>/USR/LOCAL/ETC/DEMON_PPP
>========================
>/usr/sbin/chat -v                                       \
>        TIMEOUT         3                               \
>        ABORT           '\nBUSY\r'                      \
>        ABORT           '\nNO ANSWER\r'                 \
>        ABORT           '\nRINGING\r\n\r\nRINGING\r'    \
>        ''              \rAT                            \
>        'OK-+++\c-OK'   ATH0                            \
>        TIMEOUT         30                              \
>        OK              ATDT08453535667                 \
>        TIMEOUT         3
>#        CONNECT         ''                              \
>#        ogin:--ogin:    thegrangecs                     \
>#        assword:        "passwd"                   \
>#       rotocol:        ppp
>
>
>/ETC/PPP/PAP-SECRETS
>====================
># Secrets for authentication using PAP
># client        server  secret                  IP addresses
>thegrangecs * passwd
>
>/ETC/PPP/OPTIONS
>=================
>194.222.134.168:158.152.1.222
>
>
>
>so what gives?
>
>
>tia
>
>
>Paul

-- 
Mike Hudson
VIKING SYSTEMS, Blandford, DORSET
Technical Details
Message-ID: <r9I0iBAay+90Ewmc@vikingsys.demon.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <34f58757.4101113@news.demon.co.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fac57,3e10261297c3077c
X-Google-Attributes: gidfac57,public
X-Google-Thread: 100788,3e10261297c3077c
X-Google-Attributes: gid100788,public
From: Mike Hudson <Mike.Hudson@vikingsys.demon.co.ku>
Subject: Re: failure to connect with ISDN, but modems okay - suggestions
Date: 1998/02/28
Message-ID: <r9I0iBAay+90Ewmc@vikingsys.demon.co.uk>
X-Deja-AN: 329424434
References: <34f58757.4101113@news.demon.co.uk>
MIME-Version: 1.0
Reply-To: Mike Hudson <hudsonm@vikingsys.demon.co.ku>
X-NNTP-Posting-Host: vikingsys.demon.co.uk [194.222.89.168]
Organization: Viking Systems
Newsgroups: demon.tech.unix,demon.service.isdn