I am trying to make a serial connection to my ISP.
I can dial, login and make a ppp connection. As soon as the ppp connection
is established, the connection is terminated. My ISP doesn't support Linux
and is therfore no help whatsoever and I haven't got a clue why this is
happening. Any help would be greatly appreciated. Thanks in advance.
My /var/log/messages file looks like this
Jan 25 20:58:28 GSh -- MARK --
Jan 25 20:59:18 GSh pppd[399]: pppd 2.2.0 started by root, uid 0
Jan 25 20:59:19 GSh chat[400]: timeout set to 30 seconds
Jan 25 20:59:19 GSh chat[400]: abort on (\nBUSY\r)
Jan 25 20:59:19 GSh chat[400]: abort on (\nNO ANSWER\r)
Jan 25 20:59:19 GSh chat[400]: abort on (\nRINGING\r\n\r\nRINGING\r)
Jan 25 20:59:19 GSh chat[400]: send (rAT^M)
Jan 25 20:59:19 GSh chat[400]: expect (OK)
Jan 25 20:59:38 GSh chat[400]: rAT^M^M
Jan 25 20:59:38 GSh chat[400]: OK -- got it
Jan 25 20:59:38 GSh chat[400]: send (ATH0^M)
Jan 25 20:59:38 GSh chat[400]: timeout set to 300 seconds
Jan 25 20:59:38 GSh chat[400]: expect (OK)
Jan 25 20:59:38 GSh chat[400]: ^M
Jan 25 20:59:58 GSh chat[400]: ATH0^M^M
Jan 25 20:59:58 GSh chat[400]: OK -- got it
Jan 25 20:59:58 GSh chat[400]: send (ATDT0645505350^M)
Jan 25 20:59:59 GSh chat[400]: expect (31200)
Jan 25 20:59:59 GSh chat[400]: ^M
Jan 25 21:00:28 GSh chat[400]: ATDT0645505350^M
Jan 25 21:00:28 GSh chat[400]: CARRIER 31200 -- got it
Jan 25 21:00:28 GSh chat[400]: send (^M)
Jan 25 21:00:28 GSh chat[400]: expect (ogin:)
Jan 25 21:00:38 GSh chat[400]: ^M^M
Jan 25 21:00:38 GSh chat[400]: login: -- got it
Jan 25 21:00:38 GSh chat[400]: send (login123^M)
Jan 25 21:00:39 GSh chat[400]: expect (assword:)
Jan 25 21:00:48 GSh chat[400]: ^M
Jan 25 21:00:58 GSh chat[400]: login: login123^M
Jan 25 21:01:08 GSh chat[400]: Password: -- got it
Jan 25 21:01:08 GSh chat[400]: send (passwd123^M)
Jan 25 21:01:09 GSh pppd[399]: Serial connection established.
Jan 25 21:01:18 GSh pppd[399]: Using interface ppp0
Jan 25 21:01:18 GSh pppd[399]: Connect: ppp0 <--> /dev/ttyS2
Jan 25 21:01:48 GSh pppd[399]: Connection terminated.
Jan 25 21:01:58 GSh pppd[399]: Hangup (SIGHUP)
Jan 25 21:01:58 GSh pppd[399]: Exit.